OSDN Git Service

shogi_server/{game,time_clock}.rb: Adds variations of thinking time calculation:...
authorDaigo Moriwaki <beatles@users.sourceforge.jp>
Sun, 7 Apr 2013 15:39:32 +0000 (00:39 +0900)
committerDaigo Moriwaki <beatles@users.sourceforge.jp>
Sun, 7 Apr 2013 15:39:32 +0000 (00:39 +0900)
commit1f41193a39cbcef4b0ae68677efa3498883235e3
tree6b133b34065c8b90ae524014a1ec48b89e42955a
parent7b9ccc1df11dcc6f9dca7d5b07534d9fcdf305de
shogi_server/{game,time_clock}.rb: Adds variations of thinking time calculation: ChessClock
(current) and StopWatchClock (new).

StopWatchClock, which is usually used at official games of human
professional players, is a clock where thiking time less than a
miniute is regarded as zero.
To select StopWatchClock, use a special game name with "060"
byoyomi time. ex. "gamename_1500_060".
changelog
shogi_server/game.rb
shogi_server/time_clock.rb [new file with mode: 0644]
test/TC_ALL.rb
test/TC_command.rb
test/TC_time_clock.rb [new file with mode: 0644]