Write the let as a one-liner
Use require
Change the format of #state's return value
Rewrite the game engine