minmax added to bot_battle