OSDN Git Service

Proposal implementation of a new command called MONITOR2{ON,OFF}.
authorDaigo Moriwaki <daigo@debian.org>
Fri, 15 Jan 2010 10:25:39 +0000 (19:25 +0900)
committerDaigo Moriwaki <daigo@debian.org>
Fri, 15 Jan 2010 10:25:39 +0000 (19:25 +0900)
commit8f6cbe23183482e03df482ab7c2b27dcf124f4e7
tree02335a2ca50ce7b6d394328367d01f2eca77e6a9
parent639c7e89ea11be66834e645b4f88410caa1c2f80
Proposal implementation of a new command called MONITOR2{ON,OFF}.

* [shogi-server]
  - shogi_server/command.rb, test/TC_command.rb
    Proposal implementation of a new command called MONITOR2{ON,OFF}.
    When the MONITOR2ON command is issued by a player, the server
    immediately sends the player the entire contents of a record
    file of the game, i.e. history of moves and so on, at that time.
    Then, the server will forward subsequent moves like they are
    appended to the record file.
  - Behavior changed: A player monitoring a game with MONITORON will
    not receive Game#show again when a gaming player resigns (:toryo).
changelog
shogi_server/board.rb
shogi_server/command.rb
shogi_server/game.rb
shogi_server/game_result.rb
test/TC_command.rb
test/mock_game.rb