Search results

  1. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class TrgSnooze(TrGEV3): # this boolean gate will return true per minute interval # max repeats times. def __init__(self, maxRepeats: int): super().__init__() self._repeats: int = 0 self._maxRepeats: int = maxRepeats self._snooze: bool = True...
  2. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class TrgParrot: # simulates a parrot chirp trigger mechanism # as such this trigger is off at night # in essence this trigger says: I am here, are you here? good. def __init__(self, limit: int): super().__init__() temp_lim: int = 3 if limit > 0...
  3. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class TrgMinute(TrGEV3): # trigger true at minute once per hour def __init__(self): super().__init__() self._hour1: int = -1 self._minute: int = random.randint(0, 60) self.pgrd: PlayGround = PlayGround() def setMinute(self, minute): if -1 <...
  4. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class SpiderSense: # enables event prediction def __init__(self, lim: int): super().__init__() self._spiderSense: bool = False self._events: UniqueItemSizeLimitedPriorityQueue = UniqueItemSizeLimitedPriorityQueue(lim) self._alerts...
  5. fukurou

    [MEDIA]

  6. fukurou

    bruce lee

    it looks like a good game but the buttons are problematic this is why I prefer MK11
  7. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class Catche: # limited sized dictionary def __init__(self, size): super().__init__() self._limit: int = size self._keys: UniqueItemSizeLimitedPriorityQueue = UniqueItemSizeLimitedPriorityQueue(size) self._d1: dict[str, str] = {} def insert(self, key...
  8. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class SkillHubAlgDispenser: """super class to output an algorithm out of a selection of skills // engage the hub with dispenseAlg and return the value to outAlg attribute // of the containing skill (which houses the skill hub) // this module enables using a selection of 1...
  9. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class Map: def __init__(self): self._pointDescription: dict[str, str] = {} self._descriptionPoint: dict[str, str] = {} self._currentPosition: LGPointInt = LGPointInt(0, 0) self.regexUtil: RegexUtil = RegexUtil() def reset(self): # sleep location...
  10. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class InputFilter: """filter out non-relevant input or filter in relevant data""" def input(self, ear: str, skin: str, eye: str) -> str: # override me pass
  11. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    :s27: class EV3DaisyChainAndMode(TrGEV3): # this class connects several logic gates triggers together def __init__(self, gates: TrGEV3): self._trgGates: list[TrGEV3] = [] for gate in gates: self._trgGates.append(gate) # override def input(self, ear...
  12. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class ForcedLearn(UniqueItemSizeLimitedPriorityQueue): '''remembers key inputs because they start with keyword // also can dispense key inputs''' def __init__(self, queLimit: int): super().__init__(queLimit) self._regexUtil: RegexUtil = RegexUtil()...
  13. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class Responder: # simple random response dispenser def __init__(self, *replies: str): self.responses: list[str] = [] for response in replies: self.responses.append(response) def getAResponse(self) -> str: if not self.responses: return...
  14. fukurou

    πŸ‘¨β€πŸ’» dev AXPython pt2

    class Cycler: # cycles through numbers limit to 0 non-stop def __init__(self, limit: int): self.limit: int = limit self._cycler: int = limit def cycleCount(self) -> int: self._cycler -= 1 if self._cycler < 0: self._cycler = self.limit...
  15. fukurou

    [MEDIA]

  16. fukurou

    [MEDIA]

Top