Added is_over method to game engine