making the game work