OSDN Git Service

shogi-server/shogi-server.git
15 years ago* [shogi-server]
beatles [Sun, 18 May 2008 15:05:29 +0000 (15:05 +0000)]
* [shogi-server]
  - Last game results (win or lose) of x1 players were not
    available on the next game. This issue has been fixed.
    Thanks to Tomoyuki Kaneko for debugging.
  - For draw games, "'rating" line in a .csa file was
    wrong (meaningless). This issue has been fixed.
  - Factored out GameResult classes

15 years agoFollowed the directory tree change caused by the repository's move from CVS to Subversion
beatles [Sun, 18 May 2008 15:05:28 +0000 (15:05 +0000)]
Followed the directory tree change caused by the repository's move from CVS to Subversion

15 years agoSet svn properties $ svn propset svn:keywords 'Id Author Date Rev'
beatles [Sun, 18 May 2008 09:11:13 +0000 (09:11 +0000)]
Set svn properties $ svn propset svn:keywords 'Id Author Date Rev'

15 years agoRemoved the test file
beatles [Fri, 16 May 2008 14:43:13 +0000 (14:43 +0000)]
Removed the test file

15 years agoThe utility programs have been moved under 'shogi-server'
beatles [Fri, 16 May 2008 14:41:34 +0000 (14:41 +0000)]
The utility programs have been moved under 'shogi-server'

15 years agonew directory
beatles [Fri, 16 May 2008 14:40:28 +0000 (14:40 +0000)]
new directory

15 years agoTest commit to see if a commit mail is sent.
beatles [Fri, 16 May 2008 13:06:45 +0000 (13:06 +0000)]
Test commit to see if a commit mail is sent.

15 years agoTest commit to see if a commit mail is sent.
beatles [Fri, 16 May 2008 12:51:06 +0000 (12:51 +0000)]
Test commit to see if a commit mail is sent.

15 years ago* [news]
beatles [Fri, 16 May 2008 12:22:32 +0000 (12:22 +0000)]
* [news]
  - The repository has been converted from CVS to Subversion.

15 years agoChanged the directory name
beatles [Fri, 16 May 2008 12:20:14 +0000 (12:20 +0000)]
Changed the directory name

15 years agoChanging the directory name
beatles [Fri, 16 May 2008 12:19:56 +0000 (12:19 +0000)]
Changing the directory name

15 years agoThe 'test' directory has been moved under 'shogi-server'
beatles [Fri, 16 May 2008 12:14:36 +0000 (12:14 +0000)]
The 'test' directory has been moved under 'shogi-server'

15 years ago- Give default values to BasicPlayer, which fixed undefined
beatles [Wed, 14 May 2008 01:52:45 +0000 (01:52 +0000)]
- Give default values to BasicPlayer, which fixed undefined
  method error in Pairing.

15 years ago* [shogi-server]
beatles [Wed, 14 May 2008 01:22:33 +0000 (01:22 +0000)]
* [shogi-server]
  - Floodgate's thread could cause an error when players.yaml was
    cleared by another program (mk_rate). This issue has been
    fixed.

15 years agoUse a system method to encode URLs
beatles [Sun, 11 May 2008 04:01:21 +0000 (04:01 +0000)]
Use a system method to encode URLs

15 years agodo not use delete_least_rate_player, since it seemed cause an error "undefined method...
tkaneko [Sat, 10 May 2008 14:05:07 +0000 (14:05 +0000)]
do not use delete_least_rate_player, since it seemed cause an error "undefined method <=> for nil:NilClass" in paring in floodgatemode around 2008-05-10 22:30

15 years agoshow backtrace in case of exception, as suggested by yoshiki
tkaneko [Sat, 10 May 2008 14:02:18 +0000 (14:02 +0000)]
show backtrace in case of exception, as suggested by yoshiki

15 years agoadd trip in hyper-links to show-player.cgi, as well as the name of programs
tkaneko [Sat, 10 May 2008 14:01:18 +0000 (14:01 +0000)]
add trip in hyper-links to show-player.cgi, as well as the name of programs

15 years ago- The server crashed by an undefined method error.
beatles [Fri, 9 May 2008 18:20:51 +0000 (18:20 +0000)]
- The server crashed by an undefined method error.
  This issue has been fixed.

15 years ago* [shogi-server]
beatles [Fri, 9 May 2008 17:59:42 +0000 (17:59 +0000)]
* [shogi-server]
- The server could not recognize uchifuzume as an illegal move.
  This bug has been fixed.

15 years ago* [shogi-server]
beatles [Mon, 5 May 2008 12:37:09 +0000 (12:37 +0000)]
* [shogi-server]
- .csa files will be located in a sub directory such as
  "2008/05/05/*.csa". Thease days, we have many games in a day.
  This change will help users browse a file list.

15 years agomore friendly color and display of last modified time
beatles [Sat, 3 May 2008 07:25:58 +0000 (07:25 +0000)]
more friendly color and display of last modified time

15 years agoShow players who have accessed in the last 30 minutes with
beatles [Sat, 3 May 2008 07:11:55 +0000 (07:11 +0000)]
Show players who have accessed in the last 30 minutes with
different colors.

15 years agoWhen YSS was not rated on the wdoor mode, wrong rate24 scores
beatles [Tue, 22 Apr 2008 04:05:25 +0000 (04:05 +0000)]
When YSS was not rated on the wdoor mode, wrong rate24 scores
were displayed. This issue has been fixed. Now YSS absence
results in "N/A".

15 years agoThe half-life period is now configurable.
beatles [Mon, 21 Apr 2008 10:17:32 +0000 (10:17 +0000)]
The half-life period is now configurable.
ex $ ./mk_rate --half-life 14 --half-life-ignore 7 <records>

16 years agoRenamed variables (@id) since they caused Ruby's warning.
beatles [Sat, 12 Apr 2008 04:20:21 +0000 (04:20 +0000)]
Renamed variables (@id) since they caused Ruby's warning.

16 years agoImproved a way to handle diferred moves (2008-03-24's change),
beatles [Fri, 11 Apr 2008 03:59:45 +0000 (03:59 +0000)]
Improved a way to handle diferred moves (2008-03-24's change),
based on Tomoyuki Kaneko's patch.

16 years ago* [shogi-server]
beatles [Tue, 1 Apr 2008 14:15:23 +0000 (14:15 +0000)]
* [shogi-server]
  - An incorrect LOGIN crashed the server. This issue has been
    fixed.

16 years ago* [shogi-server]
beatles [Mon, 24 Mar 2008 14:40:53 +0000 (14:40 +0000)]
* [shogi-server]
  - Converting characters for comments in moves caused an error. This
    issue has been fixed.
  - If a player moves in the opponent's turn, it is illegal. But the
    current CSA protocol does not clearly define a way to tell so to
    the players. This shogi-server internally keeps such a move in a
    buffer and replay it when the player of the move gets his/her
    turn.

16 years agoFixed wrong determination of sennichite.
beatles [Sun, 16 Mar 2008 07:38:48 +0000 (07:38 +0000)]
Fixed wrong determination of sennichite.

16 years agoutils/players-graph.rb
beatles [Mon, 10 Mar 2008 15:00:29 +0000 (15:00 +0000)]
utils/players-graph.rb

16 years agoset yss's rating 2300
tkaneko [Sun, 9 Mar 2008 11:49:54 +0000 (11:49 +0000)]
set yss's rating 2300

16 years agouse linear regression to solve system. this is a workaround for singular matrix.
tkaneko [Sun, 9 Mar 2008 11:49:21 +0000 (11:49 +0000)]
use linear regression to solve system.  this is a workaround for singular matrix.

16 years agouse Householder transformation to solve linear systems, as suggested by daigo
tkaneko [Sun, 9 Mar 2008 11:20:56 +0000 (11:20 +0000)]
use Householder transformation to solve linear systems, as suggested by daigo

16 years agoenabled ExcludeSacrifice by default
tkaneko [Sun, 9 Mar 2008 11:19:28 +0000 (11:19 +0000)]
enabled ExcludeSacrifice by default

16 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).

16 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.

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

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

16 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.

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

16 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.

16 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.

16 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.

16 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.

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

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

16 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.

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

16 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.

16 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.

16 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.

16 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.

16 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.

16 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.

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

16 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.

16 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

16 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.

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

16 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.

16 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.

16 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.

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

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

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

16 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).

16 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).

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

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

16 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.

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

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

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

16 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.

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

17 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.

17 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.

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

17 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.

17 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.

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

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

17 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.

17 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.

17 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.

17 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]

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

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

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

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

17 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.'

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

17 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

17 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.

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

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

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

17 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.

17 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.