Server and bots now detect end of game