OSDN Git Service

shogi-server/shogi-server.git
11 years agoBackported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and 2df8c798aeb7f0e77735e893fd137... 20121229
Daigo Moriwaki [Sun, 30 Dec 2012 08:24:33 +0000 (17:24 +0900)]
Backported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and 2df8c798aeb7f0e77735e893fd1370c2c6f15c4d:

  shogi_server/floodgate.rb: Generating next time around the new
  year day by reading configuration files did not work correctly.
  This issue has been fixed.

11 years agoBackported a5c94012656902e73e00f46e7a4c7004b24d4578: test/TC_logger.rb depeneded...
Daigo Moriwaki [Sun, 30 Dec 2012 08:18:15 +0000 (17:18 +0900)]
Backported a5c94012656902e73e00f46e7a4c7004b24d4578: test/TC_logger.rb depeneded on a specific directory where it was running on. This issues has been fixed.

11 years agoMerge branch 'human_vs_human' into wdoor-stable
Daigo Moriwaki [Fri, 28 Dec 2012 08:21:44 +0000 (17:21 +0900)]
Merge branch 'human_vs_human' into wdoor-stable

11 years ago- shogi_server/pairing.rb:
Daigo Moriwaki [Fri, 28 Dec 2012 06:23:45 +0000 (15:23 +0900)]
- shogi_server/pairing.rb:
  + There was a bug in the logic avoiding human-human match.
    This issue has been fixed.
  + Improved the logic avoiding human-human match. Human-human
    matches will less likely happen.

11 years agoadd derivatives of mk_rate, currently used @wdoor.
tkaneko [Tue, 17 Jul 2012 04:35:58 +0000 (13:35 +0900)]
add derivatives of mk_rate, currently used @wdoor.

13 years ago- Added a new debug message. 20101030
daigo [Sat, 30 Oct 2010 11:11:39 +0000 (20:11 +0900)]
- Added a new debug message.
- Added a testing line that is default commened out.

13 years agoCorrected namespace of GSL::Vector. This line is not reached, though.
daigo [Sat, 30 Oct 2010 11:10:19 +0000 (20:10 +0900)]
Corrected namespace of GSL::Vector. This line is not reached, though.

13 years ago- mk_rate: the usage was not updated. (Closes: #23358)
daigo [Wed, 6 Oct 2010 13:39:22 +0000 (22:39 +0900)]
- mk_rate: the usage was not updated. (Closes: #23358)

Thanks to Hoki-san to report this issue.

13 years agoFixed a bug #23245.
daigo [Sat, 18 Sep 2010 02:45:54 +0000 (11:45 +0900)]
Fixed a bug #23245.

For hadicapped games, wrong initial positions were delivered to players and
monitors. This issue has been fixed. (Closes: #23245)

13 years agoRefactoring: Changed the name of a constant.
daigo [Sat, 18 Sep 2010 02:18:38 +0000 (11:18 +0900)]
Refactoring: Changed the name of a constant.

13 years agoAdded a test-time-run target which runs a test for day changes
daigo [Sat, 18 Sep 2010 02:04:26 +0000 (11:04 +0900)]
Added a test-time-run target which runs a test for day changes

13 years agoEnhanced the CSA Login mode to accept a turn preference.
daigo [Sun, 5 Sep 2010 14:27:23 +0000 (23:27 +0900)]
Enhanced the CSA Login mode to accept a turn preference.

Logging in the server with the CSA mode, users are now allowed to
specify a turn preference in an enhanced gamename string which
looks like <gamename>-<time>-<time>-<turn>. The first three
parts are a regular game definition. The last "-<turn>"
part is optional.
+ Without -<turn> (i.e. same as the previous behavior), there
  is no turn preference. A user's turn will be defined randomly.
+ <turn> is either "B" for black or "W" for white.

13 years agoAdded some test cases.
daigo [Sun, 5 Sep 2010 13:27:55 +0000 (22:27 +0900)]
Added some test cases.

13 years agoUpdate changelog
daigo [Sun, 5 Sep 2010 07:59:33 +0000 (16:59 +0900)]
Update changelog

13 years agoEnhanced the Buoy feature: Players are allowed to start buoy games with specific...
daigo [Sun, 5 Sep 2010 06:13:44 +0000 (15:13 +0900)]
Enhanced the Buoy feature: Players are allowed to start buoy games with specific turns.

ex. %%GAME buoy_foo-1500-0 +

13 years agoRefactored Player#set_sente_from_str().
daigo [Sat, 4 Sep 2010 08:18:47 +0000 (17:18 +0900)]
Refactored Player#set_sente_from_str().

13 years agoRefactored methods: League#find_rival and Game::decide_turns.
daigo [Sat, 4 Sep 2010 07:10:35 +0000 (16:10 +0900)]
Refactored methods: League#find_rival and Game::decide_turns.

13 years agoThe Buoy behaivor is changed.
daigo [Sat, 4 Sep 2010 06:06:48 +0000 (15:06 +0900)]
The Buoy behaivor is changed.

Starting a buoy game, players are notified a starting game
position with the initial position and moves, instread of a
targeting position.

13 years agoshogi_server/command.rb: Prevent a possible password from be logged in a log file...
daigo [Thu, 5 Aug 2010 14:06:22 +0000 (23:06 +0900)]
shogi_server/command.rb: Prevent a possible password from be logged in a log file when players send invalid LOGIN-like commands.

Thanks to Tomoyuki Kaneko for this idea.

13 years ago../shogi_server/game.rb: mkdir_p will be performed in a global mutex of ShogiServer...
daigo [Tue, 3 Aug 2010 13:21:09 +0000 (22:21 +0900)]
../shogi_server/game.rb: mkdir_p will be performed in a global mutex of ShogiServer::Mkdir.

13 years ago../shogi_server.rb, ../shogi_server/util.rb: Refactored mkdir_for to Mkdir.mkdir_for.
daigo [Tue, 3 Aug 2010 13:12:36 +0000 (22:12 +0900)]
../shogi_server.rb, ../shogi_server/util.rb: Refactored mkdir_for to Mkdir.mkdir_for.

13 years agoshogi_server/league/floodgate_thread.rb: SetupFloodgate#start now returns an instance...
daigo [Tue, 3 Aug 2010 12:44:26 +0000 (21:44 +0900)]
shogi_server/league/floodgate_thread.rb: SetupFloodgate#start now returns an instance correctly.

13 years agoAdded building blocks to test an issue where mtime of log files is earlier that syste...
daigo [Tue, 3 Aug 2010 12:31:52 +0000 (21:31 +0900)]
Added building blocks to test an issue where mtime of log files is earlier that system time.

13 years agoSupport multiple clients to test.
daigo [Tue, 3 Aug 2010 12:27:38 +0000 (21:27 +0900)]
Support multiple clients to test.

13 years agoAdded test cases.
daigo [Tue, 3 Aug 2010 12:26:34 +0000 (21:26 +0900)]
Added test cases.

13 years agoConvert syntax: Time::now to Time.now
daigo [Tue, 3 Aug 2010 12:25:25 +0000 (21:25 +0900)]
Convert syntax: Time::now to Time.now

13 years agoProvided a test case for Logger.logdev.mkdir_for()
daigo [Sun, 25 Jul 2010 12:39:49 +0000 (21:39 +0900)]
Provided a test case for Logger.logdev.mkdir_for()

13 years ago- shogi-server: Improved fault tolerance of the server.
daigo [Sun, 25 Jul 2010 08:43:31 +0000 (17:43 +0900)]
- shogi-server: Improved fault tolerance of the server.

13 years agoshogi_server.rb: Fixed a race condition in a case of switching log files
daigo [Sun, 25 Jul 2010 08:38:49 +0000 (17:38 +0900)]
shogi_server.rb: Fixed a race condition in a case of switching log files

Creating a new directory to archive logs may have caused race condition,
which ended up with making the server unavailable. This issue has
been fixed.

13 years agoMerge branch 'logger'
daigo [Sun, 25 Jul 2010 06:17:43 +0000 (15:17 +0900)]
Merge branch 'logger'

Conflicts:
changelog

13 years ago- shogi_server/command.rb: Commands specific to 81Dojo, startig with '%%%', are just...
daigo [Sun, 25 Jul 2010 06:15:23 +0000 (15:15 +0900)]
- shogi_server/command.rb: Commands specific to 81Dojo, startig with '%%%', are just ignored instead of causing unknown command errors.

13 years ago- shogi_server.rb: Refactoring. Added test/TC_logger.rb to test ShogiServer::Logger...
daigo [Sun, 25 Jul 2010 05:40:57 +0000 (14:40 +0900)]
- shogi_server.rb: Refactoring. Added test/TC_logger.rb to test ShogiServer::Logger class.

13 years ago- shogi_server/command.rb: For an unknown error command log, an empty line is no...
daigo [Sun, 25 Jul 2010 05:46:19 +0000 (14:46 +0900)]
- shogi_server/command.rb: For an unknown error command log, an empty line is no longer logged.

13 years agoAdded new targets to test the server: test-run-daemon and stop-daemon
daigo [Sun, 25 Jul 2010 03:41:32 +0000 (12:41 +0900)]
Added new targets to test the server: test-run-daemon and stop-daemon

13 years agoResolved merge conflict
daigo [Sat, 24 Jul 2010 03:54:36 +0000 (12:54 +0900)]
Resolved merge conflict

13 years ago* [shogi-server]
daigo [Fri, 23 Jul 2010 10:20:26 +0000 (19:20 +0900)]
* [shogi-server]
  - shogi_server/league/floodgate_thread.rb: When the server run
    with DEBUG mode, it ended up with an undefined variable error.
    This issue has been fixed.

13 years ago* [shogi-server]
daigo [Sat, 17 Jul 2010 11:31:35 +0000 (20:31 +0900)]
* [shogi-server]
  - shogi_server.rb, shogi_server/board.rb, shogi_server/move.rb
    - Refactoring: Board can now move_to() and move_back() a move
      instread of deep_copy().

13 years agoshogi_server/league.rb: Improved performance of Persistance#get_players.
daigo [Sun, 11 Jul 2010 09:34:23 +0000 (18:34 +0900)]
shogi_server/league.rb: Improved performance of Persistance#get_players.

It took about 20 seconds for a large size of players (5,300 lines in
players.yaml). Now it completes in an instance.

13 years agoSet initial values to BasicPlayer's instance variables.
daigo [Sun, 11 Jul 2010 09:22:05 +0000 (18:22 +0900)]
Set initial values to BasicPlayer's instance variables.

13 years agoUpdated usage.
Daigo Moriwaki [Sat, 10 Jul 2010 10:17:05 +0000 (19:17 +0900)]
Updated usage.

13 years agoAdded a sample command line to run the server.
daigo [Thu, 8 Jul 2010 12:57:00 +0000 (21:57 +0900)]
Added a sample command line to run the server.

13 years ago* [shogi-server]
daigo [Fri, 2 Jul 2010 02:57:56 +0000 (11:57 +0900)]
* [shogi-server]
  - A new command line option:
      --floodgate-names GameStringA[,GameStringB[,...]]
  - Floodgate time configuration file:
    You need to set starting times of floodgate groups in
    configuration files under the top directory. Each floodgat
    e group requires a correspoding configuration file named
    "<game_name>.conf". The file will be re-read once just after a
    game starts.

13 years agoAdded some module functions related to DateTime or Time.
daigo [Sat, 26 Jun 2010 06:14:14 +0000 (15:14 +0900)]
Added some module functions related to DateTime or Time.

13 years agoMerge branch 'master' of git.sourceforge.jp:/gitroot/shogi-server/shogi-server
Daigo Moriwaki [Tue, 22 Jun 2010 00:27:23 +0000 (09:27 +0900)]
Merge branch 'master' of git.sourceforge.jp:/gitroot/shogi-server/shogi-server

13 years agoImproved stability of test results.
daigo [Sat, 19 Jun 2010 08:19:59 +0000 (17:19 +0900)]
Improved stability of test results.

TestClientAtmark#test_toryomight sometimes fail. Adding a short
sleep interval makes this issue happen less likely. 10 of 10 trials
were successful.

13 years agoImproved stability of test results.
daigo [Sat, 19 Jun 2010 08:06:06 +0000 (17:06 +0900)]
Improved stability of test results.

TestTwoSameMoves#test_two_same_moves might sometimes fail. Adding a short
sleep interval makes this issue happen less likely.  10 of 10 trials
were successful.

13 years agoAdded a test case for Floodgate#game_name?
Daigo Moriwaki [Sun, 6 Jun 2010 13:55:59 +0000 (22:55 +0900)]
Added a test case for Floodgate#game_name?

13 years agoRefactored MockLogger class.
Daigo Moriwaki [Sun, 6 Jun 2010 13:46:18 +0000 (22:46 +0900)]
Refactored MockLogger class.

13 years agoProvided more test cases for Monitor features.
Daigo Moriwaki [Tue, 1 Jun 2010 14:22:04 +0000 (23:22 +0900)]
Provided more test cases for Monitor features.

13 years ago- shogi_server/command.rb: Fixed an issue that MONITOR2OFF did not
Daigo Moriwaki [Tue, 1 Jun 2010 13:52:50 +0000 (22:52 +0900)]
- shogi_server/command.rb: Fixed an issue that MONITOR2OFF did not
  work. Thanks to HIDECHI and koudayu.

13 years agoHelp the write_thread to terminate
Daigo Moriwaki [Mon, 10 May 2010 12:25:22 +0000 (21:25 +0900)]
Help the write_thread to terminate

13 years agoImproved performance and stability of tests.
Daigo Moriwaki [Mon, 10 May 2010 12:23:47 +0000 (21:23 +0900)]
Improved performance and stability of tests.

13 years agoAdded a benchmark program.
Daigo Moriwaki [Sat, 8 May 2010 04:58:49 +0000 (13:58 +0900)]
Added a benchmark program.
ex: time ruby1.9.1 benchmark.rb csa/wdoor+floodgate-900-0+gps_normal+gps_l+20100507120007.csa 10

13 years ago* [mk_rate]
Daigo Moriwaki [Sat, 8 May 2010 02:22:52 +0000 (11:22 +0900)]
* [mk_rate]
  - Previously mk_rate did not count in draw games. Now a draw game
    is considered to weight 0.5 win and 0.5 loss. Respect
    Inaniwa-shogi which strategically aims to draw.
  - a new command line option, --skip-draw-games. In this mode, draw
    games are just ignored as mk_rate previously did.

13 years ago- shogi_server/player.rb:
daigo [Sun, 25 Apr 2010 04:25:52 +0000 (13:25 +0900)]
- shogi_server/player.rb:
  Log a warning message in a case that a player closes a connection suddenly.

I investigated this issue: http://d.hatena.ne.jp/mkomiya/20100424/1272095860

13 years agoAdded a comment for gets_safe()
daigo [Sun, 25 Apr 2010 04:25:24 +0000 (13:25 +0900)]
Added a comment for gets_safe()

14 years ago- shogi_server/command.rb:
daigo [Tue, 13 Apr 2010 13:50:11 +0000 (22:50 +0900)]
- shogi_server/command.rb:
  Equality of MonitorHandler class was wrong. %%MONITOROFF and
  %%MONITOR2OFF may cause unexpected behavior. This issue has been
  fixed. Thanks to Kota Fujiwara for reporting.

14 years ago* [shogi-server] Ignore the last move of two sequential ones
daigo [Sun, 7 Mar 2010 12:56:01 +0000 (21:56 +0900)]
* [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.

14 years ago* [shogi-server] The server now provides more accurate time control.
Daigo Moriwaki [Sat, 27 Feb 2010 14:52:14 +0000 (23:52 +0900)]
* [shogi-server] The server now provides more accurate time control.

Previouslly, a player's thinking time included a time waiting to get th
e giant lock. This may have caused games to time up, especially, during
byo-yomi etc.

14 years agoForgot to add this file at the previous commit.
Daigo Moriwaki [Sat, 23 Jan 2010 08:37:44 +0000 (17:37 +0900)]
Forgot to add this file at the previous commit.

14 years ago* [shogi-server]
Daigo Moriwaki [Sat, 23 Jan 2010 08:35:29 +0000 (17:35 +0900)]
* [shogi-server]
  - Experimental feature: support handicapped games.
    Game names that have the following prefixes are recognized as
    handicapped games. Turn symbols "+" and "-" mean Uwate (expert)
    and Shitate (beginner) respectively (i.e. Uwate players first).
    "*" is not available.
    - hclance_
    - hcbishop_
    - hcrook_
    - hcrooklance_
    - hc2p_
    - hc4p_
    - hc6p_
    - hc10p_

14 years agoProposal implementation of a new command called MONITOR2{ON,OFF}.
Daigo Moriwaki [Fri, 15 Jan 2010 10:25:39 +0000 (19:25 +0900)]
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).

14 years ago* Converted the repository from Subversion to Git.
Daigo Moriwaki [Sun, 10 Jan 2010 07:47:20 +0000 (16:47 +0900)]
* Converted the repository from Subversion to Git.

14 years agoFloodgate games were not started. This issue has been fixed. git-svn
beatles [Sun, 27 Dec 2009 04:26:46 +0000 (04:26 +0000)]
Floodgate games were not started. This issue has been fixed.

14 years ago* [shogi-server]
beatles [Sat, 26 Dec 2009 01:40:20 +0000 (01:40 +0000)]
* [shogi-server]
  - The server can now provide multiple floodgate modes such as
    floodgate-900-0 and floodgate-3600-0.

14 years agoThe game_name attribute has been moved to the super class, BasicPlayer.
beatles [Sat, 26 Dec 2009 01:40:19 +0000 (01:40 +0000)]
The game_name attribute has been moved to the super class, BasicPlayer.

In order to test cases using BasicPlayer class, it now requires the game_name attribute.

14 years ago- shogi-server, shogi_server/league/floodgate.rb: Changed the argument of Floodgate...
beatles [Sat, 26 Dec 2009 01:40:18 +0000 (01:40 +0000)]
- shogi-server, shogi_server/league/floodgate.rb: Changed the argument of Floodgate.new.

14 years agoMoved TestPairing class to test/TC_pairing.rb.
beatles [Sat, 26 Dec 2009 01:40:17 +0000 (01:40 +0000)]
Moved TestPairing class to test/TC_pairing.rb.

Refactoring.

14 years ago- shogi_server/pairing.rb: Added a new class: StartGameWithoutHumans.
beatles [Sat, 26 Dec 2009 01:40:16 +0000 (01:40 +0000)]
- shogi_server/pairing.rb: Added a new class: StartGameWithoutHumans.

This tries to make pairs trying to avoid a human-human match. This is now enabled instread of the previous class: StartGame.

14 years ago- shogi_server/player.rb: Added new methods: is_human? and is_computer?.
beatles [Sat, 26 Dec 2009 01:40:15 +0000 (01:40 +0000)]
- shogi_server/player.rb: Added new methods: is_human? and is_computer?.

  A human player is recommened to use a name ending with '_human'.
  ex. 'hoge_human', 'hoge_human@p1'

14 years agoTook (a bit) care of Windows platforms.
beatles [Fri, 4 Dec 2009 10:32:07 +0000 (10:32 +0000)]
Took (a bit) care of Windows platforms.

The HUP signal is not supported by Ruby on Windows. Now it is disabled on Windows.

14 years agoCorrected.
beatles [Sun, 29 Nov 2009 14:52:39 +0000 (14:52 +0000)]
Corrected.

14 years agoAdded a tool to investicate statistics of csa kifu files
beatles [Wed, 25 Nov 2009 09:00:59 +0000 (09:00 +0000)]
Added a tool to investicate statistics of csa kifu files

14 years ago* [mk_rate]
beatles [Sun, 15 Nov 2009 13:24:45 +0000 (13:24 +0000)]
* [mk_rate]
  - Added a new command line option: --base-date. You can specify a
    base date to calculate rating scores. Games in the `future' are
    ignored for the calculation.

14 years agoAdded a new feature, LoggingObserver, which logs a result of each game.
beatles [Sun, 15 Nov 2009 13:24:44 +0000 (13:24 +0000)]
Added a new feature, LoggingObserver, which logs a result of each game.

14 years agoCorrected typo
beatles [Sun, 15 Nov 2009 13:24:44 +0000 (13:24 +0000)]
Corrected typo

14 years agoIn a case of the Errno::ECONNRESET error, the error is correctly logged to the server...
beatles [Sun, 15 Nov 2009 13:24:43 +0000 (13:24 +0000)]
In a case of the Errno::ECONNRESET error, the error is correctly logged to the server log file.

14 years agoSplit GameResult related classes to shogi_server/game_result.rb
beatles [Sun, 15 Nov 2009 13:24:42 +0000 (13:24 +0000)]
Split GameResult related classes to shogi_server/game_result.rb

14 years agoOne more correction.
beatles [Sun, 8 Nov 2009 14:38:12 +0000 (14:38 +0000)]
One more correction.

14 years agoCorrected.
beatles [Sun, 8 Nov 2009 14:36:33 +0000 (14:36 +0000)]
Corrected.

14 years ago* [mk_rate]
beatles [Sun, 8 Nov 2009 13:48:48 +0000 (13:48 +0000)]
* [mk_rate]
  - Split a pre-process collecting game results from csa files into
    a new command, mk_game_results. Now, Generating players.html
    requires two steps as follows:
      % ./mk_game_results dir_of_csa_files > 00list
      % ./mk_rate 00list > players.html
      or
      % ./mk_game_results dir_of_csa_files | ./mk_rate > players.html
    (Closes: #19454)

14 years agoRemoved the deprecated method.
beatles [Sun, 8 Nov 2009 13:48:48 +0000 (13:48 +0000)]
Removed the deprecated method.

14 years agospecify size
tkaneko [Wed, 4 Nov 2009 11:57:32 +0000 (11:57 +0000)]
specify size

14 years agoCorrected the expected results.
beatles [Sun, 1 Nov 2009 13:32:36 +0000 (13:32 +0000)]
Corrected the expected results.

14 years agotest_not_uchifuzume was not erronously executed. Now the method is tested.
beatles [Sun, 1 Nov 2009 13:32:35 +0000 (13:32 +0000)]
test_not_uchifuzume was not erronously executed. Now the method is tested.

14 years agoImproved stability of the test result.
beatles [Sun, 1 Nov 2009 13:32:34 +0000 (13:32 +0000)]
Improved stability of the test result.

14 years agochanged x-bias of black and that of white, in order to place the evaluation by the...
tkaneko [Tue, 6 Oct 2009 07:29:30 +0000 (07:29 +0000)]
changed x-bias of black and that of white, in order to place the evaluation by the last-moved player at the rightmost

14 years agoRemoved a debugging line
beatles [Sun, 23 Aug 2009 14:05:24 +0000 (14:05 +0000)]
Removed a debugging line

14 years ago* Return [...] +OK after %%SETBUOY and %%DELETEBUOY commands
beatles [Sun, 9 Aug 2009 06:17:36 +0000 (06:17 +0000)]
* Return [...] +OK after %%SETBUOY and %%DELETEBUOY commands
* A buoy game was not started after %%SETBUOY command.

14 years ago* Starting a buoy game by %%GAME caused an server error.
beatles [Sun, 9 Aug 2009 06:17:35 +0000 (06:17 +0000)]
* Starting a buoy game by %%GAME caused an server error.
* To_Move of a proposed game lines was incorrect.

14 years agoRemoved a debug line.
beatles [Sat, 8 Aug 2009 05:28:00 +0000 (05:28 +0000)]
Removed a debug line.

14 years ago* The counter of a buoy game is decremented before the game is started.
beatles [Thu, 6 Aug 2009 14:35:37 +0000 (14:35 +0000)]
* The counter of a buoy game is decremented before the game is started.
* GETBUOYCOUNT returns -1 when a non-existing game is searched.

14 years agoForgot to add them at r338
beatles [Wed, 29 Jul 2009 13:53:03 +0000 (13:53 +0000)]
Forgot to add them at r338

14 years agoExperimantal implementation for specified games, codenamed Buoy.
beatles [Wed, 29 Jul 2009 13:48:31 +0000 (13:48 +0000)]
Experimantal implementation for specified games, codenamed Buoy.

14 years ago* [shogi-server]
beatles [Wed, 29 Jul 2009 13:48:30 +0000 (13:48 +0000)]
* [shogi-server]
  - Added shogi_server/command.rb: refactored commands out of player.rb, and assign a dedicated class for each command

14 years agoAdded a test case for Floodgate::History
beatles [Thu, 18 Jun 2009 13:28:09 +0000 (13:28 +0000)]
Added a test case for Floodgate::History

14 years ago* [shogi-server]
beatles [Thu, 18 Jun 2009 13:28:08 +0000 (13:28 +0000)]
* [shogi-server]
  - An emtpy floodgate_history.yaml caused a server error. This
    issue has been fixed.
    (Closes: #15124)

14 years ago* [shogi-server]
beatles [Wed, 17 Jun 2009 14:44:24 +0000 (14:44 +0000)]
* [shogi-server]
  - If a new game matched between two players is not started within
    a certain time (default 120 seconds) (i.e. the agree_waiting or
    start_waiting state lasts too long), the Server REJECTs the game.
    (Closes: #14425)

14 years agoAdded more test cases.
beatles [Wed, 17 Jun 2009 14:44:23 +0000 (14:44 +0000)]
Added more test cases.

14 years ago* [shogi-server]
beatles [Mon, 15 Jun 2009 14:24:34 +0000 (14:24 +0000)]
* [shogi-server]
  - When a Gote player AGREEd a new game and then a Sente player
    logged out (LOGOUT), the Gote incorrectly received a LOGOUT message
    from the server. Since Gote's state was not AGREEd or STARTed yet,
    the Gote should be REJECTed. This issue has been fixed.
    (Closes: #17335)