finished game functionality
Merge pull request #37 from iball51860/GameLogic

finished game functionality