Moved isGameOver to its own method
Updated play to use isGameOver