There have some been some fun challenge topics with different scenarios. I was recently playing around and decided to try and make the smallest (in lines of code) algo possible. So that’s the challenge (just for fun), see how small you can make your algo.
It obviously will not be very good, but it has to at least build a base and run attacks in a non-random order. In other words, don’t just have a vegetable, it has to be capable of winning against weak bots.
I am counting lines of code as every single line of code in your zip file, regardless of whether you wrote or use it (eg include gamelib library, etc). The exceptions are things which are used for the server to run your algo, and not by you, like:
I’m curious to see how small people can get it :). My best attempt is 16 lines of code, 19 if you count every single line (including algo.json and run.sh). It is currently ranked as 1974, but will probably change since it hasn’t been up very long.
Share your best attempts, and I’d be really interested if you could make a very successful one :). After a little while, I’ll share my attempt, and anyone else is welcome to also do so.
Happy coding :).