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

58 lines
2.3 KiB
Text

Using seed: 0
[?] pour l'aide
commande> c hutte
mode entraînement
[?] pour l'aide
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A B - - F - - - o - - - - - - -
B O - - R - - - B - - - - - - -
C E N L A I D I T - - - - - - C
D U - - Y - - - I - - - - - - E
E F O R E T - H E M - S - - - L
F - - - S - M A N i P U L A I S
G - - - - J E U N E - I - - - I
H - - - H U T T E S - V - - P U
I - - - - N E E - - - R - - O S
J - - - - G O - - - Q A T - K -
K - - W - L - - - D - I - - E -
L - - O D E - - - A - T A - R -
M - - N O - - - - M - - V A S E
N - - - U - - - - N - - E - - -
O - - E X I G E R A - - C Z A R
commande> a p
Game: player 1 out of 1
Game: mode=Training
Game: variant=unknown
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 0 | UTEHJDT | HUTTE | H4 | 24 |
2 | 0 | DJ+NGILE | JUNGLE | 5G | 28 |
3 | 0 | DI+OBURX | DOUX | 4L | 54 |
4 | 0 | BIR+EEGI | EXIGER | O3 | 48 |
5 | 0 | BI+TNE?N | oBTIENNE | 8A | 80 | *
6 | 0 | AMIEOLE | METEO | 6F | 28 |
7 | 0 | AIL+NEID | ENLAIDIT | C1 | 70 | *
8 | 0 | WABFUNO | BOEUF | 1A | 33 |
9 | 0 | ANW+OALU | WON | 3K | 32 |
10 | 0 | AALU+PI? | MANiPULAI | F6 | 69 | *
11 | 0 | ELSUICS | CELSIUS | 15C | 92 | *
12 | 0 | ETFYUSR | FRAYES | 4A | 44 |
13 | 0 | TU+DEMNH | HAUTE | 7E | 31 |
14 | 0 | DMNT+ARA | DAMNA | 9K | 26 |
15 | 0 | RT+SAIVI | SUIVRAIT | 11E | 94 | *
16 | 0 | ACAOVEP | AVEC | 12L | 28 |
17 | 0 | AOP+ARZO | CZAR | O12 | 45 |
18 | 0 | AOOP+REK | POKER | 14H | 42 |
19 | 0 | AO+TSTEM | MIES | 9E | 34 |
20 | 0 | AOTT+LEQ | QAT | J10 | 26 |
21 | 0 | AELOT+RS | VASE | M12 | 31 |
22 | 0 | LORT | FORET | E1 | 16 |
Rack 0: L
Score 0: 975
commande> q
fin du mode entraînement
commande> q