ipkiss42 / eliot

GNU General Public License v2.0
3 stars 2 forks source link

Master game #7

Closed ipkiss42 closed 11 years ago

ipkiss42 commented 11 years ago

It can sometimes be practical to replay a past game (same racks, same played words). For example, a player could play a game played in club, and compare his final score with the players who played the original game.

It should work in the following way: When the game is created (in any mode, except maybe Freegame?), a master game can be specified The master game would be a savegame of another (complete or incomplete) game Whenever a rack needs to be drawn, it is forced to be like in the master game Whenever a word must be played, it is forced to be like in the master game (the notion of Master Move can be used for that in Duplicate and Arbitration games) Additionally, some information from the original game could be accessible (scores of the original players, for example) When saving the game, we should consider whether or not we want to save some information about the master game

ipkiss42 commented 11 years ago

Done in 76fefdf.