OSDN Git Service

shogi-server/shogi-server.git
15 years agoBack to Marshal for deep copy.
beatles [Wed, 8 Oct 2008 13:38:18 +0000 (13:38 +0000)]
Back to Marshal for deep copy.
  * previous implementatoin was wrong.
  * No longer need to avoid Marshal since only the files related with Floodgate
    are reloaded.

15 years agoDebugged the daemon mode
beatles [Tue, 7 Oct 2008 13:11:51 +0000 (13:11 +0000)]
Debugged the daemon mode

15 years agoplayers.yaml is now read only. The server no longer writes last_game_win data to...
beatles [Tue, 7 Oct 2008 13:09:10 +0000 (13:09 +0000)]
players.yaml is now read only. The server no longer writes last_game_win data to it. It will be written in another file (in future).

15 years agoDebugged Floodgate
beatles [Mon, 6 Oct 2008 03:51:36 +0000 (03:51 +0000)]
Debugged Floodgate

15 years agoDebugging Floodgate
beatles [Sun, 5 Oct 2008 15:05:13 +0000 (15:05 +0000)]
Debugging Floodgate

15 years agoRefactored shogi_server/pairing.rb
beatles [Sun, 5 Oct 2008 09:19:20 +0000 (09:19 +0000)]
Refactored shogi_server/pairing.rb

15 years agoApplied Kaneko's patch
beatles [Sun, 5 Oct 2008 09:19:19 +0000 (09:19 +0000)]
Applied Kaneko's patch

15 years ago* No loger use Dependencies.rb in Rails.
beatles [Thu, 2 Oct 2008 15:05:26 +0000 (15:05 +0000)]
* No loger use Dependencies.rb in Rails.
* Debugged write thread termination.

15 years agoRefactored.
beatles [Thu, 2 Oct 2008 04:04:11 +0000 (04:04 +0000)]
Refactored.

15 years agoUnder debugging
beatles [Wed, 1 Oct 2008 15:03:50 +0000 (15:03 +0000)]
Under debugging

15 years agoAdded Usi implementation.
beatles [Fri, 15 Aug 2008 11:09:23 +0000 (11:09 +0000)]
Added Usi implementation.

15 years agoMy works so far
beatles [Sat, 9 Aug 2008 15:31:56 +0000 (15:31 +0000)]
My works so far

15 years agoAdded a new accessor: Board#teban
beatles [Sat, 9 Aug 2008 15:31:55 +0000 (15:31 +0000)]
Added a new accessor: Board#teban

15 years agoFile.expand_path should be peformed before File.directory? check
beatles [Sat, 9 Aug 2008 15:31:54 +0000 (15:31 +0000)]
File.expand_path should be peformed before File.directory? check

15 years ago$logger may or may not be a file
beatles [Mon, 30 Jun 2008 15:18:46 +0000 (15:18 +0000)]
$logger may or may not be a file

15 years ago* [shogi-server]
beatles [Mon, 30 Jun 2008 15:09:47 +0000 (15:09 +0000)]
* [shogi-server]
  - Added a new option --player-log-dir, which allows users to log
    messages that are received or sent to the wire.

15 years ago- If a player, including a monitor, stuck at the time of sending
beatles [Sat, 28 Jun 2008 12:56:32 +0000 (12:56 +0000)]
- If a player, including a monitor, stuck at the time of sending
  messages to the wire, which means that the giant lock was locked,
  it might have prevented other players from processing until
  timeout occurred. This issue has been fixed. (Closes #12555)

15 years agoForgot to add the case number
beatles [Sat, 28 Jun 2008 07:17:16 +0000 (07:17 +0000)]
Forgot to add the case number

15 years ago* [shogi-server]
beatles [Sat, 28 Jun 2008 07:15:42 +0000 (07:15 +0000)]
* [shogi-server]
  - A rating comment line is now written before the first move in a
    record file instead of after the last move, which allows other
    applications watching a game to recognize players in the middle
    of the game.

15 years agoDo not raise in the case of invalid arguments
beatles [Sat, 28 Jun 2008 02:05:09 +0000 (02:05 +0000)]
Do not raise in the case of invalid arguments

15 years ago* [shogi-server]
beatles [Sat, 28 Jun 2008 01:56:29 +0000 (01:56 +0000)]
* [shogi-server]
  -  Pairing players might not have shuffled players because of
     poor shuffling algorithm. This issue has been fixed.
     (Closes: #12661)

15 years ago[players_graph.rb]
beatles [Wed, 25 Jun 2008 15:27:11 +0000 (15:27 +0000)]
[players_graph.rb]
- Check invalid arguments. (Closes: #12856)

15 years agoregular expressoin is available for matching player name
beatles [Mon, 23 Jun 2008 14:34:51 +0000 (14:34 +0000)]
regular expressoin is available for matching player name

15 years agoAdded a new option: --fixed-rate and --fixed-rate-player whose rate always results...
beatles [Mon, 23 Jun 2008 14:19:47 +0000 (14:19 +0000)]
Added a new option: --fixed-rate and --fixed-rate-player whose rate always results in that rate.

15 years agoApplied r247 changes for the test cases (spliting hte file).
beatles [Fri, 6 Jun 2008 16:24:25 +0000 (16:24 +0000)]
Applied r247 changes for the test cases (spliting hte file).
Not yet completed. I will keep on woring.

15 years ago[shogi-server]
beatles [Fri, 6 Jun 2008 15:28:11 +0000 (15:28 +0000)]
[shogi-server]
- The source has been splited to multiple sub files.
- The program now depends on rubygems and activesupport.
- The program can reload the source files on the flight, by
  sending a HUP signal to the server.
- The server log will be rotated daily.

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.

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

16 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