
Pancet is an old Arab game played with four bowls, eight stones, and two players. Each player controls two of the bowls, in this case your computer controls bowls A and B and you control C and D. Taking turns, each player takes all of the stones out of one of his two bowls and deposits them one at a time clockwise in the bowls. If the last stone ends up in an empty bowl, it is removed from play. Players cannot play empty bowls. If both of a player's bowls are empty and it's his turn, then he loses.
For example: let's say the bowl A contains three stones, bowl B contains none, bowl C contains two stones, bowl D contains three stones, and it's your turn. If you pick D (by pushing the "Bowl D" button), you would take the three stones from D (leaving it empty) and drop one in C, one in A, and remove the last one from play because bowl B is empty.
Another example: let's say that all of the bowls are empty and it's your computer's turn. The computer loses because both of it's bowls are empty. If it had been your turn, you would have lost.
The program learns as it plays, so the longer you play, the better the computer gets. Unfortunately (for security reasons) Java doesn't allow Pancet to save what it has learned on your disk, so each time you reload the game, it forgets what it has learned.