Function: solitaire

Play Solitaire.

To play Solitaire, type M-x solitaire.

Uses keymap `solitaire-mode-map', which is not currently defined.

Move around the board using the cursor keys.
Move stones using M-x solitaire-move followed by a direction key.
Undo moves using M-x solitaire-undo.
Check for possible moves using M-x solitaire-do-check.
(The variable `solitaire-auto-eval' controls whether to automatically
check after each move or undo.)

What is Solitaire?

I don't know who invented this game, but it seems to be rather old and
its origin seems to be northern Africa. Here's how to play:
Initially, the board will look similar to this:

Le Solitaire
============

o o o

o o o

o o o o o o o

o o o . o o o

o o o o o o o

o o o

o o o

Let's call the o's stones and the .'s holes. One stone fits into one
hole. As you can see, all holes but one are occupied by stones. The
aim of the game is to get rid of all but one stone, leaving that last
one in the middle of the board if you're cool.

A stone can be moved if there is another stone next to it, and a hole
after that one. Thus there must be three fields in a row, either
horizontally or vertically, up, down, left or right, which look like
this: o o .

Then the first stone is moved to the hole, jumping over the second,
which therefore is taken away. The above thus `evaluates' to: . . o

That's all. Here's the board after two moves:

o o o

. o o

o o . o o o o o . o o o o o o o o o o o o o o o o o o Pick your favorite shortcuts: Uses keymap `solitaire-mode-map', which is not currently defined. (fn ARG)