fixed bots and endGame