In early 2009 I entered a programming competition ran by the British Computer Society in which the aim was to create an artificial intelligence player for the game Connect 4. If your browser supports Java then there will be an applet below through which you can play Connect 4 against my prize winning Connect 4 player. Simply select whether you wish to play first or second then click Start Game. Further information can be found on my page about the contest.
-
Recent Blog Posts
Blog Archives
- January 2012 (1)
- April 2011 (2)
- March 2011 (2)
- February 2011 (5)
Blog Categories
- Firefox Extensions (2)
- Game Development (1)
- Security (3)
- Web Development (4)
Argh! I can’t beat it!!
Great distraction from my dissertation. Although to my surprise I won on my third try
ummm.. this computer is easy
Thanks for the comment! It isn’t the strongest AI by a long shot but despite looking ahead one move it still put up quite a challenge to other AIs in the competition that looked ahead tens or hundreds of thousands of moves!
I see that you played 17 games against my AI and only beat it twice though!
Muahahahahahaha!! My AI beats yours! Of course, mine doesn’t run in a browser so it can search relatively deeply. . . and I don’t mean to downplay your AI. After just wasting 40 hours of my life to program mine I understand what an undertaking it is. Well done!
Haha well done – now try creating an AI that beats mine without using recursive search! I created the AI to enter into a competition where I had the restriction of being unable to track game/move history or use recursive search/evaluation methods. My AI placed first in this branch of the competition. The organisers of the competition believed my AI could have beaten the recursive entries too if I had of developed it into a recursive player – something I’d like to do but I don’t have the time at the moment!