Ace of Coders — My Winning Strategy
Last month CodeCombat began their latest tournament, Ace of Coders. As a veteran (and winner) of two of their previous three competitions, I naturally had to try my hand at their latest work.
Software Developer
Last month CodeCombat began their latest tournament, Ace of Coders. As a veteran (and winner) of two of their previous three competitions, I naturally had to try my hand at their latest work.
Last week CodeCombat announced their latest programming tournament, Zero Sum. This is the third tournament they have hosted. I won their first tournament, Greed, but decided not to compete in the second, Criss Cross. This latest event seemed like a good opportunity to return!
Recently I’ve been trying to learn more about modern web applications. To get some hands-on experience, I thought I would try and implement a card game inside the browser. My favourite card game is Hearts, so I’ve developed a multiplayer Hearts service that is going live today.
I’ve been a functional programming enthusiast for a while now and have been looking for something cool to write using a functional language. I also have a soft spot for fractals, particularly the Mandelbrot set, which most people should recognise. The Wikipedia article has some particularly beautiful images which I’ve often used as desktop backgrounds. I have two problems with the Wikipedia images though:
Way back in June I won the Greed Tournament, a three week programming competition held by CodeCombat. In part 2 of this series I talked about the unit selection behaviour of my winning solution. This time, I will talk about gold prediction, which allows my solution to forecast the enemy’s future strength and decide whether an attack will succeed.
Back at the beginning of June I won the Greed Tournament, a three week programming competition held by CodeCombat. In my previous post I went through the first half of my code, talking in detail about my coin collection strategy. In this post I’ll cover the other half, which mainly focuses on unit selection.
Last month I won the Greed Tournament, a competition held by CodeCombat. In my previous post I talked about the experience of developing my coin gathering strategy. This time I plan to go through my solution in detail, breaking down the code piece by piece and examining the reasoning behind it.
Three weeks ago I entered the Greed tournament, a programming competition held by the great guys over at CodeCombat, spanning Tuesday 20th May to Tuesday 8th June. My aim was to make it into the top 50 and nab myself some free web hosting. However, once I got going, my competitive nature got the better of me and I ended up winning first place. Whoops. :)