OSDN Git Service

shogi-server/shogi-server.git
8 years agoMerge branch 'wdoor-stable' 201604-Fischer
Daigo Moriwaki [Sun, 13 Dec 2015 12:30:38 +0000 (21:30 +0900)]
Merge branch 'wdoor-stable'

8 years agoMerge branch 'master' into wdoor-stable 20151213
Daigo Moriwaki [Sun, 13 Dec 2015 12:28:20 +0000 (21:28 +0900)]
Merge branch 'master' into wdoor-stable

Conflicts:
shogi_server.rb

8 years agoMerge remote-tracking branch 'origin/master' into wdoor-stable
Daigo Moriwaki [Sun, 13 Dec 2015 12:25:14 +0000 (21:25 +0900)]
Merge remote-tracking branch 'origin/master' into wdoor-stable

Conflicts:
changelog

8 years agoImprove changelog
Daigo Moriwaki [Sun, 13 Dec 2015 11:23:08 +0000 (20:23 +0900)]
Improve changelog

8 years agoMerge branch '201512-leastdiff'
Daigo Moriwaki [Sun, 13 Dec 2015 09:59:20 +0000 (18:59 +0900)]
Merge branch '201512-leastdiff'

8 years ago[shogi-server] shogi_server/pairing.rb: Attempt more trials
Daigo Moriwaki [Sun, 13 Dec 2015 09:58:21 +0000 (18:58 +0900)]
[shogi-server] shogi_server/pairing.rb: Attempt more trials

LeastDiff attempts more trials, depending of a number of players to be matched.

8 years agoMerge branch '201512-maxmoves'
Daigo Moriwaki [Sun, 13 Dec 2015 08:55:14 +0000 (17:55 +0900)]
Merge branch '201512-maxmoves'

8 years ago[shogi-server] Enhance capability of Floodgate configuration file
Daigo Moriwaki [Sun, 13 Dec 2015 08:53:04 +0000 (17:53 +0900)]
[shogi-server] Enhance capability of Floodgate configuration file

- New parameter: Max_Moves, defined in the CSA protocol
  ex. set Max_Moves 256
- New parameter: Least_Time_Per_Move, defined in the CSA protocol
  ex. set Least_Time_Per_Move 0
- Proposed messages distributed to each player upon starting a new
  game will include Max_Moves as well as Least_Time_Per_Move.
- CSA files produced by the server will include settings of
  Max_Moves and Least_Time_Per_Move in comment lines as follows:
    'Max_Moves:256
    'Least_Time_Per_Move:0
- The official Shogi-server on wdoor.c.u-tokyo.ac.jp will
  be running with different parameters, depending on game names.
  a) Max_Moves will be 256 for floodgate-600-10 games;
     otherwise, 0.
  b) Least_Time_Per_Move will be 0 for floodgate-600-10 games;
     otherwise 1.
(Closes: #35839)

8 years agoMerge branch '201512-timeclock'
Daigo Moriwaki [Sat, 12 Dec 2015 04:09:11 +0000 (13:09 +0900)]
Merge branch '201512-timeclock'

8 years agoFix #35795: A time consumed could be -1 201512-timeclock
Daigo Moriwaki [Fri, 27 Nov 2015 14:40:28 +0000 (23:40 +0900)]
Fix #35795: A time consumed could be -1

* [shogi-server] shogi_server/time_clock.rb:
  - A time consumed could be -1.
    * The start time of a move is captured after sending a move to a
      player of the next turn at the end of the giant lock
    * The end time of the move is captured at the exact time when the
      server receives it before the giant lock
    Therefore, end_time < start_time is possible when a player returns a
    move instantly.
    Thanks to Tomoyuki Kaneko for reporting this issue.
    (Closes: #35795)

9 years agoutil/statistics.rb: Updated to investigate floodgate-600-10 games.
Daigo Moriwaki [Sat, 14 Feb 2015 08:40:28 +0000 (17:40 +0900)]
util/statistics.rb: Updated to investigate floodgate-600-10 games.

9 years agoAdjust sleep intervals to get more stable test results 20150201
Daigo Moriwaki [Sun, 1 Feb 2015 02:33:09 +0000 (11:33 +0900)]
Adjust sleep intervals to get more stable test results

9 years ago[shogi-server] - shogi_server/login.rb: When players are logged in, log their player_...
Daigo Moriwaki [Sun, 1 Feb 2015 02:32:31 +0000 (11:32 +0900)]
[shogi-server] - shogi_server/login.rb: When players are logged in, log their player_id if they have it.

9 years agoUpdate the revision
Daigo Moriwaki [Sun, 1 Feb 2015 01:55:53 +0000 (10:55 +0900)]
Update the revision

9 years ago[mk_html] Links to details pages for players now use a relative path so that it works...
Daigo Moriwaki [Tue, 20 Jan 2015 13:48:29 +0000 (22:48 +0900)]
[mk_html] Links to details pages for players now use a relative path so that it works on a testing site.

9 years agoGetting an absolute location of this file was wrong if it was a synbolic link. This...
Daigo Moriwaki [Tue, 20 Jan 2015 13:39:05 +0000 (22:39 +0900)]
Getting an absolute location of this file was wrong if it was a synbolic link. This issue has been addressed.

9 years agoMerge branch 'wdoor-stable'
Daigo Moriwaki [Sat, 17 Jan 2015 13:13:20 +0000 (22:13 +0900)]
Merge branch 'wdoor-stable'

Conflicts:
changelog

9 years agoMerge remote-tracking branch 'origin/wdoor-stable' into wdoor-stable
Daigo Moriwaki [Sat, 17 Jan 2015 13:12:04 +0000 (22:12 +0900)]
Merge remote-tracking branch 'origin/wdoor-stable' into wdoor-stable

Conflicts:
changelog

9 years ago[shogi-server] shogi-server, shogi_server/{command,game_result,player}.rb: The change...
Daigo Moriwaki [Sat, 17 Jan 2015 09:23:00 +0000 (18:23 +0900)]
[shogi-server] shogi-server, shogi_server/{command,game_result,player}.rb: The change at 2014-10-13 was not worked as expected. Reworked.

  A player, attempting to login with the current live player
  stalling for more than a day, can forcibly override the current
  player.

9 years agoMerge branch '201410-maxmoves'
Daigo Moriwaki [Sat, 17 Jan 2015 01:47:58 +0000 (10:47 +0900)]
Merge branch '201410-maxmoves'

Conflicts:
changelog
shogi_server.rb

9 years agoUpdate various documentations
Daigo Moriwaki [Sat, 17 Jan 2015 01:44:28 +0000 (10:44 +0900)]
Update various documentations

9 years agoFix test failures related to MAX_MOVES and least time per move
Daigo Moriwaki [Sat, 17 Jan 2015 01:43:50 +0000 (10:43 +0900)]
Fix test failures related to MAX_MOVES and least time per move

9 years agoApply CSA Protocol V1.2.1 for MAX_MOVES
Daigo Moriwaki [Sat, 17 Jan 2015 01:18:40 +0000 (10:18 +0900)]
Apply CSA Protocol V1.2.1 for MAX_MOVES

9 years agoRefactor ChessClockWithLeastZero
Daigo Moriwaki [Sat, 17 Jan 2015 00:39:29 +0000 (09:39 +0900)]
Refactor ChessClockWithLeastZero

9 years agoCorrected a changelog entry
Daigo Moriwaki [Sat, 17 Jan 2015 00:18:20 +0000 (09:18 +0900)]
Corrected a changelog entry

9 years agoFollow an API change in the upstream: LogDevice
Daigo Moriwaki [Mon, 12 Jan 2015 14:13:13 +0000 (23:13 +0900)]
Follow an API change in the upstream: LogDevice

9 years agoGet rid of a dupolicated method: test_kachi_good
Daigo Moriwaki [Mon, 12 Jan 2015 14:06:28 +0000 (23:06 +0900)]
Get rid of a dupolicated method: test_kachi_good

9 years agoFixed logout in test/TC_forrk.rb
Daigo Moriwaki [Mon, 24 Nov 2014 14:04:14 +0000 (23:04 +0900)]
Fixed logout in test/TC_forrk.rb

9 years agoNew feature: Zero least time per move.
Daigo Moriwaki [Mon, 13 Oct 2014 07:19:58 +0000 (16:19 +0900)]
New feature: Zero least time per move.

New command line option: --least-time-per-move n

9 years agoMerge branch 'wdoor-stable'
Daigo Moriwaki [Mon, 12 Jan 2015 11:48:51 +0000 (20:48 +0900)]
Merge branch 'wdoor-stable'

Conflicts:
changelog

9 years agoMerge remote-tracking branch 'origin/wdoor-stable' into wdoor-stable
Daigo Moriwaki [Sat, 27 Dec 2014 14:32:58 +0000 (23:32 +0900)]
Merge remote-tracking branch 'origin/wdoor-stable' into wdoor-stable

Conflicts:
changelog

9 years ago* [mk_html] Corrected a url.
Daigo Moriwaki [Sat, 27 Dec 2014 14:31:20 +0000 (23:31 +0900)]
* [mk_html] Corrected a url.

9 years ago* [shogi-server] When a non-rated player participates in Floodgate, the following... 20141227
Daigo Moriwaki [Sat, 27 Dec 2014 13:10:00 +0000 (22:10 +0900)]
* [shogi-server] When a non-rated player participates in Floodgate, the following exception was thrown and a Floodgate game would not start:

      undefined method `[]' for nil:NilClass
      ["/home/shogi-server/www/x/shogi_server/pairing.rb:499:in `block
      in calculate_diff_with_penalty'"

    This issue has been resolved. Only players who have player ID
    (i.e. those who log in with valid password) are now allowed to
    participate in Floodgate as the spec web page
    [http://shogi-server.sourceforge.jp/rating.html] describes.

9 years ago[shogi-server] Addressed Ruby incompatibility on ShogiServer::Usi::alphabetToDan.
Daigo Moriwaki [Tue, 23 Dec 2014 08:35:04 +0000 (17:35 +0900)]
[shogi-server] Addressed Ruby incompatibility on ShogiServer::Usi::alphabetToDan.

  It (and usiToCsa.rb) did not work with Ruby 1.9.3. This issue has now been fixed.
  Thanks to Hiraoka-san for debugging.

9 years agoutils/eval_graph.rb: Gnuplot 4.6.6 drew evaluation-value lines with a dashed style...
Daigo Moriwaki [Thu, 18 Dec 2014 10:23:35 +0000 (19:23 +0900)]
utils/eval_graph.rb: Gnuplot 4.6.6 drew evaluation-value lines with a dashed style. This issue has now been addressed so that solid lines are used.

9 years agoMerge remote-tracking branch 'origin/wdoor-stable'
Daigo Moriwaki [Sat, 13 Dec 2014 07:28:41 +0000 (16:28 +0900)]
Merge remote-tracking branch 'origin/wdoor-stable'

Conflicts:
changelog

9 years agoFixed logout in test/TC_forrk.rb 20141130
Daigo Moriwaki [Mon, 24 Nov 2014 14:04:14 +0000 (23:04 +0900)]
Fixed logout in test/TC_forrk.rb

9 years ago[shogi-server] Addressed a warning of duplicated range in a regular expression.
Daigo Moriwaki [Mon, 24 Nov 2014 14:03:29 +0000 (23:03 +0900)]
[shogi-server] Addressed a warning of duplicated range in a regular expression.

9 years agoRuby 2.0.0 or later is recommended to use with shogi-server since Ruby 1.8 reached...
Daigo Moriwaki [Mon, 24 Nov 2014 12:33:47 +0000 (21:33 +0900)]
Ruby 2.0.0 or later is recommended to use with shogi-server since Ruby 1.8 reached its End-of-Life on the end of July, 2014.

9 years agoRecord files now include rating scores of players.
Daigo Moriwaki [Mon, 13 Oct 2014 10:15:50 +0000 (19:15 +0900)]
Record files now include rating scores of players.

9 years agoMerge branch 'wdoor-stable'
Daigo Moriwaki [Mon, 13 Oct 2014 09:43:25 +0000 (18:43 +0900)]
Merge branch 'wdoor-stable'

Conflicts:
changelog

9 years agoMerge branch '201410-StalledPlayer'
Daigo Moriwaki [Mon, 13 Oct 2014 09:38:06 +0000 (18:38 +0900)]
Merge branch '201410-StalledPlayer'

9 years ago[shogi-server] A player, attempting to login with the current live player
Daigo Moriwaki [Mon, 13 Oct 2014 09:35:08 +0000 (18:35 +0900)]
[shogi-server] A player, attempting to login with the current live player
stalling for more than a day, can forcibly override the current player.

9 years agoNew feature: max moves
Daigo Moriwaki [Sun, 12 Oct 2014 07:24:40 +0000 (16:24 +0900)]
New feature: max moves

New command line option: --max-moves n

9 years agoFixed an encoding issue for mk_rate 20140726
Daigo Moriwaki [Sat, 26 Jul 2014 06:58:40 +0000 (15:58 +0900)]
Fixed an encoding issue for mk_rate

9 years agoCherry-pick 62ad30f 3217ea4
Daigo Moriwaki [Sat, 19 Jul 2014 02:49:33 +0000 (11:49 +0900)]
Cherry-pick 62ad30f 3217ea4

[mk_rate] - Added a new option, --abnormal-threshold n:

  Games that end with the 'abnormal' status are counted in
  win/lost games for the rating calculation if a game plays more
  than n plies. Otherwise (or if n is zero), abnormal games are
  counted out of rating games.

9 years agoMerge branch '201407-abnormal'
Daigo Moriwaki [Sat, 26 Jul 2014 07:01:03 +0000 (16:01 +0900)]
Merge branch '201407-abnormal'

9 years agoFixed an encoding issue for mk_rate
Daigo Moriwaki [Sat, 26 Jul 2014 06:58:40 +0000 (15:58 +0900)]
Fixed an encoding issue for mk_rate

9 years ago[mk_rate] - Added a new option, --abnormal-threshold n:
Daigo Moriwaki [Sat, 19 Jul 2014 02:49:33 +0000 (11:49 +0900)]
[mk_rate] - Added a new option, --abnormal-threshold n:

  Games that end with the 'abnormal' status are counted in
  win/lost games for the rating calculation if a game plays more
  than n plies. Otherwise (or if n is zero), abnormal games are
  counted out of rating games.

10 years agoCorrected a merge miss in changelog caused by the previous merge
Daigo Moriwaki [Sat, 22 Feb 2014 13:03:14 +0000 (22:03 +0900)]
Corrected a merge miss in changelog caused by the previous merge

10 years agoMerge branch '201312-usiToCsa'
Daigo Moriwaki [Sat, 22 Feb 2014 12:54:41 +0000 (21:54 +0900)]
Merge branch '201312-usiToCsa'

Conflicts:
changelog

10 years agoRelease 20140107 20140107
Daigo Moriwaki [Tue, 7 Jan 2014 00:37:32 +0000 (09:37 +0900)]
Release 20140107

10 years agoUpdated Revision number.
Daigo Moriwaki [Tue, 7 Jan 2014 00:35:51 +0000 (09:35 +0900)]
Updated Revision number.

10 years agoMerge branch '201312-fix-sacrifice'
Daigo Moriwaki [Sun, 29 Dec 2013 07:33:19 +0000 (16:33 +0900)]
Merge branch '201312-fix-sacrifice'

10 years agoCorrected load path
Daigo Moriwaki [Sun, 29 Dec 2013 05:21:11 +0000 (14:21 +0900)]
Corrected load path

10 years agoFix to read parameters in configuration files
Daigo Moriwaki [Sun, 29 Dec 2013 04:56:32 +0000 (13:56 +0900)]
Fix to read parameters in configuration files

10 years ago[shogi-server] - Previously, parameters in Floodgate time configuration file were...
Daigo Moriwaki [Thu, 26 Dec 2013 14:52:35 +0000 (23:52 +0900)]
[shogi-server] - Previously, parameters in Floodgate time configuration file were not applied to actual instances. This issue has been fixed.

10 years agoMerge branch 'wdoor-stable'
Daigo Moriwaki [Sat, 21 Dec 2013 08:53:33 +0000 (17:53 +0900)]
Merge branch 'wdoor-stable'

10 years agoMerge branch '201312-KinPenalty' into wdoor-stable 20131221
Daigo Moriwaki [Sat, 21 Dec 2013 08:52:52 +0000 (17:52 +0900)]
Merge branch '201312-KinPenalty' into wdoor-stable

10 years ago[shogi-server] - shogi_server/pairing.rb: Impose penalty on matches between likely...
Daigo Moriwaki [Sat, 21 Dec 2013 08:47:13 +0000 (17:47 +0900)]
[shogi-server] - shogi_server/pairing.rb: Impose penalty on matches between likely kin players.

10 years agoFixed issues on usiToCsa.rb. 201312-usiToCsa
Daigo Moriwaki [Tue, 17 Dec 2013 13:46:22 +0000 (22:46 +0900)]
Fixed issues on usiToCsa.rb.

- Corrected type of TORYO
- Corrected keep alive packet

10 years ago* [usiToCsa] - Added a new program, which is a bridge for a USI engine to connect...
Daigo Moriwaki [Sat, 14 Dec 2013 12:31:08 +0000 (21:31 +0900)]
* [usiToCsa] - Added a new program, which is a bridge for a USI engine to connect to the Shogi-server.

10 years agoMerge remote-tracking branch 'origin/master' into wdoor-stable
Daigo Moriwaki [Sun, 15 Dec 2013 02:44:50 +0000 (11:44 +0900)]
Merge remote-tracking branch 'origin/master' into wdoor-stable

10 years ago[shogi-server] - Released: Revision "20131215" 20131215
Daigo Moriwaki [Sun, 15 Dec 2013 02:38:14 +0000 (11:38 +0900)]
[shogi-server] - Released: Revision "20131215"

10 years ago[webserver] - Listen on only IPv4 explicitly.
Daigo Moriwaki [Sun, 15 Dec 2013 02:34:20 +0000 (11:34 +0900)]
[webserver] - Listen on only IPv4 explicitly.

10 years agoMerge branch 'master' into wdoor-stable
Daigo Moriwaki [Fri, 13 Dec 2013 08:34:16 +0000 (17:34 +0900)]
Merge branch 'master' into wdoor-stable

10 years agoMerge branch '201311-ExcludeNonRatedPlayers'
Daigo Moriwaki [Fri, 13 Dec 2013 08:33:06 +0000 (17:33 +0900)]
Merge branch '201311-ExcludeNonRatedPlayers'

10 years ago* [shogi-server] - shogi_server/league/floodgate_thread.rb: Added a log message.
Daigo Moriwaki [Fri, 13 Dec 2013 08:20:48 +0000 (17:20 +0900)]
* [shogi-server] - shogi_server/league/floodgate_thread.rb: Added a log message.

10 years ago[shogi-server] - Implemented conversion of move representation between CSA format...
Daigo Moriwaki [Fri, 13 Dec 2013 06:09:35 +0000 (15:09 +0900)]
[shogi-server] - Implemented conversion of move representation between CSA format and USI one.

10 years agoChanged log messages and levels.
Daigo Moriwaki [Sun, 8 Dec 2013 12:22:04 +0000 (21:22 +0900)]
Changed log messages and levels.

10 years ago[shogi-server] - shogi-server/shogi_server/pairing.rb: Modified comment for LeastDiff...
Daigo Moriwaki [Sun, 8 Dec 2013 03:47:10 +0000 (12:47 +0900)]
[shogi-server] - shogi-server/shogi_server/pairing.rb: Modified comment for LeastDiff match.

10 years agoEnhanced syntax of Floodgate time configuration file. Now it supports "set sacrifice...
Daigo Moriwaki [Sat, 7 Dec 2013 15:52:46 +0000 (00:52 +0900)]
Enhanced syntax of Floodgate time configuration file.  Now it supports "set sacrifice <player_id>"

It sets a sacrificed player for a specific Floodgate game.
ex. set sacrifice gps500+e293220e3f8a3e59f79f6b0efffaa931

10 years agoSimplify estimated rate of unrated players (less memory).
Daigo Moriwaki [Sat, 7 Dec 2013 09:50:19 +0000 (18:50 +0900)]
Simplify estimated rate of unrated players (less memory).

* [shogi-server]
  - pairing.rb, player.rb:
    Simplify estimated rate of unrated players (less memory).

10 years ago* [shogi-server]
Daigo Moriwaki [Sun, 24 Nov 2013 13:20:19 +0000 (22:20 +0900)]
* [shogi-server]
  - Added a new pairing method, ShogiServer::ExcludeUnratedPlayers,
    which filters out unrated players.
  - Enhanced syntax of Floodgate time configuration file.
    Now it supports "set pairing_factory <function_name>"; it sets a
    factory function name generating a pairing method which will be
    used in a specific Floodgate game.
    ex. set pairing_factory floodgate_zyunisen

10 years ago* mk_rate-from-grep, mk_rate-grep: - Removed files that are no longer used.
Daigo Moriwaki [Sun, 24 Nov 2013 11:03:00 +0000 (20:03 +0900)]
* mk_rate-from-grep, mk_rate-grep: - Removed files that are no longer used.

10 years ago* [shogi-server] - shogi-server: any bind addresses, ruby attempts to listen on both...
Daigo Moriwaki [Sun, 24 Nov 2013 09:20:10 +0000 (18:20 +0900)]
* [shogi-server] - shogi-server: any bind addresses, ruby attempts to listen on both "0.0.0.0" and "::".

Specifying "::" on Linux leads to listen on both IPv4 and IPv6, which
results in a warning message saying "Address already in use - bind(2)".

10 years ago* [shogi-server] - shogi-server: Previously, reloading in daemon mode failed on ruby...
Daigo Moriwaki [Sun, 24 Nov 2013 09:07:10 +0000 (18:07 +0900)]
* [shogi-server] - shogi-server: Previously, reloading in daemon mode failed on ruby 1.9.3p194. This issue has been fixed.

10 years ago* [mk_game_results] - Fixed for reading Japanese comments under ruby1.9.3p194.
Daigo Moriwaki [Sun, 24 Nov 2013 03:48:34 +0000 (12:48 +0900)]
* [mk_game_results] - Fixed for reading Japanese comments under ruby1.9.3p194.

10 years ago* [shogi-server] - shogi_server/league/floodgate.rb: Improved robustness against...
Daigo Moriwaki [Sun, 24 Nov 2013 03:05:52 +0000 (12:05 +0900)]
* [shogi-server] - shogi_server/league/floodgate.rb: Improved robustness against empty file under ruby 1.9.3p194

10 years ago* [mk_rate] Now duplicated inputs are checked and skipped.
Daigo Moriwaki [Sat, 23 Nov 2013 13:48:34 +0000 (22:48 +0900)]
* [mk_rate] Now duplicated inputs are checked and skipped.

10 years ago test/TC_floodgate.rb Improved randomness check so that it works on Ruby 2.0.0 as...
Daigo Moriwaki [Sat, 23 Nov 2013 12:00:15 +0000 (21:00 +0900)]
 test/TC_floodgate.rb Improved randomness check so that it works on Ruby 2.0.0 as well

10 years ago[mk_rate] gsl library may be provided as a gem
Daigo Moriwaki [Sat, 23 Nov 2013 11:59:34 +0000 (20:59 +0900)]
[mk_rate] gsl library may be provided as a gem

10 years agoMerge remote-tracking branch 'origin/wdoor-stable'
Daigo Moriwaki [Fri, 22 Nov 2013 12:47:59 +0000 (21:47 +0900)]
Merge remote-tracking branch 'origin/wdoor-stable'

Conflicts:
changelog

10 years agoRleased: Revision "20131104" 20131104
Daigo Moriwaki [Mon, 4 Nov 2013 09:49:32 +0000 (18:49 +0900)]
Rleased: Revision "20131104"

10 years ago[mk_game_results] Flush after each output line.
Daigo Moriwaki [Mon, 4 Nov 2013 09:47:58 +0000 (18:47 +0900)]
[mk_game_results] Flush after each output line.

10 years agoMerge branch '201303-yamashita_matching' into wdoor-stable
Daigo Moriwaki [Mon, 4 Nov 2013 06:05:57 +0000 (15:05 +0900)]
Merge branch '201303-yamashita_matching' into wdoor-stable

Conflicts:
changelog

10 years ago* [mk_rate] - Added a new option, --ignore, which is imported from mk_rate-from-grep.
Daigo Moriwaki [Mon, 4 Nov 2013 04:35:02 +0000 (13:35 +0900)]
* [mk_rate] - Added a new option, --ignore, which is imported from mk_rate-from-grep.

10 years ago[shogi-server] - shogi_server/{game,time_clock}.rb:
Daigo Moriwaki [Sun, 8 Sep 2013 02:02:41 +0000 (11:02 +0900)]
[shogi-server] - shogi_server/{game,time_clock}.rb:
  When StopWatchClock is used, "Time_Unit:" of starting messages
  in CSA protocol supplies "1min".

10 years agoMerge branch 'wdoor-stable-fork' into wdoor-stable
Daigo Moriwaki [Sat, 7 Sep 2013 07:52:57 +0000 (16:52 +0900)]
Merge branch 'wdoor-stable-fork' into wdoor-stable

11 years agoshogi_server/{game,time_clock}.rb: Adds variations of thinking time calculation:...
Daigo Moriwaki [Sun, 7 Apr 2013 15:39:32 +0000 (00:39 +0900)]
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".

11 years agoFollowed the change of the error message format.
Daigo Moriwaki [Sun, 31 Mar 2013 05:25:15 +0000 (14:25 +0900)]
Followed the change of the error message format.

11 years ago command.rb: More elaborate error messages for the %%GAME command.
Daigo Moriwaki [Sun, 31 Mar 2013 05:15:47 +0000 (14:15 +0900)]
 command.rb: More elaborate error messages for the %%GAME command.

11 years agoImproted %%FORK command.
Daigo Moriwaki [Sun, 31 Mar 2013 04:44:13 +0000 (13:44 +0900)]
Improted %%FORK command.

%%FORK command: %%FORK <source_game> [<new_buoy_game>] [<nth-move>]
The new_buoy_game parameter is now optional. If it is not
supplied, Shogi-server generates a new buoy game name from
source_game.

11 years agoFixed a bug which was found in a long test.
Daigo Moriwaki [Sun, 24 Mar 2013 13:01:51 +0000 (22:01 +0900)]
Fixed a bug which was found in a long test.

11 years ago[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff
Daigo Moriwaki [Wed, 20 Mar 2013 08:23:36 +0000 (17:23 +0900)]
[shogi-server] New pairing algorithm: ShogiServer::Pairing::LeastDiff

This pairing algorithm aims to minimize the total differences of
matching players' rates. It also includes penalyties when a match
is same as the previous one or a match is between human players.

It is based on a discussion with Yamashita-san on
http://www.sgtpepper.net/kaneko/diary/20120511.html.

11 years agoImproved %%FORK command. Thinking times of each move are also provided.
Daigo Moriwaki [Sun, 17 Mar 2013 05:49:40 +0000 (14:49 +0900)]
Improved %%FORK command. Thinking times of each move are also provided.

11 years agoImplemented a new command: %%FORK copy
Daigo Moriwaki [Sun, 24 Feb 2013 07:32:57 +0000 (16:32 +0900)]
Implemented a new command: %%FORK

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 agoApplied a patch from the wdoor-stable branch: Improved the logic avoiding human-human...
Daigo Moriwaki [Fri, 28 Dec 2012 08:44:29 +0000 (17:44 +0900)]
Applied a patch from the wdoor-stable branch: Improved the logic avoiding human-human match.

> commit 81d6582813f9af7f2c23c0f056ee6960b3299e05
> Author: Daigo Moriwaki <beatles@users.sourceforge.jp>
> Date:   Fri Dec 28 15:23:45 2012 +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.