game logic
added more logic for game
Merge branch 'master' into games