Added test method for gameOver(), made gameOver() public