eliot/test/duplicate_humans_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

78 lines
1.9 KiB
Text

Using seed: 6
[?] pour l'aide
commande> d 2 1
mode duplicate
[?] pour l'aide
commande> a T
Rack 0: ATOYDSI
Rack 1: ATOYDSI
Rack 2: ATOYDSI
commande> j DOSAIT H4
commande> j DOSAIT h5
commande> a S
Score 0: 18
Score 1: 14
Score 2: 30
commande> a T
Rack 0: DI+AEINS
Rack 1: DI+AEINS
Rack 2: DI+AEINS
commande> n 1
commande> j DISAIENT 7A
commande> a S
Score 0: 18
Score 1: 75
Score 2: 30
commande> j DESTINAI 7E
commande> a S
Score 0: 79
Score 1: 75
Score 2: 93
commande> a t
P?RBFEG
commande> j FRaYE 5E
commande> j BoY 5F
commande> a S
Score 0: 124
Score 1: 93
Score 2: 138
commande> a t
BGPBEET
commande> a g
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
A - - - - - D - - - - - - - - -
B - - - - - E - - - - - - - - -
C - - - - - N - - - - - - - - -
D - - - - - I - - - - - - - - -
E - - - - F A - - - - - - - - -
F - - - - R I - - - - - - - - -
G - - - - a S - - - - - - - - -
H - - - O Y A T S - - - - - - -
I - - - - E - - - - - - - - - -
J - - - - - - - - - - - - - - -
K - - - - - - - - - - - - - - -
L - - - - - - - - - - - - - - -
M - - - - - - - - - - - - - - -
N - - - - - - - - - - - - - - -
O - - - - - - - - - - - - - - -
commande> a p
Game: player 1 out of 3
Game: mode=Duplicate
Game: variant=unknown
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 2 | ATOYDSI | OYATS | H4 | 30 |
2 | 2 | DI+AEINS | DENIAISA | 6A | 63 | *
3 | 0 | P?RBFEG | FRaYE | 5E | 45 |
Rack 0: BGP+BEET
Rack 1: BGP+BEET
Rack 2: BGP+BEET
Score 0: 124
Score 1: 93
Score 2: 138
commande> q
fin du mode duplicate
commande> q