Search results

  1. fukurou

    [MEDIA]

  2. 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)...
  3. fukurou

    [MEDIA]

  4. 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...
  5. fukurou

    [MEDIA]

  6. fukurou

    [MEDIA]

  7. 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...
  8. fukurou

    stratego best setups

    https://www.ultraboardgames.com/stratego/setups.php
  9. 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...
  10. fukurou

    [MEDIA]

  11. fukurou

    [MEDIA]

  12. 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"...
  13. fukurou

    👨‍💻 dev active task

    class AbsDictionaryDB(ABC): @abstractmethod def save(key: str, value: str): '''Returns action string''' pass @abstractmethod def load(key: str) -> str: '''TODO set to return null as default if key not found !!!''' pass
  14. fukurou

    time travel test

    it works 🥳
  15. fukurou

    test scheduled

    test
  16. fukurou

    👨‍💻 dev active task

    convert to python : abstract class AbsDictionaryDB { abstract fun save(key: String, value: String) abstract fun load(key: String): String //TODO set to return null as default if key not found !!! }
  17. fukurou

    chiis python suit scrum

  18. fukurou

    chiis python suit scrum

    marked with "-" is completed 100 37 core classes out of 37 -APCldVerbatim -APSay -APVerbatim -AbsDictionaryDB -AbsAlgPart ~AbsCmdReq -AbsDictionaryDBShadow -Algorithm -Brain -Cerabellum ~CerabellumV2 -Chi -ChobitsV2 -CldBool -DExplorer ~DISkill -DPermitter -DiSkillUtill -DiSkillV2 -Fusion...
  19. fukurou

    [MEDIA]

  20. fukurou

    AbsAlgPart

    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 = "requip"...
Top