added game-win check functionality for Game class