OSDN Git Service

* [shogi-server] Ignore the last move of two sequential ones
authordaigo <beatles@users.sourceforge.jp>
Sun, 7 Mar 2010 12:56:01 +0000 (21:56 +0900)
committerDaigo Moriwaki <daigo at debian dot org>
Sun, 7 Mar 2010 14:13:12 +0000 (23:13 +0900)
commit4c035e78bfb18c0725313ec8da5721254c39a84e
treecadc631b496183dede05ee02c6e322697f1e2a20
parentb20b024412a59d994153cf9e8ba04d2c7d603ec3
* [shogi-server] Ignore the last move of two sequential ones

- If two sequential moves from a player are identical, the last
  one will be ignored and a game is in play. This situation might
  happen with human players, especially on slow network,
  impatiently sending a move twice.
changelog
shogi_server/command.rb
test/TC_functional.rb
test/TC_jishogi_kachi.rb
test/TC_oute_sennichite.rb
test/TC_uchifuzume.rb
test/baseclient.rb
test/mock_game.rb