Updated for new API to allow for battles between two local bots