Finalized the game

made all the necessary amendments and took care of some bugs that came
up