added handling of game win condition
Merge pull request #135 from Gegga87/master

added handling of game win condition