Search results

  1. fukurou

    [MEDIA]

  2. fukurou

    🐍 python Chii's python suit

    PlayGround (not core class but high use in skills) this class helps with time related methods import datetime from datetime import timedelta import calendar from enum import Enum, auto class enumTimes(Enum): DATE = auto() DAY = auto() YEAR = auto() HOUR = auto() MINUTES =...
  3. fukurou

    🐍 python Chii's python suit

    Person class Person(): def __init__(self): self.name = "" self.active = False self.phone = "" self.skill = "" self.profession = "" self.jutsu = "hadouken" # location self.email = "" self.id = "" @property def...
  4. fukurou

    🐍 python Chii's python suit

    APVerbatim from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' Failure types: - ok: no fail - requip: item should be added - cloudian: algorithm goes to stand by in its Dclass - fail: no input ''' class enumFail(Enum): fail = "fail" requip...
  5. fukurou

    🐍 python Chii's python suit

    APSay from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' Failure types: - ok: no fail - requip: item should be added - cloudian: algorithm goes to stand by in its Dclass - fail: no input ''' class enumFail (Enum): fail = "fail" requip =...
  6. fukurou

    🐍 python Chii's python suit

    Mutatable from __future__ import annotations from abc import ABC, abstractmethod from enum import Enum ''' ENUMFAIL CLASS ''' class enumFail(Enum): fail = "fail" # no input requip = "requip" # item should be added dequip = "dequip" cloudian = "cloudian" # algorithm goes to...
  7. fukurou

    🐍 python Chii's python suit

    AbsDictionaryDBShadow from abc import ABC, abstractmethod class AbsDictionaryDB(ABC): @abstractmethod def save(self, key: str, value: str): '''Returns action string''' pass @abstractmethod def load(self, key: str) -> str: '''TODO set to return null as...
  8. fukurou

    🐍 python Chii's python suit

    AbsDictionaryDB from abc import ABC, abstractmethod class AbsDictionaryDB(ABC): @abstractmethod def save(key: str, value: str): '''save to DB''' pass @abstractmethod def load(key: str) -> str: '''set to return "null" as default if key not found !!!'''...
  9. fukurou

    [MEDIA]

  10. fukurou

    👨‍💻 dev active task

    mock python classes for testing the GrimoireMemento : class t1(Mutatable, ABC): def mutation(self) -> Mutatable: print("t1 mutating into t2") return t2() def clone(self) -> Mutatable: print("t1 cloning another t1") return t1() class t2(Mutatable, ABC)...
  11. fukurou

    [MEDIA]

  12. fukurou

    👨‍💻 dev active task

    import java.util.Hashtable; public class GrimoireMemento { //class has been modified, only use chi adaptor for mutation objects to enable save load of final mutations private Hashtable<String, String> rootToAPNumDic = new Hashtable<>(); private Hashtable<String, Mutatable> APNumToObjDic...
  13. fukurou

    [MEDIA]

  14. fukurou

    [MEDIA]

  15. fukurou

    👨‍💻 dev active task

    convert the GrimoireMemento class to python : import java.util.Hashtable; public class GrimoireMemento { private Hashtable<String, String> rootToAPNumDic = new Hashtable<>(); private Hashtable<String, AbsAlgPart> APNumToObjDic = new Hashtable<>(); private AbsDictionaryDB...
  16. fukurou

    stratego best setups

    https://www.ultraboardgames.com/stratego/setups.php
  17. fukurou

    👨‍💻 dev active task

    some algParts can mutate into different algParts on certain events such as failures these algParts are equiped with an interface called mutatable : public interface Mutatable { public AbsAlgPart mutation(); } example of a mutatable algPart : package chobit; import java.util.ArrayList...
  18. fukurou

    [MEDIA]

  19. fukurou

    [MEDIA]

  20. fukurou

    👨‍💻 dev active task

    AbsDictionaryDBShadow class AbsDictionaryDBShadow : AbsDictionaryDB() { // used as a fill in class if you want to test the chobit and havent built a DB // class yet override fun save(key: String, value: String) {} override fun load(key: String): String { return "null"...
Top