eliot/game
Olivier Teulière 10f5e98747 Check the played word against the game rack, not against the current player rack.
This is the same in most cases, except for arbitration games where
current player may already have an assigned move.

This change notably fixes a bug when using the "Check word" button in
arbitration mode: if the current player already had an assigned move,
the checked move would often be considered invalid (wrongly).
2016-02-07 09:48:56 +01:00
..
cmd Bag: add a contains() convenience method 2013-01-17 17:59:28 +01:00
ai_percent.cpp New MoveSelector class, to help find the "best" move to play. 2013-01-16 19:00:01 +01:00
ai_percent.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
ai_player.h Support saving/loading games (any game type) in XML format. 2009-11-29 16:01:31 +00:00
arbitration.cpp Topping: do not assign an empty move to the player immediately. 2013-01-15 11:43:30 +01:00
arbitration.h New "master game" feature. 2012-12-30 16:38:07 +01:00
bag.cpp Bag: add a contains() convenience method 2013-01-17 17:59:28 +01:00
bag.h Bag: add a contains() convenience method 2013-01-17 17:59:28 +01:00
board.cpp BoardLayout: make a method public, and use it to simplify an assertion 2013-01-19 00:36:07 +01:00
board.h New BoardLayout class to wrap the board layout (size and special squares). 2012-12-29 17:50:18 +01:00
board_cross.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
board_layout.cpp Remove a useless include 2013-01-19 00:36:07 +01:00
board_layout.h BoardLayout: make a method public, and use it to simplify an assertion 2013-01-19 00:36:07 +01:00
board_search.cpp Rack: add a contains() convenience method 2013-01-17 17:59:33 +01:00
board_search.h New GameParams class to wrap a few game characteristics. 2011-08-27 21:55:49 +02:00
command.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
command.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
coord.cpp Coord: do not refuse lowercase coordinates. 2012-12-29 17:46:17 +01:00
coord.h Coord: remove useless code 2012-12-29 17:46:17 +01:00
cross.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
cross.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
duplicate.cpp Gray out the players area when the game is finished. 2013-01-29 22:58:00 +01:00
duplicate.h New "master game" feature. 2012-12-30 16:38:07 +01:00
freegame.cpp FreeGame: fix an infinite game when all the players keep passing forever. 2015-02-24 23:28:31 +01:00
freegame.h FreeGame: fix an infinite game when all the players keep passing forever. 2015-02-24 23:28:31 +01:00
game.cpp Check the played word against the game rack, not against the current player rack. 2016-02-07 09:48:56 +01:00
game.h Check the played word against the game rack, not against the current player rack. 2016-02-07 09:48:56 +01:00
game_exception.cpp Print to stderr the complete stack trace in case of exception or segmentation fault. 2010-10-17 21:23:39 +00:00
game_exception.h Print to stderr the complete stack trace in case of exception or segmentation fault. 2010-10-17 21:23:39 +00:00
game_factory.cpp GameFactory: remove the useless releaseGame() method 2012-12-30 16:38:07 +01:00
game_factory.h GameFactory: remove the useless releaseGame() method 2012-12-30 16:38:07 +01:00
game_params.h New topping mode (very beginning) 2012-12-29 17:51:16 +01:00
hints.cpp Hints: add missing logging 2013-03-30 19:29:39 +01:00
hints.h Hints: add missing logging 2013-03-30 19:29:39 +01:00
history.cpp TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
history.h TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
Makefile.am New MoveSelector class, to help find the "best" move to play. 2013-01-16 19:00:01 +01:00
matrix.h New BoardLayout class to wrap the board layout (size and special squares). 2012-12-29 17:50:18 +01:00
move.cpp Topping: give the score penalty directly with the player move. 2013-01-16 17:46:47 +01:00
move.h Topping: give the score penalty directly with the player move. 2013-01-16 17:46:47 +01:00
move_selector.cpp MoveSelector: add one more heuristic (deactivated for now) 2013-01-19 00:36:08 +01:00
move_selector.h MoveSelector: add one more heuristic (deactivated for now) 2013-01-19 00:36:08 +01:00
navigation.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
navigation.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
player.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
player.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
pldrack.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
pldrack.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
public_game.cpp Topping: give the score penalty directly with the player move. 2013-01-16 17:46:47 +01:00
public_game.h Topping: give the score penalty directly with the player move. 2013-01-16 17:46:47 +01:00
rack.cpp Rack: rename a method 2013-01-17 17:59:33 +01:00
rack.h Rack: add a contains() convenience method 2013-01-17 17:59:33 +01:00
results.cpp MoveSelector: add another heuristic 2013-01-19 00:36:08 +01:00
results.h Results: new MasterResults implementation, using the MoveSelector class. 2013-01-19 00:36:07 +01:00
round.cpp Round: add operator==() 2012-12-30 16:13:31 +01:00
round.h Round: add operator==() 2012-12-30 16:13:31 +01:00
settings.cpp Settings: fix a typo (wrong setting type) 2013-01-19 00:36:07 +01:00
settings.h Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
topping.cpp Topping: give a default empty move to the player. 2013-04-03 21:56:46 +02:00
topping.h Topping: give the score penalty directly with the player move. 2013-01-16 17:46:47 +01:00
training.cpp TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
training.h New "master game" feature. 2012-12-30 16:38:07 +01:00
turn.cpp Change the copyright years for all the files modified in 2012 2012-10-11 13:45:24 +02:00
turn.h Turn: new findAllMatchingCmd() utility method 2012-12-29 17:44:39 +01:00
turn_data.cpp TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
turn_data.h TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
xml_reader.cpp TurnData: remove the m_playerId member 2013-01-16 14:40:34 +01:00
xml_reader.h Add myself to the authors, and fix some copyright headers 2012-10-11 13:45:24 +02:00
xml_writer.cpp XmlWriter: avoid a division by zero 2013-04-03 21:56:53 +02:00
xml_writer.h Simplified the looging macros, and added logs in various key places. 2011-01-29 23:47:20 +00:00