OSDN Git Service

shogi-server/shogi-server.git
11 years agoNot have milliseconds logged.
beatles [Wed, 8 Oct 2008 14:09:28 +0000 (14:09 +0000)]
Not have milliseconds logged.

11 years ago* [shogi-server]
beatles [Wed, 8 Oct 2008 13:54:27 +0000 (13:54 +0000)]
* [shogi-server]
  - Ruby 1.8.7 (or later) must be used. Ruby 1.8.6 is not supported.
  - Daemon mode is available.
  - shogi_server/piece_ky.rb is again merged with
    shogi_server/piece.rb, then has been removed.
  - Added a test case, TC_usi.rb.

11 years ago* Added TC_usi.rb.
beatles [Wed, 8 Oct 2008 13:38:20 +0000 (13:38 +0000)]
* Added TC_usi.rb.
* Sorted by file name.

11 years agoInitial file
beatles [Wed, 8 Oct 2008 13:38:19 +0000 (13:38 +0000)]
Initial file

11 years agoRemoved deprecated test cases.
beatles [Wed, 8 Oct 2008 13:38:19 +0000 (13:38 +0000)]
Removed deprecated test cases.

11 years agoFixed a bug. League::save has been deprecated.
beatles [Wed, 8 Oct 2008 13:38:18 +0000 (13:38 +0000)]
Fixed a bug. League::save has been deprecated.

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

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

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

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

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

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

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

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

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

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

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

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

11 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

11 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

11 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

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

11 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)

11 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

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

11 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

11 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)

11 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)

11 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

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

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

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

11 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

11 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

11 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'

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

11 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'

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

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

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

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

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

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

11 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'

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

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

11 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

11 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

11 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

11 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

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

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

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

11 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

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

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

11 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>

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

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

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

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

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

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

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

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

11 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

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

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

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

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

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