Search results

  1. fukurou

    [MEDIA]

  2. fukurou

    [MEDIA]

  3. fukurou

    👨‍💻 dev automata

    operations: dict[int, Callable[..., Any]]
  4. fukurou

    👨‍💻 dev automata

    from typing import Callable, Any operations: dict[int, Callable[..., Any]] = {}
  5. fukurou

    👨‍💻 dev automata

    from functools import partial class Calculator: def add(self, a, b): return a + b def sub(self, a, b): return a - b calc = Calculator() operations = { 1: partial(calc.add, 10, 3), # add(10, 3) 2: partial(calc.sub, 10, 3), # sub(10, 3) }...
  6. fukurou

    👨‍💻 dev automata

    class Calculator: def add(self, a, b): return a + b def sub(self, a, b): return a - b calc = Calculator() operations = { 1: calc.add, 2: calc.sub, } print(operations[1](10, 3)) # 13 print(operations[2](10, 3)) # 7
  7. fukurou

    👨‍💻 dev automata

    def greet(): print("Hello!") def farewell(): print("Goodbye!") def add(a, b): print(a + b) # Dictionary mapping int → function actions = { 1: greet, 2: farewell, 3: lambda: add(5, 7), # using a lambda wrapper } # Using the dictionary actions[1]() # calls greet()...
  8. fukurou

    [MEDIA]

  9. fukurou

    🐍 python once per hour

    from datetime import datetime class EveningGate: def __init__(self, hour=19): self.hour = hour self._triggered_today = False self._current_day = None def trigger(self): now = datetime.now() today = now.date() if...
  10. fukurou

    🐍 python once per hour

    from datetime import datetime class EveningGate: def __init__(self): self._triggered_today = False self._current_day = None def trigger(self): now = datetime.now() today = now.date() if self._current_day != today...
  11. fukurou

    AlgRelay

    class AlgRelay: def __init__(self): super().__init__() self.dic: dict[str, int] = {} # code 1: next mode # code 2: goal achieved # code 3: error/failure # code 4: empty str # code 5: any other str def add_next_mode(self, *keys: str) -> None: for key in keys...
  12. fukurou

    [MEDIA]

  13. fukurou

    👨‍💻 dev mega digivolution speech lobe

    class DiFunnel(Skill): # default skill for EvoChain def __init__(self): super().__init__() # Override def input(self, ear: str, skin: str, eye: str): self.setSimpleAlg(ear) class EvoChain(Skill): """ this unique skill upgrades a base skill with upgrade...
  14. fukurou

    👨‍💻 dev mega digivolution speech lobe

    class EvoChain(Skill): """ this unique skill upgrades a base skill with upgrade skills when an upgrade skill wants to run, it overrides the base skill subclasses can be coded with logic to equip and unequip upgrade skills at runtime """ def __init__(self, *skills:Skill)...
  15. fukurou

    👨‍💻 dev mega digivolution speech lobe

    class DiDigivolutionTest(Skill): def __init__(self): super().__init__() self.toggeld = False # Override def input(self, ear: str, skin: str, eye: str): if ear == "toggle": self.toggeld = not self.toggeld print("toggled didigivolution...
  16. fukurou

    👨‍💻 dev mega digivolution speech lobe

    class Digivolution(Skill): """ this unique skill upgrades a base skill with upgrade skills when an upgrade skill wants to run, it overrides the base skill subclasses can be coded with logic to equip and unequip upgrade skills at runtime """ def __init__(self...
  17. fukurou

    [MEDIA]

  18. fukurou

    power rangers battle for the greed combos

    grn ranger: ## 🟢 Green Ranger – Simple, Real Combos (Switch Buttons Only) ### 🔹 **Basic Combo (works from almost any hit)** - **Y → X → A → B** - Dash (**Y+X**) - **X → Down+X → Down+A** - Jump → **Y → X → A** - End with **B** or **A+B** --- ### 🔹 **Mid‑Range Fireball Confirm** - **B** -...
  19. fukurou

    [MEDIA]

Top