changes game_over method name to boolean