RubyShogi 0.1

Discussion of anything and everything relating to chess playing software and machines.

Moderators: hgm, Rebel, chrisw

JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

RubyShogi 0.1

Post by JohnWoe »

I've been developing my Shogi engine for a while. Also Xiangqi engine is ready too. But I will release that later.
I couldn't fit this Shogi engine into my Shuriken variant engine. So I made a new engine.

- Xboard protocol
- Sapeli like mgen

Image

Install:

Code: Select all

gem install RubyShogi
Run:

Code: Select all

./ruby_shogi -xboard
source code: https://github.com/SamuraiDangyo/RubyShogi
gem: https://rubygems.org/gems/RubyShogi

It can beat a random mover.

Code: Select all

[Event "Computer Chess Game"]
[Site "pc"]
[Date "2019.08.15"]
[Round "-"]
[White "RubyShogi 0.2"]
[Black "RubyShogi 0.2 random"]
[Result "1-0"]
[TimeControl "40/300"]
[Variant "shogi"]
[Annotator "1. +0,00"]

1. Sd2 {+0,00/10} Rd8 2. Kf2 {+0,00/21 10} b6 3. g4 {+0,00/16 9} f6 4. c4
{+0,00/11 9} Sf8 5. Bxf6 {+0,00/17 9} Sc8 6. Bxe7= {+0,01/22 8} a6 7. Bxf8=
{+0,01/14 8} Kxf8 8. Rg2 {+0,00/18 8} B@c1 9. Sxc1 {+0,01/13 8} d6 10. S@b4
{+0,00/19 7} Sd7 11. Sh2 {+0,01/19 7} Gg9 12. La2 {+0,01/17 7} Se8 13. B@e7
{+0,01/15 7} Kxe7 14. Gde1 {+0,00/18 6} B@a5 15. Sxa5 {+0,00/19 6} axa5 16.
B@b4 {+0,00/18 6} S@i4 17. ixi4 {+0,01/18 6} Sf9 18. Gee2 {+0,01/12 6} Kf8
19. d4 {+0,00/22 5} La6 20. Sc2 {+0,00/18 5} Rc8 21. Bxd6 {+0,01/21 5} Kf7
22. h4 {+0,00/16 5} c6 23. Bxg9+ {+0,01/17 5} a4 24. f4 {+0,00/9 5} Sg8 25.
+Bf8 {+17,00/10 4} Kf6 26. G@f5# {+50,00/20 4}
{Xboard adjudication: Checkmate} 1-0
JohnWoe
Posts: 491
Joined: Sat Mar 02, 2013 11:31 pm

Re: RubyShogi 0.1

Post by JohnWoe »

RubyShogi 0.24

+ Bug fixes
+ Only Xboard protocol.
+ Easiest way to use gem and install under xboard.
+ Very simple MC search.

https://rubygems.org/gems/RubyShogi/versions/0.24
Ferdy
Posts: 4833
Joined: Sun Aug 10, 2008 3:15 pm
Location: Philippines

Re: RubyShogi 0.1

Post by Ferdy »

JohnWoe wrote: Tue Oct 15, 2019 10:17 am RubyShogi 0.24

+ Bug fixes
+ Only Xboard protocol.
+ Easiest way to use gem and install under xboard.
+ Very simple MC search.

https://rubygems.org/gems/RubyShogi/versions/0.24
Could you convert rubyshogi to exe file for windows?