ファイル情報

Rev. 2d5cda5e9dde331e37d58133b688a8b2c6295345
サイズ 1,451 バイト
日時 2017-09-03 14:40:39
作者 Daigo Moriwaki
ログメッセージ

Merge remote-tracking branch 'origin/master' into wdoor-stable

内容

  1. = Shogi-server project
  2. The Shogi-server project develops Shogi-server, a rating tool and so on.
  3. == Shogi-server
  4. Shogi-server is a server that implements the Server Protocol Ver 1.2.1 defined
  5. by Computer Shogi Association (CSA[http://www.computer-shogi.org/index_e.html])
  6. in order for computer shogi players to play games.
  7. === Pre-requires
  8. Ruby 2.1 or later
  9. For Debian,
  10. $ sudo aptitude install ruby
  11. === Install
  12. $ git clone git://git.sourceforge.jp/gitroot/shogi-server/shogi-server.git
  13. The following files are required to run Shogi-server:
  14. - shogi-server
  15. - shogi_server.rb
  16. - shogi_server/**/*.rb
  17. === Run
  18. Examples:
  19. Run the server with CSA Protocol V1.2 or later
  20. $ ./shogi-server hoge 4000
  21. With CSA Protocol V1.1.2 or before
  22. $ ./shogi-server --max-moves 0 --least-time-per-move 1 hoge 4000
  23. See others written in the 'shogi-server' file.
  24. == Other tools
  25. See documents at the head of each source file.
  26. * mk_rate
  27. * mk_html
  28. * showgame
  29. == Tests
  30. Run the server
  31. $ ./shogi-server hoge 4000
  32. Run test cases
  33. $ cd test
  34. $ ruby TC_ALL.rb
  35. Tested:
  36. - ruby 2.0.0p481 (2014-05-08 revision 45883) [universal.x86_64-darwin13]
  37. Finished in 55.025733 seconds.
  38. 383 tests, 1370 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
  39. 100% passed
  40. 6.96 tests/s, 24.90 assertions/s
  41. ruby TC_ALL.rb 1.97s user 0.34s system 4% cpu 55.424 total
  42. ---
  43. 2015-01-17 Daigo Moriwaki <daigo at debian dot org>
旧リポジトリブラウザで表示