eliot/test/freegame_3_ai.ref
Olivier Teulière 3c7a84d543 Support saving/loading games (any game type) in XML format.
Status:
It works well, but there are still a few details to improve/fix

More details about the changes:
 - New dependency on Arabica and Libxml2 to parse the XML
 - Loading the old format is still supported for this release, but won't be supported anymore in the next one
 - Games are now only saved in the new format
 - In training mode, the player is now created externally, like in the other modes
 - Avoid using GameIO (the one from game/) whenever possible
 - Do not use a FILE* argument anymore when loading a game
 - Throw and catch exceptions correctly when a game cannot be loaded or saved
 - The non-regression tests now use a new method to print the game history
2009-11-29 16:01:31 +00:00

65 lines
2.2 KiB
Text

Using seed: 2
[?] pour l'aide
commande> l 0 3
mode partie libre
[?] pour l'aide
commande> a T
Rack 0: KS+ROCT
Rack 1:
Rack 2: DIU+DGEA
commande> a S
Score 0: 296
Score 1: 362
Score 2: 263
commande> a p
Game: player 2 out of 3
Game: mode=Free game
Game: variant=unknown
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 0 | RAHITRD | HARDI | H4 | 26 |
2 | 1 | ?TIEXFA | FAXAIEnT | 5E | 126 | *
3 | 2 | ATOSBUF | BOUTEFAS | J1 | 73 | *
4 | 0 | RT+AREEN | ENTERRAI | 8A | 77 | *
5 | 1 | RZUGNSS | AZURS | F5 | 34 |
6 | 2 | MIMLLOP | PLOMB | 1F | 30 |
7 | 0 | EEMNETV | VETEMENT | C6 | 78 | *
8 | 1 | GNRS+PEN | PURGES | 3I | 24 |
9 | 2 | ILM+HSVI | VIS | 14A | 25 |
10 | 0 | AWELOUB | BAVE | A12 | 36 |
11 | 1 | NN+ELEEE | SELENE | 8J | 21 |
12 | 2 | HILM+?IC | aLCHIMIE | A1 | 101 | *
13 | 0 | LOUW+ULS | SLOW | N3 | 33 |
14 | 1 | EN+STAAI | NANTAISE | N8 | 70 | *
15 | 2 | DIJUUYO | JOYAU | 12K | 44 |
16 | 0 | LSUU+KAQ | AUQUEL | 15J | 63 |
17 | 1 | OENIREN | NERONIEN | 10G | 60 | *
Rack 0: KS+ROCT
Rack 1:
Rack 2: DIU+DGEA
Score 0: 296
Score 1: 362
Score 2: 263
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A a L C H I M I E - - - B A V E
B - - - - - - - N - - - - - I -
C - - - - - V E T E M E N T S -
D - - - - - - - E - - - - - - -
E - - - - F - - R - - - - - - -
F P - - - A Z U R S - - - - - -
G L - - - X - - A - N - - - - -
H O - - H A R D I - E - - - - -
I M - P - I - - - - R - - - - -
J B O U T E F A S - O - - - - A
K - - R - n - - E - N - J - - U
L - - G - T - - L - I - O - - Q
M - - E - - - - E - E - Y - - U
N - - S L O W - N A N T A I S E
O - - - - - - - E - - - U - - L
commande> q
fin du mode partie libre
commande> q