[shogi-server] Give more penalty on assigning matches with same players. (Closes #38178)
[shogi-server] shogi_server/pairing.rb: Attempt more trials LeastDiff attempts more trials, depending of a number of players to be matched.
[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)
[shogi-server] - shogi_server/pairing.rb: Impose penalty on matches between likely kin players.
Changed log messages and levels.
[shogi-server] - shogi-server/shogi_server/pairing.rb: Modified comment for LeastDiff match.
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
Simplify estimated rate of unrated players (less memory). * [shogi-server] - pairing.rb, player.rb: Simplify estimated rate of unrated players (less memory).
* [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
Merge remote-tracking branch 'origin/wdoor-stable' Conflicts: changelog
Fixed a bug which was found in a long test.
[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.
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.
- 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.
Renewed year of copyright notice in each file.
Array#choice has been changed to Array#sample in Ruby 1.9.3
* [shogi-server] - The server can now provide multiple floodgate modes such as floodgate-900-0 and floodgate-3600-0.
- shogi_server/pairing.rb: Added a new class: StartGameWithoutHumans. This tries to make pairs trying to avoid a human-human match. This is now enabled instread of the previous class: StartGame.
Experimantal implementation for specified games, codenamed Buoy.
Removed a redundant log message