Commit graph

50 commits

Author SHA1 Message Date
Olivier Teulière
ff4b91459e MainWindow: do not show the visual rack until a game is started 2013-01-20 19:18:16 +01:00
Olivier Teulière
0ea56cc442 Add a "Print preview" menu entry 2013-01-14 17:13:48 +01:00
Olivier Teulière
8cd3157842 Topping: remove the ScoreWidget and add a TimerWidget 2013-01-11 11:06:57 +01:00
Olivier Teulière
99e7628fed Move game-related signals out of MainWindow, into the new dedicated class GameSignals 2013-01-09 16:23:33 +01:00
Olivier Teulière
b5d175fc5b Topping: use a different method to play the move.
This allows providing additional time information
2013-01-08 16:04:23 +01:00
Olivier Teulière
686b896396 PlayModel: new signal to indicate that a move is played.
This allows moving the logic out of PlayWordMediator (it will make it
easier to have a different behaviour for different mode types).
2013-01-08 16:04:23 +01:00
Olivier Teulière
ac0abba535 Topping: new widget dedicated to topping mode.
It is currently very ugly, and quite buggy...
2012-12-29 19:36:38 +01:00
Olivier Teulière
c1332760d7 Rename CoordModel as PlayModel 2012-12-18 00:48:14 +01:00
Olivier Teulière
f267b045b6 New option to start the timer automatically when the rack changes 2012-11-13 12:38:27 +01:00
Olivier Teulière
e355acc4fb Reset the timer automatically when a new turn starts 2012-11-13 12:38:27 +01:00
Olivier Teulière
a07d39fc22 New statistics window, still quite unpolished. 2012-05-06 23:31:49 +02:00
Olivier Teulière
f7a7eab3a3 Arbitration: when a player is selected, automatically switch to the corresponding history tab 2012-05-06 23:23:52 +02:00
Olivier Teulière
094af979c7 Create the new game dialog every time, instead of reusing it 2012-04-28 15:34:39 +02:00
Olivier Teulière
81dfee8e55 Emit a beep when the timer reaches the alert level or expires 2012-04-28 15:34:38 +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
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
b1e7381b39 Players can now have a table number 2012-03-19 22:49:58 +01:00
Olivier Teulière
ff21e64a7f Recreate the preferences dialog every time, to avoid displaying unsaved changes 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
efb5fddf58 Reset the timer when the current turn changes 2012-02-21 08:22:33 +01:00
Olivier Teulière
2cf5e29347 New dialog to define the favourite players 2012-02-18 01:19:24 +01:00
Olivier Teulière
2294bcbc80 Added an auxiliary window with the timer 2012-01-21 11:13:26 +01:00
Olivier Teulière
5535717ff4 Moved MainWindow::requestConfirmation() to the QtCommon class 2012-01-20 18:08:12 +01:00
Olivier Teulière
22f4341bdd Display information on the remaining letters in the status bar 2012-01-19 23:49:56 +01:00
Olivier Teulière
65501aad44 Display the current turn number in the status bar 2012-01-19 23:49:56 +01:00
Olivier Teulière
855718c6b8 Factorized code 2012-01-19 13:17:08 +01:00
Olivier Teulière
a899df5e46 The Training widget is not in a tab anymore 2012-01-19 11:18:23 +01:00
Olivier Teulière
50b55fb7f0 Create the players and scores widgets only when a new game is started. 2012-01-19 10:43:31 +01:00
Olivier Teulière
219b99192d Warn before exiting Eliot when a game is started 2012-01-05 21:08:54 +01:00
Olivier Teulière
08516b07d7 Added support for definitions, using an external website 2011-07-28 20:55:48 +00:00
Olivier Teulière
0c76b9d781 Simplified the looging macros, and added logs in various key places. 2011-01-29 23:47:20 +00:00
Olivier Teulière
84b69e8919 Ask for a confirmation before starting a new game 2010-10-17 21:24:18 +00:00
Olivier Teulière
80ca8844d9 Generate the dictionary from the wizard, and (optinally) load it.
The wizard is now fully usable.
2010-05-15 12:20:19 +00:00
Olivier Teulière
7cf6e90303 New wizard, for creating a dictionary from the GUI.
The wizard is almost ready... except that the dictionary is not generated yet!
2010-05-15 12:13:35 +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
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
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
fb4ea0e559 - The actions on the game history are now available in the menu and the toolbar
- The toolbar can be shown/hidden via a menu entry
 - Added icons for all the history actions
 - Ask for confirmation before replaying a turn
2008-11-29 16:40:59 +00:00
Olivier Teulière
675b534e77 - Fixed compilation in debug mode
- Centralized navigation in the game history in the Navigation class
 - The Qt interface now has (very) basic controls to navigate in the history.
2008-11-23 16:55:28 +00:00
Olivier Teulière
3837e548d4 - Updated the INSTALL and NEWS files
- Fixed menu accelerator keys
 - The board font size should be proportional to the board size
2008-09-06 20:06:58 +00:00
Olivier Teulière
990f4c5212 Qt interface:
- Initialize the random numbers generator, and print the seed value
 - Handle properly Qt builds without STL support
 - Save the position of the main window
 - Got rid of the useless toolbar
 - Better size of the preferences dialog
 - Hopefully fixed translation issues on Windows
 - The Settings class throws an exception when asked for a non-existing setting
2008-09-05 21:31:30 +00:00
Olivier Teulière
75a67b28a5 Dic:
- Throw an exception if a regular expresison is invalid
 - Handle the exception in callers code

Game:
 - Fixed a bug in setRackRandom()

Qt interface:
 - Display the dictionary name in the status bar
 - Implemented printing
 - Translation of the interface into French. The menus have temporarily lost their accelerator keys in English.
2008-08-31 11:48:11 +00:00
Olivier Teulière
a32f1b7aaf Dic:
- regexp search results are now in uppercase, like other results
 - the regexp search indicates if there are more results than the maximum
   allowed
Qt interface:
 - new window with some dictionary tools: check word, word+1 and regexp search
2008-08-27 21:20:03 +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
457b368ae7 Qt interface:
- Ensure unicity of players names (in the interface only, not the core)
 - Update the main window title with the game type
 - Display the player name in the history
 - The history widget is now able not to align the rack and the corresponding word
 - The dictionary path is remembered in the preferences
 - Ask for confirmation when loading a dictionary in the middle of a game
 - Preview tiles are coloured differently, and joker characters are in lowercase
2008-01-26 16:58:46 +00:00
Olivier Teulière
d8780822c2 - Fixed a bug due to the reject sign '-' preventing to load a saved training game
- Qt interface: Loading and saving a game is now supported (it only works in
   training mode, due to limitations in the core)
2008-01-26 10:10:50 +00:00
Olivier Teulière
f0b41f7ee7 Qt interface: First version of a dialog for preferences.
The preferences are not peristent yet.
2008-01-25 18:42:59 +00:00
Olivier Teulière
cba81de777 Qt interface: added support for training mode 2008-01-24 20:18:00 +00:00
Olivier Teulière
a5cefebd3f - New HistoryTabWidget control to display all the histories in a convenient way
- New PlayerTabWidget control to simplify the code in MainWindow
 - Simplification and uniformization of signal handling when the Game object is changed or updated
 - Improved the general layout a little bit (but the resizing behaviour is far from perfect)
2008-01-22 15:30:20 +00:00
Olivier Teulière
0bcc2c0930 Very beginning of a Qt interface. Status:
- the multiplayer modes are more or less playable
 - the training mode is not playable at all
 - the current layout is still experimental
 - many dialogs and options are missing
 - tested on Linux only

There are still hundreds of things to do...
2008-01-20 18:40:12 +00:00