void stop()

Stop the game

Source

void stop() => _running = false;