OSDN Git Service

shogi-server/shogi-server.git
12 years agoenabled ExcludeSacrifice by default
tkaneko [Sun, 9 Mar 2008 11:19:28 +0000 (11:19 +0000)]
enabled ExcludeSacrifice by default

12 years ago* [mk_html]
beatles [Sat, 8 Mar 2008 01:52:41 +0000 (01:52 +0000)]
* [mk_html]
- Added an option --wdoor. In this mode, a rate expected at Shogi
  Club 24 is calculated from YSS's rating (he is 2400 now).

12 years agoIf the computed ratings do not stabilize, then mk_rate aborts.
beatles [Tue, 4 Mar 2008 15:09:56 +0000 (15:09 +0000)]
If the computed ratings do not stabilize, then mk_rate aborts.
  $ ./mk_rate dir && ./mk_rate dir > players.yaml
can avoid rewriting the invalid ratings to the file.

12 years agoRefactoring
beatles [Tue, 26 Feb 2008 15:32:27 +0000 (15:32 +0000)]
Refactoring

12 years agoRefactoring
beatles [Tue, 26 Feb 2008 14:12:38 +0000 (14:12 +0000)]
Refactoring

12 years agoComments are converted to EUC-JP and then written in a log.
beatles [Fri, 22 Feb 2008 15:37:41 +0000 (15:37 +0000)]
Comments are converted to EUC-JP and then written in a log.

12 years agoReleased players-graph.rb
beatles [Thu, 21 Feb 2008 14:14:52 +0000 (14:14 +0000)]
Released players-graph.rb

12 years agoFor SwissPairing, the odd winners include a newbie who is not rated yet, a player...
beatles [Mon, 18 Feb 2008 03:35:11 +0000 (03:35 +0000)]
For SwissPairing, the odd winners include a newbie who is not rated yet, a player to be removed is selected at random instead of the least-rated palyer.

12 years agoWhen running with the debug mode, Thread.abort_on_exception is true.
beatles [Sun, 17 Feb 2008 11:19:00 +0000 (11:19 +0000)]
When running with the debug mode, Thread.abort_on_exception is true.

12 years agoWhen there are odd players, RandomPairing will delete a player at random.
beatles [Sun, 17 Feb 2008 11:03:46 +0000 (11:03 +0000)]
When there are odd players, RandomPairing will delete a player at random.

12 years agoAn illegal teban specified for Floodgate login could crash the server.
beatles [Sun, 17 Feb 2008 10:50:40 +0000 (10:50 +0000)]
An illegal teban specified for Floodgate login could crash the server.

12 years agomodified url for each player
tkaneko [Sat, 16 Feb 2008 14:27:11 +0000 (14:27 +0000)]
modified url for each player

12 years agoA bit tweak for Swiss
beatles [Sat, 16 Feb 2008 13:23:40 +0000 (13:23 +0000)]
A bit tweak for Swiss

12 years agoFixed a bug in the uchifuzume check.
beatles [Sat, 16 Feb 2008 13:04:28 +0000 (13:04 +0000)]
Fixed a bug in the uchifuzume check.

12 years agoThread.abort_on_exception = false
beatles [Sat, 16 Feb 2008 08:24:32 +0000 (08:24 +0000)]
Thread.abort_on_exception = false

12 years agoPairing classes are located in a separate source file.
beatles [Fri, 15 Feb 2008 13:00:18 +0000 (13:00 +0000)]
Pairing classes are located in a separate source file.
Added ExcludeSacrifice.

12 years agoAdded a new pairing, Swiss-like style.
beatles [Thu, 14 Feb 2008 04:46:51 +0000 (04:46 +0000)]
Added a new pairing, Swiss-like style.

12 years agoRandom pairing deletes the player who has ever played the most games.
beatles [Wed, 13 Feb 2008 14:31:12 +0000 (14:31 +0000)]
Random pairing deletes the player who has ever played the most games.

12 years agoFloodgate's thread 10 sec. Do not show old players.
beatles [Fri, 8 Feb 2008 10:37:28 +0000 (10:37 +0000)]
Floodgate's thread 10 sec. Do not show old players.

12 years agoAdded a link from a player name to a LATEST game list.
beatles [Wed, 6 Feb 2008 03:58:17 +0000 (03:58 +0000)]
Added a link from a player name to a LATEST game list.

12 years agoSort by last_modified for not-yet-rated players.
beatles [Tue, 5 Feb 2008 13:24:37 +0000 (13:24 +0000)]
Sort by last_modified for not-yet-rated players.

12 years agoUse YUI
beatles [Tue, 5 Feb 2008 12:59:11 +0000 (12:59 +0000)]
Use YUI

12 years agoDisplay not-yet-rated players. Interium commit.
beatles [Tue, 5 Feb 2008 11:39:07 +0000 (11:39 +0000)]
Display not-yet-rated players. Interium commit.

12 years agoFixed a bug in the --pid-file option
beatles [Mon, 4 Feb 2008 14:16:42 +0000 (14:16 +0000)]
Fixed a bug in the --pid-file option

12 years agoFixed a bug that the server failed to start with a permission denied error.
beatles [Mon, 4 Feb 2008 13:08:21 +0000 (13:08 +0000)]
Fixed a bug that the server failed to start with a permission denied error.

12 years agoReverted r1.75
beatles [Mon, 4 Feb 2008 03:58:38 +0000 (03:58 +0000)]
Reverted r1.75

12 years agoRefactoring. Ensure that floodgate's scheduling always works.
beatles [Mon, 4 Feb 2008 03:50:01 +0000 (03:50 +0000)]
Refactoring. Ensure that floodgate's scheduling always works.

12 years agoFixed a across-day bug for Floodgate.
beatles [Sun, 3 Feb 2008 15:19:17 +0000 (15:19 +0000)]
Fixed a across-day bug for Floodgate.

12 years agoGame names for the Floodgate mode are enhanced.
beatles [Sun, 3 Feb 2008 14:29:40 +0000 (14:29 +0000)]
Game names for the Floodgate mode are enhanced.

12 years agoRefactoring. Removed an unused method.
beatles [Sun, 3 Feb 2008 13:06:51 +0000 (13:06 +0000)]
Refactoring. Removed an unused method.

12 years agoAdded Floodgate feature.
beatles [Sat, 2 Feb 2008 10:16:41 +0000 (10:16 +0000)]
Added Floodgate feature.

12 years agoRefactoring
beatles [Tue, 29 Jan 2008 14:39:11 +0000 (14:39 +0000)]
Refactoring

12 years agoSupport Ruby 1.8.6.111 (or higher) and GSL 1.10 (or higher).
beatles [Sat, 3 Nov 2007 13:34:38 +0000 (13:34 +0000)]
Support Ruby 1.8.6.111 (or higher) and GSL 1.10 (or higher).

12 years agoSupport Ruby 1.8.6.111 (or higher) and GSL 1.10 (or higher).
beatles [Sat, 3 Nov 2007 13:29:10 +0000 (13:29 +0000)]
Support Ruby 1.8.6.111 (or higher) and GSL 1.10 (or higher).

12 years agoCorrect the Oute-Sennichite detection.
beatles [Thu, 6 Sep 2007 12:53:39 +0000 (12:53 +0000)]
Correct the Oute-Sennichite detection.

12 years agoSome refactoring
beatles [Wed, 22 Aug 2007 13:35:35 +0000 (13:35 +0000)]
Some refactoring

12 years agoThe wrong lock position may cause ThreadError because another (not-owner) thread...
beatles [Wed, 22 Aug 2007 13:34:28 +0000 (13:34 +0000)]
The wrong lock position may cause ThreadError because another (not-owner) thread may unlock. The issues has been fixed.

12 years agoAdd shebang
beatles [Sat, 16 Jun 2007 09:20:29 +0000 (09:20 +0000)]
Add shebang

12 years agoBumped up GAME_LIMIT
beatles [Sat, 16 Jun 2007 09:16:19 +0000 (09:16 +0000)]
Bumped up GAME_LIMIT

12 years agowebserver
beatles [Sat, 16 Jun 2007 09:04:32 +0000 (09:04 +0000)]
webserver

12 years agoShow revision in a start up messeage.
beatles [Sun, 22 Apr 2007 08:09:02 +0000 (08:09 +0000)]
Show revision in a start up messeage.

12 years agoImplemented CHALLENGE command
beatles [Sat, 21 Apr 2007 13:35:07 +0000 (13:35 +0000)]
Implemented CHALLENGE command

13 years ago- Implemented one of the keepalive protocol in CSA protocol; If clients
beatles [Sun, 1 Apr 2007 08:10:44 +0000 (08:10 +0000)]
- Implemented one of the keepalive protocol in CSA protocol; If clients
  send LF, the server sends back LF.
- More care for socket errors.

13 years agoWhen there were too few games to rate players (i.e. no
beatles [Tue, 27 Mar 2007 15:21:29 +0000 (15:21 +0000)]
When there were too few games to rate players (i.e. no
player to rate), mk_rate caused an error. Now it no longer shows
the error.

13 years agoPopup shows additional information
beatles [Sat, 10 Mar 2007 01:14:38 +0000 (01:14 +0000)]
Popup shows additional information

13 years ago* [shogi-server]
beatles [Fri, 2 Mar 2007 03:44:16 +0000 (03:44 +0000)]
* [shogi-server]
    - Use WEBrick for server framework.
    - Daemon mode is available.

13 years agoInitial start of the server failed beacause of empty players.yaml.
beatles [Mon, 26 Feb 2007 04:18:26 +0000 (04:18 +0000)]
Initial start of the server failed beacause of empty players.yaml.

13 years agoFailed to show usage.
beatles [Mon, 26 Feb 2007 04:05:19 +0000 (04:05 +0000)]
Failed to show usage.

13 years agoFixed a typo error.
beatles [Sun, 18 Feb 2007 01:54:07 +0000 (01:54 +0000)]
Fixed a typo error.

13 years agoImplemented half-life effect. Numbers of win/lose decrease by this effect.
beatles [Sat, 17 Feb 2007 14:34:27 +0000 (14:34 +0000)]
Implemented half-life effect. Numbers of win/lose decrease by this effect.

13 years ago- Show groups in the order specified in players.html.
beatles [Sat, 17 Feb 2007 14:34:02 +0000 (14:34 +0000)]
- Show groups in the order specified in players.html.
- Players who gamed recently have a background color.

13 years agoCorrect r1.59 fix to accept tests in test_board.
beatles [Sun, 26 Nov 2006 11:10:54 +0000 (11:10 +0000)]
Correct r1.59 fix to accept tests in test_board.

13 years agoSente (gote) was able to move gote's (sente's) hand. That move should be illegal...
beatles [Sun, 26 Nov 2006 10:53:07 +0000 (10:53 +0000)]
Sente (gote) was able to move gote's (sente's) hand. That move should be illegal. This issue has been fixed. [members:2747]

13 years agoSkip 'abnormal' games.
beatles [Wed, 1 Nov 2006 12:23:17 +0000 (12:23 +0000)]
Skip 'abnormal' games.

13 years agoSkip 'abnormal' games.
beatles [Wed, 1 Nov 2006 11:50:40 +0000 (11:50 +0000)]
Skip 'abnormal' games.

13 years agoRefactoring; add 'ShogiServer' namespace.
beatles [Wed, 1 Nov 2006 03:44:27 +0000 (03:44 +0000)]
Refactoring; add 'ShogiServer' namespace.

13 years agoRefactoring. Pretty output.
beatles [Wed, 1 Nov 2006 03:16:07 +0000 (03:16 +0000)]
Refactoring. Pretty output.

13 years agoMake players into 'connected' groups for a meaningful rating system.'
beatles [Mon, 30 Oct 2006 13:14:24 +0000 (13:14 +0000)]
Make players into 'connected' groups for a meaningful rating system.'

13 years agoCorrected making win_loss_matrix.
beatles [Sun, 8 Oct 2006 06:12:10 +0000 (06:12 +0000)]
Corrected making win_loss_matrix.

13 years agoplayers who never win or lose are not rated
beatles [Mon, 2 Oct 2006 04:09:30 +0000 (04:09 +0000)]
players who never win or lose are not rated

13 years agoThe CSA mode supports the trip in a password.
beatles [Sat, 30 Sep 2006 11:54:42 +0000 (11:54 +0000)]
The CSA mode supports the trip in a password.

13 years agoRefactored the login procedures.
beatles [Fri, 22 Sep 2006 15:43:33 +0000 (15:43 +0000)]
Refactored the login procedures.

13 years agomk_rate supports draw games.
beatles [Thu, 21 Sep 2006 13:31:58 +0000 (13:31 +0000)]
mk_rate supports draw games.

13 years agoAdd CSS for pretty print.
beatles [Thu, 21 Sep 2006 13:21:35 +0000 (13:21 +0000)]
Add CSS for pretty print.

13 years agoSupport @NORATE syntax in the name.
beatles [Fri, 15 Sep 2006 13:26:00 +0000 (13:26 +0000)]
Support @NORATE syntax in the name.

13 years agoRemove the trip in a password.
beatles [Fri, 15 Sep 2006 12:25:17 +0000 (12:25 +0000)]
Remove the trip in a password.

13 years agoSupport a new command, %%VERSION. It shows the server's revision#.
beatles [Sat, 9 Sep 2006 01:56:35 +0000 (01:56 +0000)]
Support a new command, %%VERSION. It shows the server's revision#.

13 years agoIgnore games of players who have SAME id.
beatles [Fri, 8 Sep 2006 11:10:47 +0000 (11:10 +0000)]
Ignore games of players who have SAME id.

13 years agoRefactoring
beatles [Fri, 8 Sep 2006 11:01:32 +0000 (11:01 +0000)]
Refactoring

13 years ago* [shogi-server]
beatles [Thu, 7 Sep 2006 23:40:11 +0000 (23:40 +0000)]
* [shogi-server]
  - Re-design: trip is now a suffix of the password, not name.
  - Sipmlyfiled the output of %%RATING.
* [mk_rate]
  - Support "@" indentificaton in a name; players with same
    before-@-names are mapped to one.

13 years agoFix a bug.
beatles [Tue, 5 Sep 2006 12:17:57 +0000 (12:17 +0000)]
Fix a bug.

13 years agoForgot to add a namespace.
beatles [Fri, 18 Aug 2006 10:31:03 +0000 (10:31 +0000)]
Forgot to add a namespace.

13 years agoRe-designed
beatles [Fri, 18 Aug 2006 03:59:55 +0000 (03:59 +0000)]
Re-designed

13 years agoFor ease to see in the players.yaml.
beatles [Wed, 16 Aug 2006 10:32:51 +0000 (10:32 +0000)]
For ease to see in the players.yaml.

13 years agoCorrect the day.
beatles [Wed, 16 Aug 2006 10:20:52 +0000 (10:20 +0000)]
Correct the day.

13 years agoAdd a space in the output of %%RATING.
beatles [Wed, 16 Aug 2006 10:19:53 +0000 (10:19 +0000)]
Add a space in the output of %%RATING.

13 years agoFix a bug. Now it can see black/white players in a csa file.
beatles [Wed, 16 Aug 2006 04:33:32 +0000 (04:33 +0000)]
Fix a bug. Now it can see black/white players in a csa file.

13 years agoFix a but. Now it can correctly search directories to find csa files.
beatles [Tue, 15 Aug 2006 00:03:36 +0000 (00:03 +0000)]
Fix a but. Now it can correctly search directories to find csa files.

13 years agoFix a bug. Now it can show %%RATING even if it has no rated player.
beatles [Mon, 14 Aug 2006 14:37:39 +0000 (14:37 +0000)]
Fix a bug. Now it can show %%RATING even if it has no rated player.

13 years agoFirst upload
beatles [Mon, 14 Aug 2006 11:53:41 +0000 (11:53 +0000)]
First upload

13 years agoFix a typo.
beatles [Mon, 14 Aug 2006 11:53:13 +0000 (11:53 +0000)]
Fix a typo.

13 years agoQuick fixes.
beatles [Mon, 14 Aug 2006 08:23:07 +0000 (08:23 +0000)]
Quick fixes.

13 years agoAdd mk_rate.
beatles [Fri, 11 Aug 2006 10:55:55 +0000 (10:55 +0000)]
Add mk_rate.

13 years agoChange the style of a comment line on the rated game.
beatles [Thu, 10 Aug 2006 12:38:21 +0000 (12:38 +0000)]
Change the style of a comment line on the rated game.

13 years ago* Change the player id, which is now <name>+<hash_of_the_trip>.
beatles [Tue, 8 Aug 2006 03:48:23 +0000 (03:48 +0000)]
* Change the player id, which is now <name>+<hash_of_the_trip>.
* Fix the max length of the login name with a trip.
* Add a comment line about the rated game status in the CSA file.
* Remove the rating system, which will be calcurated by another program.

13 years agoAdd Player#modified_at
beatles [Wed, 2 Aug 2006 11:15:13 +0000 (11:15 +0000)]
Add Player#modified_at

13 years ago Add a command, %%RATING, to show a ranking sorted by rates.
beatles [Mon, 31 Jul 2006 23:20:49 +0000 (23:20 +0000)]
 Add a command, %%RATING, to show a ranking sorted by rates.

13 years agoFix a bug.
beatles [Mon, 31 Jul 2006 13:29:46 +0000 (13:29 +0000)]
Fix a bug.

13 years agoAdd a simple rating system
beatles [Mon, 31 Jul 2006 13:15:31 +0000 (13:15 +0000)]
Add a simple rating system

13 years agoAdd @move_count in Board class, which is used by Shogi Viewer CGI.
beatles [Sun, 30 Jul 2006 13:42:49 +0000 (13:42 +0000)]
Add @move_count in Board class, which is used by Shogi Viewer CGI.

13 years agoFix a jishogi bug.
beatles [Fri, 28 Apr 2006 09:57:35 +0000 (09:57 +0000)]
Fix a jishogi bug.

13 years agoceil => floor
tkaneko [Wed, 19 Apr 2006 03:17:55 +0000 (03:17 +0000)]
ceil => floor

13 years agoSupport Protocol Version 1.1
beatles [Sat, 8 Apr 2006 06:44:29 +0000 (06:44 +0000)]
Support Protocol Version 1.1

14 years agoKifu logs are always written in separate files. Add a test case. Some refactorings.
beatles [Fri, 10 Mar 2006 14:19:02 +0000 (14:19 +0000)]
Kifu logs are always written in separate files. Add a test case. Some refactorings.

14 years agodo not write comment if the file handle has been closed
tkaneko [Mon, 6 Mar 2006 15:38:30 +0000 (15:38 +0000)]
do not write comment if the file handle has been closed

14 years agoremoved a space character in recording of a comment sent with a move introduced in...
tkaneko [Mon, 6 Mar 2006 11:13:51 +0000 (11:13 +0000)]
removed a space character in recording of a comment sent with a move introduced in rev1.31.  (before '* joseki, after '*joseki)

14 years agoadded an extension implemented by daigo moriwaki.
tkaneko [Mon, 6 Mar 2006 10:19:24 +0000 (10:19 +0000)]
added an extension implemented by daigo moriwaki.
A server now acceps a move with a comment (e.g., "+7776FU,'joseki"), and then will write the comment in the next line of the move in the game record (e.g., "+7776FU\n'* joseki\n").

14 years agofixed by kaneko-san about byoyomi
nabeken [Thu, 25 Aug 2005 13:34:54 +0000 (13:34 +0000)]
fixed by kaneko-san about byoyomi

15 years agofix remainig_time update timing
nabeken [Fri, 30 Jul 2004 16:01:11 +0000 (16:01 +0000)]
fix remainig_time update timing
use password as game_id for CSA mode client

15 years agobug fixed. "GAME *" after "GAME -" failed.
nabeken [Mon, 19 Jul 2004 04:08:37 +0000 (04:08 +0000)]
bug fixed. "GAME *" after "GAME -" failed.