LeekWars has been around for a while now. I remember having a blast playing it with colleagues at least 10 years ago.<p>From memory, as you level you get access to more and more API features. A good way to have a stronger leek was to manage to implement algorithms before they were officialy available to you through the API. Ex: instead of waiting to level up to get access to A* pathfinding, you could get a huge advantage against other leeks by implementing it yourself within the memory and cycle constraints you were given for your AI code.<p>Happy to see it's still apparently going strong...
Hello, I'm the developer of Leek Wars, thank you for sharing my link!<p>I'm from France and I've been coding this game with my friends since 2012 when I was in University. I try to add features and improve the language from time to time.<p>The source code of the game (frontend and fight generation) is available at <a href="https://github.com/leek-wars" rel="nofollow">https://github.com/leek-wars</a><p>Happy leek coding :)
This reminded me of another fun programming game called <i>Elevator Saga</i> (<a href="https://play.elevatorsaga.com" rel="nofollow">https://play.elevatorsaga.com</a>). Essentially, you need to write the code for a system of elevators to transport the maximum number of people in a given time.<p>It's a problem I've thought about every so often, but never bothered to look up how it was commonly implemented. For example, If you have a large building with multiple elevators, is there an optimal way to arrange the elevators while they're idle to minimize transport time? Or what about accounting for time of day? (e.g. stacking the elevators on the bottom floor in the morning as people arrive at the office). Or what advantages do you gain mathematically from having Up/Down buttons vs. the touchpads where people select the exact floor? Seems like an interesting problem if you work on elevators installed in tall office buildings.
For those who are too young or forgot this hearkens back to RobotWar by Silas Warner on the Plato system in 1970s and later on the Apple II (1981) and there may well have been something from an earlier time on the old big iron. Does anyone know of anything earlier? I had so much fun on RobotWar and it had an impeccable source level debugger which was a revelation in 1981. I'm excited there are current code battle arena games.<p><a href="https://en.wikipedia.org/wiki/RobotWar" rel="nofollow">https://en.wikipedia.org/wiki/RobotWar</a>
Reminds me of Terrarium, which Microsoft introduced with .net, to demonstrate you can safely run sandboxed assemblies in a single process: <a href="http://terrariumapp.github.io/" rel="nofollow">http://terrariumapp.github.io/</a>
Reminds me Ants AI Challenge [1] which supported most programming languages. As far as I can tell LeekWars only supports "LeekScript"?<p>[1] <a href="http://ants.aichallenge.org" rel="nofollow">http://ants.aichallenge.org</a>
This reminds me of <a href="https://bot.land/" rel="nofollow">https://bot.land/</a><p>An amazing game for programmers but one that was shut down due to lack of monetization...
Seems like a lot of new players don't know they start with upgrade points. I'm winning most fights with default code because I have 100 more health than the other lvl 1s.
Me seconds before clicking the link, “I swear to fucking god if this doesn’t involve leeks fighting each other… I’m gonna be so pissed.”<p>Me immediately after clicking the link, “yes. Hahaha YES!”
If anyone is having trouble finding the documentation, the original link given from the intro page is broken but the "help" button will take you to the right place:
<a href="https://leekwars.com/help/documentation" rel="nofollow">https://leekwars.com/help/documentation</a>.
This is amazing. I don't have the time to get into something like this these days, but I would've loved something like this in my teens. Instead I wrote bots for RuneScape lol.
Interesting, I will give it a try.<p>It reminds me Gladiabots (<a href="https://store.steampowered.com/app/871930/GLADIABOTS__AI_Combat_Arena/" rel="nofollow">https://store.steampowered.com/app/871930/GLADIABOTS__AI_Com...</a>), but the target audience is not the same.
Another great coding game <a href="https://alexnisnevich.github.io/untrusted/" rel="nofollow">https://alexnisnevich.github.io/untrusted/</a><p>I spent 2 hours beating all 20 levels in one sitting.
I've played this game when I was 10, ans it was tons of fun and a good way of putting programming to practice. I definitely recommend it for any beginners, unless the skill level exploded somehow.
Also worth of mentioning is Torcs, a racing cars programing game.
<a href="http://torcs.sourceforge.net/" rel="nofollow">http://torcs.sourceforge.net/</a>