Game design : Making computer play

Ed Murphy emurphy42 at socal.rr.com
Tue Apr 15 01:48:20 EDT 2008


v4vijayakumar wrote:

> On Apr 14, 1:00 pm, v4vijayakumar <vijayakumar.subbu... at gmail.com>
> wrote:
> ....
>> I can post initial version of the game (implemented using html/
>> javascript) in couple of hours here.
> 
> The game is here,
> 
>   http://v4vijayakumar.googlepages.com/goats-and-tigers.html

The list of valid moves is incomprehensible to humans without
actually drawing all the possible moves.  Without an exhaustive
check for validity, I think the following is an accurate summary:

  * Treat the board as a 5x6 grid with the corners removed and
    the top 4 cells merged.

  * Any piece can move one space up, down, left, or right.

  * A tiger can eat a goat by jumping over it, thereby moving
    two spaces up, down, left, or right.



More information about the Python-list mailing list