eliot/test/freegame_explosive_variant.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

116 lines
4.3 KiB
Text

Using seed: 17
[?] pour l'aide
commande> le 1 1
mode partie libre
[?] pour l'aide
commande> a T
Rack 0: ETUDALN
Rack 1: HMIRCES
commande> j ADULENT h3
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A - - - - - - - - - - - - - - -
B - - - - - - - - - - - - - - -
C - - - - - - - - - - - - - - -
D - - - - - - - - - - - - - - -
E - - - - - - - - - - - - - - -
F - - C - - - - - - - - - - - -
G - - H - - - - - - - - - - - -
H - - A D U L E N T - - - - - -
I - - R - - - - - - - - - - - -
J - - I - - - - - - - - - - - -
K - - S - - - - - - - - - - - -
L - - M - - - - - - - - - - - -
M - - E - - - - - - - - - - - -
N - - - - - - - - - - - - - - -
O - - - - - - - - - - - - - - -
commande> a T
Rack 0: XRAETEL
Rack 1: UEQNIKN
commande> j EXULTERA 5f
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A - - - - - - - - - - - - - - -
B - - - - - - - - - - - - - - -
C - - - - - - - - - - - - - - -
D - - - - - - - - - - - - - - -
E - - - - - - - - - - - - - - -
F - - C - E - - - - - - - - - -
G - - H - X - - - - - - - - - -
H - - A D U L E N T - - - - - -
I - - R - L - - - - - - - - - -
J - - I - T - - - - - - - - - -
K - - S - E - - - - - - - - - -
L - - M - R - - - - - - - - - -
M - - E - A - - - - - - - - - -
N - - - N I Q U E - - - - - - -
O - - - - - - - - - - - - - - -
commande> a T
Rack 0: DITTSAE
Rack 1: KN+PRRJE
commande> j EDITATES F5
commande> a gm
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A @ - - + - - - @ - - - + - - @
B - # - - - * - - - * - - - # -
C - - # - - - + - + - - - # - -
D + - - # - - - + - - - # - - +
E - - - - # - - - - - # - - - -
F - * C - E D I T A T E S - * -
G - - H - X - + - + - - - + - -
H @ - A D U L E N T - - + - - @
I - - R - L - + - + - - - + - -
J - * I - T * - J - * - - - * -
K - - S - E - - E - - # - - - -
L + - M # R - - R - - - # - - +
M - - E - A - + K + - - - # - -
N - # - N I Q U E - * - - - # -
O @ - - + - - - R - - - + - - @
commande> a T
Rack 0: ERIMASG
Rack 1: NP+VRNOE
commande> j EGERMAIS 11d
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A - - - - - - - P - - - - - - -
B - - - - - - - R - - - - - - -
C - - - - - - - E - - - - - - -
D - - - - - - - V - - E - - - -
E - - - - - - - O - - G - - - -
F - - C - E D I T A T E S - - -
G - - H - X - - - - - R - - - -
H - - A D U L E N T - M - - - -
I - - R - L - - - - - A - - - -
J - - I - T - - J - - I - - - -
K - - S - E - - E - - S - - - -
L - - M - R - - R - - - - - - -
M - - E - A - - K - - - - - - -
N - - - N I Q U E - - - - - - -
O - - - - - - - R - - - - - - -
commande> a S
Score 0: 309
Score 1: 248
commande> a p
Game: player 1 out of 2
Game: mode=Free game
Game: variant=explosive
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 0 | ETUDALN | ADULENT | H3 | 70 | *
2 | 1 | HMIRCES | CHARISME | 3F | 88 | *
3 | 0 | XRAETEL | EXULTERA | 5F | 84 | *
4 | 1 | UEQNIKN | NIQUE | N4 | 46 |
5 | 0 | DITTSAE | EDITATES | F5 | 65 | *
6 | 1 | KN+PRRJE | JERKER | 8J | 69 |
7 | 0 | ERIMASG | EGERMAIS | 11D | 90 | *
8 | 1 | NP+VRNOE | PREVOT | 8A | 45 |
Rack 0: LANBDII
Rack 1: NN+ITEGU
Score 0: 309
Score 1: 248
commande> q
fin du mode partie libre
commande> q