Monday, September 14, 2009

Battle Game - The computer thinks!

Recently I built a game and named 'Battle' as a consequence of my studies in the field of artificial intelligence. As a first step, I built a mathematical model instead of more flexible neural network model. The work on neural model is on the way and the work is very slow. The mathematical model also not much efficient but I took care to make the program 'act' as intelligent (I know intelligence is needed to act!). Rarely the program may crash. I not interested to make this game for commercial use and I am givin it under GPL. The program is not much pretty both in efficiency and it's intelligence. Since I am not a proffessional programmer, the rules for a good program may not be satisfied. I compiled it in C++, but the entire structure is like C.
The game is like ordinary 'Tic Tac Toe'. but has a little difference that maximum number of players is limited to 3 and If you placed your all three players, you can move them to adjacent places to align the players in a line. For the simplicity of learning the game I have put a video of how to play the game.



I have built a Qt (which is cross platform) GUI for my game for beginners but have put also the CUI mode game for code diggers. Even though this game is not intended for entertainment surely it provide some entertainment if you read the code. I need you comments to speed up the development of neural model of the game. I did all the work in win32 platform and linux users also can compile the code because, Qt is cross platform. But you need to install Qt on your distro.
Here's the download links:
GUI BattleGame (Recommended)
CUI version 1a.0
CUI version 1b.0

No comments: