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

102 lines
3.2 KiB
Text

Using seed: 1
[?] pour l'aide
commande> l 1 1
mode partie libre
[?] pour l'aide
commande> a S
Score 0: 0
Score 1: 0
commande> p
commande> p
commande> a t
EGISSTU
commande> p UIET
commande> a t
GSSTAUV
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> p
commande> a S
Score 0: -11
Score 1: 793
commande> a T
Rack 0: AGSSTUV
Rack 1:
commande> a p
Game: player 2 out of 2
Game: mode=Free game
Game: variant=unknown
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 0 | SEUTISG | (PASS) | - | 0 |
2 | 1 | LXCORNU | ROUX | H5 | 26 |
3 | 0 | EGISSTU | (PASS) | - | 0 |
4 | 1 | CLN+?BEC | CiNECLUB | 7B | 67 | *
5 | 0 | EGISSTU | [UIET] | - | 0 |
6 | 1 | LLESYEO | LYSEE | J5 | 48 |
7 | 0 | GSS+TAUV | (PASS) | - | 0 |
8 | 1 | LO+AAOGT | GALA | 8A | 26 |
9 | 0 | AGSSTUV | (PASS) | - | 0 |
10 | 1 | OOT+EMTU | EMOTTE | 8J | 24 |
11 | 0 | AGSSTUV | (PASS) | - | 0 |
12 | 1 | OU+AOILU | AUX | 8F | 18 |
13 | 0 | AGSSTUV | (PASS) | - | 0 |
14 | 1 | ILOOU+NF | FOULONNAI | D1 | 82 | *
15 | 0 | AGSSTUV | (PASS) | - | 0 |
16 | 1 | UTEISEE | FETEES | 1D | 27 |
17 | 0 | AGSSTUV | (PASS) | - | 0 |
18 | 1 | IU+IURIO | MURI | K8 | 12 |
19 | 0 | AGSSTUV | (PASS) | - | 0 |
20 | 1 | IIOU+VDS | VISOU | 10B | 31 |
21 | 0 | AGSSTUV | (PASS) | - | 0 |
22 | 1 | DI+IERNE | DENIER | 12G | 22 |
23 | 0 | AGSSTUV | (PASS) | - | 0 |
24 | 1 | I+TBIADK | BATIK | N6 | 42 |
25 | 0 | AGSSTUV | (PASS) | - | 0 |
26 | 1 | DIT+EHEQ | EQUIDE | 3B | 30 |
27 | 0 | AGSSTUV | (PASS) | - | 0 |
28 | 1 | HT+EPARR | TEPHRA | O1 | 49 |
29 | 0 | AGSSTUV | (PASS) | - | 0 |
30 | 1 | R+OE?NSF | rENFORTS | M2 | 85 | *
31 | 0 | AGSSTUV | (PASS) | - | 0 |
32 | 1 | TMEAALP | EMPALAT | 13B | 78 | *
33 | 0 | AGSSTUV | (PASS) | - | 0 |
34 | 1 | ZDMAWER | DAMEZ | M11 | 40 |
35 | 0 | AGSSTUV | (PASS) | - | 0 |
36 | 1 | RW+HINJI | HIE | E5 | 24 |
37 | 0 | AGSSTUV | (PASS) | - | 0 |
38 | 1 | IJNRW+N | JE | B2 | 18 |
39 | 0 | AGSSTUV | (PASS) | - | 0 |
40 | 1 | INNRW | VINER | B10 | 16 |
41 | 0 | AGSSTUV | (PASS) | - | 0 |
42 | 1 | NW | DAW | G12 | 13 |
43 | 0 | AGSSTUV | (PASS) | - | 0 |
44 | 1 | N | EN | 14M | 4 |
Rack 0: AGSSTUV
Rack 1:
Score 0: -11
Score 1: 793
commande> q
fin du mode partie libre
commande> q