I want Tips for Improving My AI in C1 Games

Hey everyone,

I have advanced to a certain point after spending some time immersed in C1 Games and creating my bot. I want to take my bot to the next level & I was hoping to get some advice from the experienced members of the community.

what are some of the most effective strategies you have used for improving decision making in your bots? I have been focusing a lot on resource management but I feel like my bot could be smarter in adapting to different situations.

Also, any tips for debugging or optimizing code?? My bot sometimes feels sluggish or makes odd decisions and I am not sure where to start looking for improvements.

As well, I found these resources when doing research on this; https://forum.c1games.com/t/can-i-change-whatever-i-want-in-a-game-state-copysf-devel & if anyone have any resources, tutorials or personal experiences please share with me, It would be greatly appreciated!!

Thank you……. :slight_smile:

I assume youre using python, to time.time() is a great way to profile your code.
as for the odd decisions, it could help to add debug print statements to your algo and then downloading the replay and running the match locally, then looking at the output and from that figuring out why it does what it does. for general improvements writing some sort of action phase simulator is always a good idea…
the python library for interacing witht he game acc makes that suprisingly simple.
it provides alot of usefull functions.
i recommend reading the tutorial carefully and then using the documantation for the gamelib carefully to reconstruct that behaviour in python.
it wont be a particularly performant simulator, but its a good starting point
if you have any further questions pls let me know