|
| Gallery Solitaire
The game starts by dealing 32 cards from the stock to the
foundation (3 rows) and to the tableau (bottom row). Building
rule: by suit, up in sequence (rank difference: 3; top
row: 2-5-8-J, middle row: 3-6-9-Q, bottom row:
4-7-10-K).
Detailed Rules
- New: Start
a new game
- Undo: Undo
one or more moves
- CAP: Level
of computer aided playing (0: no help), e.g. movable cards
are indicated by a green bar.
- # of tries: NNN:
At the end the program tries the same starting situation
NNN times with a non-strategy (start it with Do!).
At the end of the game you can
- let Gallery play many games with a simple "do-all-one-can"
strategy and compare your score with this evaluation. This
non-strategy consists of doing all legal moves in random
order. Because of the great amount of unpredictable situations
even a good player looses games (about 20%).
- start a new game.
Feedback is welcome. Please mail problems (operating system and
browser version?), comments, programming hints, and new ideas! |
|
|
 |
 |
 |
Statistical values (after the evaluation step at
the end)
| red |
computer's score better than yours (%) |
| gray |
drawn |
| green |
percentage of scores you better than the computer |
| Number in the center: % of won games
+ 0.5 * drawn games |
| You |
your score |
| Computer |
|
| min |
computer's best score |
| median |
50% of the tries are better (or equal)
and 50% are worse (or equal) |
| mean |
mean score |
| max |
computer's worst score |
|
|
| mode |
most frequent score |
| scores |
number of different scores |
| N |
number of computer's tries |
Planned improvements, known bugs
Additional options, missing autoplay messages, a slightly more
intelligent strategy for the comparison, ...
Version history
1.0.2 (25.6.04) bug elimination
1.0.1 (24.3.01) new parameters, alpha
0.9.4 (30.8.00) autoplay bug eliminated (?), different CAP levels
0.9.3 (5.8.00) rotation of the histogram
0.9.1 (8.11.99) for compatibility with older browsers: back to Java
1.0; interface enhancements
0.8.6 (10.10.99) bug fixes, remove of msg field
0.8.2 (29.9.99) bug fixes, cosmetic changes
0.8.0 first version on the net
To learn about automoves select CAP level 3: you'll see short messages
in the browser's status line while moving over automovable cards.
Hidden features
Entering a number of trials in the format NNN.ppp performs NNN
trials with an alpha value of 0.ppp, e.g. 1000.98. The meaning of
alpha: if you do all possible moves in every situation you
can't achieve all possible results. In real situations it's sometimes
better not to do all possible moves. This parameter tries to simulate
such a behaviour. Experiment with 0 < alpha < 1!
Keys: "z": undo a move; "f": finish a game
automatically with the simple strategy.
Applet Parameters
| Name |
|
Default |
Type |
| trials |
number of trials |
250 |
int |
| alpha |
portion of performed moves during evaluation |
0.99 |
double |
| bgcolor |
background color |
#990566 (dark red) |
hex color |
| txtcolor |
text color |
#ffff00 (yellow) |
hex color |
;
|