Monday, May 1

Interest in an AI Competition?

As I mentioned a couple of months ago, I need to play Zombology a lot to work out whether I have the balance right for each different number of players. At least 768 times, probably many times that number. At the moment I'm at 29. Clearly, there's some work to be done!

This week I've started another programming project - I'm going to make a very simple app which can play thousands of games of Zombology and record the win/loss ratio and the round in which the game was won.

It will let me quickly find out whether the game is balanced by number of players and potentially tweak the rules to make it more balanced. To play thousands of games it's going to need some AI - I don't want to be playing thousands of games by hand (especially not soloing trying to pretend I don't know what's in the other hands and what the 'other' player is going to do. So I'm going to need some AI that can play Zombology. 

Thankfully it's a pretty easy game - there's only four decision points per round:
  1. If I have a Guru, and there are matching Science cards in the central display, do I want to swap a Science card from my hand for one of them, and if so, which for which;
  2. Choose a card from my hand to play this turn;
  3. If I chose an Overrun, which player do I want to overrun;
  4. If I chose a Guru, which Guru do I want to claim;

So, the first thing I'm doing is writing all the plumbing that runs the game - then I need to write some AIs that can play the game. My current thought is that I'll write an entirely random one first that just lets me test that the plumbing is working. Then I need a few different AIs that play the game with different styles to see how the game works out.

Seeing as I know there's a bunch of programmers who read this blog I'm wondering if there's any interest in a competition to see who can write the most successful Zombology AI? Let me know in the comments if you'd be interested in that!

5 comments:

LSJ said...

I'd be interested in an AI competition.

Jackson Pope said...

Hiya LSJ,

Excellent - thanks! I've got some interest on twitter too - I'll post the rules/example code here in a week or two.

Cheers,

Jack

GamesBook said...

Never written an AI before ... but would be very interested to see the code for one (if you are willing to share).

Jackson Pope said...

Hiya Derek,

My intention is to post all the code needed to write one (in C#) and a dummy implementation as an example.

Cheers,

Jack

Jackson Pope said...

Hiya all,

The latest post has all the competition info if you are still interested :-)

Cheers,

Jack