Olivier Teulière
917c94fd5e
Display the total number of warnings of a player in the corresponding history tab title
2012-04-28 15:34:38 +02:00
Olivier Teulière
c4fad05ffd
Arbitration: new option to deactivate the automatic random rack
2012-04-28 15:34:37 +02:00
Olivier Teulière
de5783d51a
Auto-save the current game regularly, to reduce the loss in case of crash
2012-04-28 15:34:37 +02:00
Olivier Teulière
36bfa92761
Arbitration: a few fixes to improve usage of the text interface
2012-04-28 15:34:37 +02:00
Olivier Teulière
afb45d62c4
Preferences: removed the option to link the rack with the 7+1 dictionary tool
2012-04-28 15:34:36 +02:00
Olivier Teulière
1086051e56
Fixed loading of duplicate games
2012-04-16 20:32:57 +02:00
Olivier Teulière
0b3120a792
Duplicate: assign a "no move" pseudo-move to all players when starting a turn
2012-04-11 20:02:18 +02:00
Olivier Teulière
196e02f9ad
Duplicate: get rid of the MarkPlayedCmd class
2012-04-11 20:02:18 +02:00
Olivier Teulière
1db5ccea8b
Arbitration: assign a "no move" pseudo-move to all players when starting a turn
2012-04-11 20:02:18 +02:00
Olivier Teulière
4e61dd85ce
FreeGame: generate "no move" pseudo-moves
...
Now each player has a move at each turn, in all the game modes.
This should help to simplify the code in a few places...
2012-04-11 20:02:15 +02:00
Olivier Teulière
21ee07cc3b
Move::ComputeRackForMove() now returns a PlayedRack instead of a simple Rack
2012-04-10 08:51:12 +02:00
Olivier Teulière
c423da2425
Saved games: increase the XML format version, to indicate incompatibilities
2012-04-08 20:57:46 +02:00
Olivier Teulière
76d761ad8d
Saved games: do not write a playerid attribute for the MasterMove tag
2012-04-08 20:57:46 +02:00
Olivier Teulière
a5f13e3ba7
Saved games: write the dictionary letters as display strings
2012-04-08 20:57:46 +02:00
Olivier Teulière
53adb5d91b
Saved games: do not support the (very) old format anymore
2012-04-08 20:57:46 +02:00
Olivier Teulière
1e57b56f9d
Fixed compilation warnings
2012-04-07 13:29:07 +02:00
Olivier Teulière
5ee10b7c91
Fixed a bug introduced in d32f3fdf
2012-04-07 13:28:04 +02:00
Olivier Teulière
d6a2fc6e4e
PublicGame: more direct access to the game current rack
2012-03-26 07:49:25 +02:00
Olivier Teulière
e017e73cd9
Handle penalties in the core
2012-03-26 07:49:25 +02:00
Olivier Teulière
84e46bef85
Handle warnings and solos in the core
2012-03-26 07:49:25 +02:00
Olivier Teulière
7de3374fae
Code factorization
2012-03-26 07:49:25 +02:00
Olivier Teulière
3d724166b6
Allow inserting and dropping a single command in the history.
2012-03-26 07:49:24 +02:00
Olivier Teulière
c37107ed87
Write more information in a saved game: dictionary info and move points
2012-03-22 08:46:21 +01:00
Olivier Teulière
b1e7381b39
Players can now have a table number
2012-03-19 22:49:58 +01:00
Olivier Teulière
f3b2442cc0
Arbitration: improved the refresh of search results
2012-03-17 23:53:40 +01:00
Olivier Teulière
3a8ac20a0a
Arbitration: allow ending the turn even if some players have no assigned move
2012-03-17 23:53:31 +01:00
Olivier Teulière
bfab57f6ac
Changed the way to re-assign a player move.
...
Re-assigning a move is not limited anymore to the last turn (only to the
current turn, and even that limitation could be removed without too much
work).
2012-03-14 20:40:23 +01:00
Olivier Teulière
435d3a2f42
New methods to replace a command in the current turn (even if it is not the last one)
2012-03-14 20:40:23 +01:00
Olivier Teulière
c9f61d7ac8
Search on the game rack, not on the player one
2012-03-11 16:59:16 +01:00
Olivier Teulière
0fa7bc91c6
Arbitration mode: allow editing the rack manually
2012-03-11 00:24:29 +01:00
Olivier Teulière
25a36ec9cd
Arbitration mode: allow setting the rack randomly
2012-03-11 00:24:21 +01:00
Olivier Teulière
9c82c8f7bc
Reset the master move before setting the racks, for a better behaviour at the end of the game
2012-03-11 00:23:39 +01:00
Olivier Teulière
cf6cec0527
Improved the findMatchingCmd() method
2012-03-10 18:06:41 +01:00
Olivier Teulière
9160e6bc99
New preference to save the search results limit in arbitration mode
2012-03-10 18:06:41 +01:00
Olivier Teulière
05a51101db
New arbitration mode, dedicate to arbitration of duplicate games.
...
It is mostly working, but many things are still missing.
In particular:
- ability to enter (or change) moves for a past turn
- ability to change the rack (manually, or randomly)
- ability to add/remove players during the game
- support for solos, warnings, penalties
- support for table number
- more ergonomic interface
- non regression tests
- ... and probably bugs to fix
2012-03-10 18:06:41 +01:00
Olivier Teulière
f44048f31a
New utility method to find a matching command
2012-03-06 08:56:03 +01:00
Olivier Teulière
d5c53b92d0
New Round::countJokersFromRack() utility method
2012-03-04 22:58:53 +01:00
Olivier Teulière
22fd6484f3
Correctly retrieve the game rack
2012-02-25 23:51:30 +01:00
Olivier Teulière
4077a25fa0
Use the GameMoveCmd command
2012-02-25 23:25:40 +01:00
Olivier Teulière
df806594ae
New GameRackCmd class, not used yet
2012-02-25 23:17:04 +01:00
Olivier Teulière
f1c8bd587b
Really fixed detection of the first turn (commit 43954a9
was wrong)
2012-02-25 23:17:04 +01:00
Olivier Teulière
43954a9fe5
Fixed detection of the first turn
2012-02-25 21:56:41 +01:00
Olivier Teulière
182263ce74
New UndoCmd class, not used yet
2012-02-21 08:22:33 +01:00
Olivier Teulière
b1ed3215d9
Rewrote the navigation system, to make it more powerful and easier to understand.
...
Internally, commands are now stored a bit differently: some commands
which were at the end of a turn (like the players rack in duplicate
mode) are now at the beginning. But from a user point of view, there is
no visible difference, except some details in training mode (and the new
behaviour is arguably better :)).
Only (known) problem: after loading a game saved before this commit,
navigating in the game history may be less nice (in particular, racks
may not be fully restored).
2012-02-21 08:22:33 +01:00
Olivier Teulière
e915e5f2cf
New "auto-executable" flag for commands, not yet used
2012-02-21 08:22:33 +01:00
Olivier Teulière
de2d2777e2
The TurnCmd class does not inherit from Command anymore
2012-02-21 08:22:33 +01:00
Olivier Teulière
59fac223f4
Renamed some methods
2012-02-21 08:22:32 +01:00
Olivier Teulière
038910e5df
Removed a few useless assignations and Tile copies
2012-02-21 08:22:32 +01:00
Olivier Teulière
66eec913c9
Added several assertions
2012-02-21 08:22:32 +01:00
Olivier Teulière
32957abfcc
When playing a word, forbid using a joker to specify a letter on the board (even a joker).
...
This is just a convention, but a reasonable one :)
2012-02-21 08:22:32 +01:00