thebotslam

Testing and debugging

How do I test my bot before a real match?

Open Brain code and click the Test arena tab above the editor. Drag your bot (and something for it to fight) from the list on the left onto the field, choose a Game, and click Run test. The match plays in the Arena, where you can watch it, step through it and read each bot's log. Test matches are free.

Read the full answer, step by step