Tuesday, April 07, 2009

PRP - ARTEFACT TWO

With artefact one being a questionnaire based around AI in games, the results of which I’m still yet to publish, artefact two is now finally ready and posted, and the rest are now underway. Now I’ve cleared the massive hurdle of producing my own working game system, the AI computer responses for the single player mode of Connect Wars are now being worked upon, to be fair this stage should have been reached three weeks back. I’m a little behind schedule. Click HERE or on the image below to view PRP Artefact Two.

In this artefact (2) the AI responses for the single player mode are very basic. The AI searches the grid from left to right, top to bottom, every turn, and looks for any grid squares that are light grey (grid squares that can are open for play), then the computer is told to place a suit symbol of its own suit in a random light grey square.

No tactics are used in this method; it is all based around math.random. Obviously the downfalls of this approach are clear and it doesn’t make for a challenging game, even if its responses do occasionally throw out a decent play, but this is only by chance if so.

No comments: