Olivier Teulière
cdbb53f72c
Gray out the players area when the game is finished.
...
This was broken since 196e02f9ad
.
2013-01-29 22:58:00 +01:00
Olivier Teulière
1e0de63ef8
Results: add a isEmpty() method, and use it where possible
2013-01-16 11:15:12 +01:00
Olivier Teulière
9268767567
Topping: do not show the lineEdit control showing points of the move
2013-01-14 17:13:49 +01:00
Olivier Teulière
05150c4e86
TrainingWidget: fix an old bug (the "New rack" button was behaving like "Complement")
2013-01-09 17:15:18 +01:00
Olivier Teulière
76fefdf71d
New "master game" feature.
...
When a master game is defined, the racks and moves played from the
current game will be the same as in the master game. This can be
practical to replay a game in a different mode, or to replay at home a
duplicate game played in a club, for example.
2012-12-30 16:38:07 +01:00
Olivier Teulière
c1332760d7
Rename CoordModel as PlayModel
2012-12-18 00:48:14 +01:00
Olivier Teulière
4200e33c17
Change the copyright years for all the files modified in 2012
2012-10-11 13:45:24 +02:00
Olivier Teulière
db14ee0622
Training: do not use the auto-connect feature.
...
The code is now slightly more verbose, but easier to follow and
less sensitive to typos.
2012-10-05 16:10:41 +02:00
Olivier Teulière
75025c33df
Training: improve usability
2012-10-05 16:10:41 +02:00
Olivier Teulière
0a2727e767
Added missing headers
2012-04-28 15:34:37 +02:00
Olivier Teulière
f9ca096dda
Disable impossible actions in the popup menu instead of hiding them
2012-03-20 21:16:25 +01:00
Olivier Teulière
0fa7bc91c6
Arbitration mode: allow editing the rack manually
2012-03-11 00:24:29 +01:00
Olivier Teulière
bf42c49850
Added loggers to most classes
2012-02-19 13:07:29 +01:00
Olivier Teulière
cfdf5a928d
Group all the custom validators in a factory class.
...
This will make it easier to factorize and reuse this code.
2012-01-19 15:19:11 +01:00
Olivier Teulière
482b5d674f
Previewing a Round is now possible in all the game types.
...
It was only possible in Training mode. This change will be useful for
the future arbitration mdoe.
2012-01-17 00:43:19 +01:00
Olivier Teulière
03d93c9360
Renamed the string conversion macros, to make chaining more natural.
2011-07-30 19:45:18 +00:00
Olivier Teulière
cbaad7ff6c
Compilation fixes for the Windows build
2011-07-30 13:15:52 +00:00
Olivier Teulière
08516b07d7
Added support for definitions, using an external website
2011-07-28 20:55:48 +00:00
Olivier Teulière
c8305a0b10
Allow very thin columns
2011-07-17 09:16:52 +00:00
Olivier Teulière
77827bee1a
Added a context menu to the tree header in training mode, to disable automatic resizing of the columns
2011-07-17 09:09:47 +00:00
Olivier Teulière
424fd3af32
Display the points of the word entered by the player before validating it.
2011-07-16 23:31:17 +00:00
Olivier Teulière
809eb9eb94
Alternate row colors to make the results table a bit nicer
2010-07-11 20:59:05 +00:00
Olivier Teulière
3608c76fa4
Display for each result the difference with the top score
2010-07-11 20:58:41 +00:00
Olivier Teulière
9c0ca5835a
Force the sort column when refreshing the results
2010-07-11 20:58:21 +00:00
Olivier Teulière
f74e762ee3
Color in red the line if the word corresponds to the best score
2010-07-11 20:58:03 +00:00
Olivier Teulière
b7fff8b4a1
- Removed various C-style casts
...
- Factorized code in the Bag class
2010-03-06 16:54:20 +00:00
Olivier Teulière
51b0197afd
Make the code more robust by catching std::exception instead of only GameException
2010-01-23 23:34:23 +00:00
Olivier Teulière
02e4cb2970
- Invalid moves should be in the display form
...
- Moved some code from Header to Dictionary
2009-07-03 21:40:14 +00:00
Olivier Teulière
0e9711da25
Accept various inputs for the same tile in the Qt interface.
...
The dictionary format still needs to support that.
2009-06-27 18:09:44 +00:00
Olivier Teulière
4d86e236e0
- Fixed an accelerator key in the English version
...
- Added a reference to the web site in the About box
- Fixed an encoding problem on an error message
- Explained better the error message saying to select a dictionary
2009-02-28 09:24:27 +00:00
Olivier Teulière
ed2a20a3e3
- Allow setting the coordinates of the played word by clicking on the board
...
- New PlayWordMediator class, to encapsulate the behaviour of the controls
used to play a word
- The Training mode now has input fields to play words directly, without
choosing them in the search results
2009-02-19 18:25:17 +00:00
Olivier Teulière
7a5056354a
- Setting the rack manually is now done via a command, and can thus be undone
...
- Added non-regression tests for the navigation in the game history (all modes), and removed a less useful test
2009-01-24 10:28:20 +00:00
Olivier Teulière
0e08cccd41
New preference, to allow linking the rack in training mode to the "Plus 1" dictionary tool
2008-12-14 13:20:38 +00:00
Olivier Teulière
81b44a8050
- When displaying an old turn, do not allow playing
...
- Turns start at 0 instead of 1, to indicate that nothing was played on the first turn
2008-11-30 21:08:29 +00:00
Olivier Teulière
f6d7804847
- New PublicGame class, intended to be used by the interfaces instead of accessing Game directly
...
- Migrated the text, Qt and ncurses interfaces to the new PublicGame API.
2008-11-30 20:53:44 +00:00
Olivier Teulière
70be50c64e
A lot of clean-up:
...
- Removed logiv from the History class
- Used BOOST_FOREACH to simplify loops
- Remove useless annotations and doxygen blocks
- Added some constness
- Marked Training::setRack() as deprecated
- Improved compilation order in game/
2008-11-22 13:09:28 +00:00
Olivier Teulière
5ea1ec4215
Write a message in the status bar when a search is on going (training mode)
2008-11-04 21:31:13 +00:00
Olivier Teulière
350666b568
- The last commit in cross.cpp fixed a bug but introduced another one, now both are fixed
...
- Added unit tests for both bugs
- Fixed another bug preventing to enter some letters in the training rack
2008-10-15 19:43:23 +00:00
Olivier Teulière
9afebca0c2
- Allow sorting the training results
...
- Added auxiliary windows for the history and the external board
- Gave a title to auxiliary windows and remember their position (more or less) and size
- Auxiliary windows do not survive anymore after the main one
- Preferences are now stored in a sensible place
2008-01-26 23:03:32 +00:00
Olivier Teulière
cba81de777
Qt interface: added support for training mode
2008-01-24 20:18:00 +00:00