Finished the basic of the game