v4vijayakumar wrote: ) On Apr 14, 12:35 pm, Richard Heathfield <[EMAIL PROTECTED]> wrote: )> v4vijayakumar said: )> > In computer based, two player, board games, how to make computer play? )> )> Write some code that works out what the computer player should do. If you )> want a better answer, ask a better question. ) ) I am just implementing a game played in my village (Tamilnadu / ) India), called "aadupuli" (goats and tigers). There are only 23 ) positions and 18 characters (15 goats and 3 tigers). Some of you might ) be aware of this.
Odd, I thought there were 25 positions, 20 goats and 4 tigers. *googles* Oh wait, that is Bagh Chal. Roughly the same rules, different board layout and number of tigers. ) I can post initial version of the game (implemented using html/ ) javascript) in couple of hours here. ) ) Welcome any help in making computer to play one of these player. If the board is that small then an exhaustive search might work, but then the computer would be unbeatable. Minmax would be best I guess. SaSW, Willem -- Disclaimer: I am in no way responsible for any of the statements made in the above text. For all I know I might be drugged or something.. No I'm not paranoid. You all think I'm paranoid, don't you ! #EOT -- http://mail.python.org/mailman/listinfo/python-list