Finished the mechanics of the game