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

48 lines
989 B
Text

Using seed: 3
[?] pour l'aide
commande> l 2 0
mode partie libre
[?] pour l'aide
commande> a T
Rack 0: JNNEDEI
Rack 1: TLAEOWA
commande> p JID
commande> a T
Rack 0: EENN+MEN
Rack 1: TLAEOWA
commande> p aowalt
commande> a T
Rack 0: EENN+MEN
Rack 1: E+EEGAIS
commande> p MA
commande> a T
Rack 0: EENN+MEN
Rack 1: E+EEGAIS
commande> p MN
commande> a T
Rack 0: EEENN+ER
Rack 1: E+EEGAIS
commande> p SGEEEAI
commande> a T
Rack 0: EEENN+ER
Rack 1: HAAUAUO
commande> a p
Game: player 1 out of 2
Game: mode=Free game
Game: variant=unknown
Game: history:
N | P | RACK | SOLUTION | REF | PTS | BONUS
===|===|==========|================|=====|=====|======
1 | 0 | JNNEDEI | [JID] | - | 0 |
2 | 1 | TLAEOWA | [AOWALT] | - | 0 |
3 | 0 | EENN+MEN | [MN] | - | 0 |
4 | 1 | E+EEGAIS | [SGEEEAI] | - | 0 |
Rack 0: EEENN+ER
Rack 1: HAAUAUO
Score 0: 0
Score 1: 0
commande> q
fin du mode partie libre
commande> q