Got the error working. Figured out loop for game.