Antoine Fraboulet
b1e67d947b
some more doc on dictionary and expected regexp syntax
2005-04-19 16:25:06 +00:00
Antoine Fraboulet
1077565ace
added toCode() function that should clarify the interface with the
...
dictionary. This function should be used wherever it applies to get
the internal dictionnary code that match the Tile.
2005-04-19 16:24:32 +00:00
Antoine Fraboulet
0d69751dfb
"int getNCharInBag(char) const" changed to "int getNCharInBag(Tile) const;"
2005-04-19 16:23:04 +00:00
Antoine Fraboulet
284c7855a7
- regexp is now working, should add user defined letter lists in the GUI (later)
2005-04-19 16:21:15 +00:00
Antoine Fraboulet
3d15816dbf
- using Tile class functions for bag tile list
2005-04-19 16:20:24 +00:00
Antoine Fraboulet
ad5b5963d5
*** empty log message ***
2005-04-18 17:40:36 +00:00
Antoine Fraboulet
db56658d22
*** empty log message ***
2005-04-16 21:19:19 +00:00
Antoine Fraboulet
59f7c6df9c
yyparser ok. must change things to have a unique prefix instead of yy*
2005-04-16 20:55:51 +00:00
Olivier Teulière
25304bd978
test/*: Added non-regression tests, based on the text interface.
...
'regression.pl' is the script that runs the regression, and 'drivers' contains
the list of scenario files to be played.
By default, the complete regerssion is played, but you can play specific
scenarios by adding them to the command-line.
Example: ./regression.pl training_bag freegame_change
2005-04-16 15:47:59 +00:00
Olivier Teulière
b16b969406
When the letters to change are incorrect, do not end the turn for the player
2005-04-16 15:43:14 +00:00
Olivier Teulière
5b70753b50
Fixed a warning in Doxygen generation
2005-04-10 13:35:10 +00:00
Olivier Teulière
adfc794a73
Added a configuration file for a Doxygen documentation.
...
Run 'make doxygen' in the doc/ directory to generate it.
2005-04-10 13:32:14 +00:00
Olivier Teulière
48d111adca
Ability to specify the random seed on command-line.
2005-04-10 12:15:40 +00:00
Antoine Fraboulet
550dad8451
cscope files added
2005-04-09 19:19:50 +00:00
Antoine Fraboulet
ebc689befd
- minor dic.h changes
2005-04-09 19:16:56 +00:00
Antoine Fraboulet
4f1420ed31
- minor dictionary .h changes
...
- starting integrating regexp into eliot
2005-04-09 19:16:09 +00:00
Antoine Fraboulet
5b11146a36
getPlayerRack display option added + Game::back corrected of by one
2005-04-09 16:13:44 +00:00
Antoine Fraboulet
76178efe99
getPlayerRack display option added
2005-04-09 16:11:04 +00:00
Antoine Fraboulet
96e94a6be3
getPlayerRack display option added + Game::back() error return
2005-04-09 16:10:25 +00:00
Antoine Fraboulet
5e08e1cf6a
manually entered racks can be lowercase or uppercase
2005-04-09 15:14:00 +00:00
Antoine Fraboulet
aa828e1f8e
int -> unsigned int return values (count and points)
2005-04-09 14:58:24 +00:00
Antoine Fraboulet
8ed5045d75
minor modifications
2005-04-09 14:56:03 +00:00
Olivier Teulière
9ac91fc47e
Proper text of the GPL license
2005-04-03 21:30:58 +00:00
Olivier Teulière
6b025b9541
- Several fixes in the build system
...
- Added a bootstrap script to reduce manual work
- Added a --enable-debug configure switch to define the DEBUG variable
2005-04-03 21:12:03 +00:00
Olivier Teulière
a2648f74bb
Fixed make update-po
...
Updated french translation
2005-04-02 22:04:59 +00:00
Olivier Teulière
b65c045cfe
Removed Game::getCurrentRack(), since Game::getPlayerRack() does exactly the
...
same...
2005-04-02 21:21:30 +00:00
Olivier Teulière
855a6ad7e6
The title bar now indicates when it is a joker game
2005-04-02 21:18:24 +00:00
Olivier Teulière
016aa2e4fe
Cross::m_tilesSet is now private
2005-04-02 21:03:45 +00:00
Olivier Teulière
daeb2cb228
Fixed a nasty bug when playing a joker game.
2005-04-02 20:46:42 +00:00
Olivier Teulière
4a71c13990
Initialize the random numbers generator before setting the first racks...
2005-04-02 18:22:53 +00:00
Olivier Teulière
f38e884d31
Simplification
2005-04-02 18:21:24 +00:00
Olivier Teulière
ce71e10aef
Fixed a comment and made PlayedRack::toString() a const method
2005-04-02 18:05:21 +00:00
Olivier Teulière
383548a799
Fixed compilation of Board::checkDouble() in debug mode (the == operator was
...
missing for Cross objects)
2005-04-02 17:59:07 +00:00
Antoine Fraboulet
8121c6ab4c
raccords and benjamins are now search active
2005-03-29 08:22:55 +00:00
Antoine Fraboulet
fd1e57b115
- modifications for clean compile wx2.4, wx2.5 seems to have various font rendering problems
2005-03-29 08:05:18 +00:00
Antoine Fraboulet
8390d456b5
some progress but still incomplete interface
2005-03-29 07:00:39 +00:00
Antoine Fraboulet
08f15f9fe7
checkDouble does not work un debug mode, don't know why (Matrix[][] does not resolve to template type ?)
2005-03-29 06:58:23 +00:00
Antoine Fraboulet
ebe08e3d6e
add a getCurrentRack for display purpose
2005-03-29 06:56:06 +00:00
Antoine Fraboulet
ae729ca8ae
add toString method for PlayedRack text display
2005-03-29 06:54:08 +00:00
Olivier Teulière
7406f2c3c5
Added support for "Joker games", available using --joker on the command-line.
...
This is a kind of hack currently, but it works well...
2005-03-28 22:07:22 +00:00
Olivier Teulière
4dcc22f27a
Added comments on what we should do, according to the rules in he ODS
2005-03-28 15:23:55 +00:00
Olivier Teulière
178560bc63
Repaired handling of changing letters
2005-03-28 14:55:27 +00:00
Olivier Teulière
5f63f46635
Display the "search complete" message only when the search is complete...
2005-03-27 22:21:29 +00:00
Olivier Teulière
bd07fedf18
Fixed a stupid bug i just introduced
2005-03-27 22:08:31 +00:00
Olivier Teulière
57c1fcaf8e
Added an ASSERT macro, which aborts execution if the condition given as a
...
parameter is not verified. This simplifies te code in several places.
The old PDEBUG macro has been removed.
2005-03-27 21:45:04 +00:00
Olivier Teulière
5784cec146
Added/updated comments in many headers
2005-03-27 17:30:48 +00:00
Olivier Teulière
f45fd22c16
The game mode and the players are nod hardcoded anymore in the ncurses
...
interface: they can be entered with the command-line (parsed using getopt).
The text interface does not benefit from this facility yet.
2005-03-03 22:14:41 +00:00
Olivier Teulière
8b54450438
Added .cvsignore file
2005-02-27 20:11:53 +00:00
Olivier Teulière
fb0dcb7d71
Added wxwin.m4 to allow building on environments where wxWidgets is not present
2005-02-27 16:57:02 +00:00
Olivier Teulière
7db671ad31
Isolated the print* methods in a dedicated class, outside of the Game library
2005-02-26 22:57:34 +00:00