made isGameOver a property