Fixed game logic
Merge branch 'master' of https://github.com/newmanne/swanbox