• R/O
  • HTTP
  • SSH
  • HTTPS

Source Tree

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Name 크기 Rev. Time Author Log Message
bin
sample
shogi_server
showgame
test
utils
.dockerignore 112 a8d6c15 2016-11-26 18:02:22 Daigo Moriwaki Fix #36822: Build a Docker image for ...
.gitignore 9 a8d6c15 2016-11-26 18:02:22 Daigo Moriwaki Fix #36822: Build a Docker image for ...
Dockerfile 433 96304e6 2018-04-07 19:24:19 Daigo Moriwaki Run shogi-server as a service, specif...
Makefile 841 f2e2a96 2018-08-25 18:52:47 Daigo Moriwaki Fix typo and delete tailing spaces
README 1.42 k 2df870d 2015-01-17 10:44:28 Daigo Moriwaki Update various documentations
changelog 53.11 k b4af839 2020-12-06 18:37:55 Daigo Moriwaki [shogi-server] Bump up the revision t...
csa-file-filter 3.46 k 1299898 2014-11-24 21:33:47 Daigo Moriwaki Ruby 2.0.0 or later is recommended to...
floodgate-0-240.conf.sample 181 13a823a 2013-12-07 13:23:54 Daigo Moriwaki * [shogi-server] - Added a new pair...
mk_game_results 4.02 k 292deec 2017-09-02 21:45:32 Daigo Moriwaki Fix mk_gamke_results so that it skip ...
mk_html 8.33 k a5eecd3 2015-01-20 22:48:29 Daigo Moriwaki [mk_html] Links to details pages for ...
mk_rate 21.89 k a9fd6e6 2017-09-02 21:55:25 Daigo Moriwaki Modify mk_rate to follow the change i...
shogi-server 15.62 k afd811e 2020-12-06 17:58:33 Daigo Moriwaki [shogi-server] Support listening on I...
shogi-server-profile 1.93 k 1299898 2014-11-24 21:33:47 Daigo Moriwaki Ruby 2.0.0 or later is recommended to...
shogi_server.rb 4.08 k b4af839 2020-12-06 18:37:55 Daigo Moriwaki [shogi-server] Bump up the revision t...
webserver 4.4 k 1299898 2014-11-24 21:33:47 Daigo Moriwaki Ruby 2.0.0 or later is recommended to...

README

= 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

Examples:

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

Tested:

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