Open balthazarneveu opened 1 year ago
Ideally, you'd write
@interactive(instant_t=ControlTime() ) filter(instant_t=0, go_up=False, go_down=False, go_left=False, go_right=False): game_engine(time=instant_t)
Which would trigger the loop ... so you can code a game without worrying about writing while & threads.
Although this seems like a "nice to have", keep in mind that it may imply some code design choices/blockers...
Ideally, you'd write
Which would trigger the loop ... so you can code a game without worrying about writing while & threads.
Although this seems like a "nice to have", keep in mind that it may imply some code design choices/blockers...