Use regular threading macro
Remove unnecessary parenths
Helper function for setting the game state
Remove let statement in draw loop
Refactor movement to be decoupled from input code.