Topic: Brand-new bot
Hello.
Couple weeks ago I accidentally found my old bot source codes. So I cloned Teeworlds repository, put bot code inside, fixed it a bit (because it was made for 0.6) and... it was funny! But the code was really mess, so I decided to re-write it from zero.
This brand-new bot actually is not the best one. It moves really fast (for a bot, of course), but shoots so-so, chooses non-optimal destinations and sometimes can stuck. It plays good on small enclosed maps (dm1, ctf1), but badly on large open maps (ctf5).
Please notice that triangulation takes lot of time, up to 2.5 minutes for ctf5. Triangles are being saved in "bot" data directory.
The bot is not supposed for cheating. It sends bot player flag to server to be recognized as AI player.
I am okay with current progress and don't really want to finish it, but would be really appreciated if someone will improve my code.
You can find the source code here:
https://github.com/ertaquo/teeworlds/tree/bot
Some documentation:
https://github.com/ertaquo/teeworlds/blob/bot/bot.md