No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythonwindowsphpgamebathyscaphegui翻訳comegattwitterframeworkbtronvb.net計画中(planning stage)testdomarduinodirectxpreviewerゲームエンジン



最近のWikiの更新 (Recent Changes)

No changes on this wiki.


サイドバー (Side Bar)


  • R/O
  • R/O (HTTP)
  • R/W (SSH)
  • R/W (HTTPS)

shogi-server source

Release Files

No download files.

Recent Commits

Rev.TimeAuthorMessage RSS
34bcc76d2020-12-30 14:48:47Mizargame wip
e549c6df2020-12-14 20:42:55MizarHandle timeout checks when executing KeepAlive and Space ...
f1c843552020-12-14 20:42:55MizarCheck for :timeout often 60秒おきに空行を送信して接続を維...
53787ee12020-12-14 20:42:55Mizarhide server recv timeout log from console
23b86a812020-12-14 20:42:55Mizarignore second select (for windows issue)
360533de2020-12-14 20:42:55Mizarwork for Windows wip
5c8ecd512020-12-14 20:42:55Mizartcp_keepalive
a0a5c3ca2020-12-14 20:42:55Mizarlisten ipv4/ipv6
103acd972020-12-12 22:54:49TadaoYamaoka開始局面対応
21b07a802020-12-12 21:49:44TadaoYamaoka開始局面対応
= Shogi-server project

The Shogi-server project develops Shogi-server, a rating tool and so on.

== Shogi-server

Shogi-server is a server that implements the Server Protocol Ver 1.2.1 defined
by Computer Shogi Association (CSA[http://www.computer-shogi.org/index_e.html]) 
in order for computer shogi players to play games.   

=== Pre-requires

Ruby 2.1 or later

For Debian,

  $ sudo aptitude install ruby

=== Install

  $ git clone git://git.sourceforge.jp/gitroot/shogi-server/shogi-server.git

The following files are required to run Shogi-server:

  - shogi-server
  - shogi_server.rb
  - shogi_server/**/*.rb

=== Run


Run the server with CSA Protocol V1.2 or later

  $ ./shogi-server hoge 4000

With CSA Protocol V1.1.2 or before

  $ ./shogi-server --max-moves 0 --least-time-per-move 1 hoge 4000

See others written in the 'shogi-server' file.

== Other tools

See documents at the head of each source file.

* mk_rate
* mk_html
* showgame

== Tests

Run the server

  $ ./shogi-server hoge 4000

Run test cases

  $ cd test
  $ ruby TC_ALL.rb


- ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
  Finished in 55.025733 seconds.
  383 tests, 1370 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
  100% passed
  6.96 tests/s, 24.90 assertions/s
  ruby TC_ALL.rb  1.97s user 0.34s system 4% cpu 55.424 total
2015-01-17  Daigo Moriwaki <daigo at debian dot org>

Latest updated Tickets

No tickets

About Chamber Wiki

Welcome to OSDN Wiki system. Here is your chamber Wiki space.

Check Wiki Guide (English) to refer syntax and functions.