Moved game code to game.lua.