creating an AI engine for a simple game

N

naughtysriram

hya friends,

i have created a number based game called 'numfun'. it is a very
simple game of course. first there is a buffer array 4x4 (level 1).

1 2 3 4
5 6 7 8
9 10 11 12
13 14 15 *

the 16th square is blank represented by a *. i use another array 4x4,
in which all the numbers have jumbled positions say

1 4 8 6
7 3 10 14
* 11 9 2
12 5 13 15

the user has move numbers into the empty '*' location and finally
approach the positions of buffer array.

the game works perfectly fine, but the thing is i am trying to upgrade
it with an AI engine. i have few idea for construction of the AI
engine and i need some help.

thanks in advance..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top