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