QB64.org Forum

Active Forums => Programs => Topic started by: bplus on February 16, 2018, 05:23:22 pm

Title: Chess
Post by: bplus on February 16, 2018, 05:23:22 pm
Hi v,

I tried out your chess program. Looks great! both piece design and board colors, maybe even Tempodbasic (hello :D ) would like the colors! I like the size too.

What is the difference in the pieces labeled 80 and 320?

I think you could use _LIMIT too because the raggity fan in my new computer kicked on shortly after I started the run.

PS I forgot to mention important feature, it is drag and drop!
Title: Re: Chess
Post by: Pete on February 16, 2018, 08:43:22 pm
I concur. That's a great looking board and board pieces. Well done!

Pete
Title: Re: Chess
Post by: bplus on February 16, 2018, 10:02:53 pm
And now for some proper (and Open Source) Chess AI, so I am told and so they say!

https://stockfishchess.org
Title: Re: Chess
Post by: bplus on February 16, 2018, 10:31:12 pm
https://www.google.com/search?client=opera&q=syzygy+definition&sourceid=opera&ie=UTF-8&oe=UTF-8

you'll see why if you download stockfish chess engines
Title: Re: Chess
Post by: bplus on February 16, 2018, 10:50:17 pm
Dang this is probably meant to run in packaged GUI's but here is command line stuff:
http://support.stockfishchess.org/kb/advanced-topics/uci-protocol

I can see shelling commands out to the Chess Engine, less sure how to get commands from engine to GUI program.

I recall from 90's that batch files could take output from a program and store it in a file. Use to get directory listings that way.
Title: Re: Chess
Post by: _vince on August 26, 2018, 04:46:07 pm
The chess discussion took place in the chatroom and i uploaded my chess UI on binbin.  I never responded to that thread since we were talking in chat.  Bplus uploaded the zip in that thread but later removed it for some reason, not on my request.  I attached the original upload.

This is the drag and drop interface but has no rule enforcement.  I have another one with rule enforcement but it's incomplete, i can post that if requested.
Title: Re: Chess
Post by: bplus on August 26, 2018, 04:59:42 pm
If I removed it, it was probably because I thought it was not really mine to post, specially if you weren't posting follow up replies here at  ORG.

Thanks for helping clear this up!
Title: Re: Chess
Post by: TempodiBasic on August 26, 2018, 07:40:36 pm
Hi Bplus,
Hi V

I can see a very classical cool interface/GUI of chess program.
Good !

IMHO if your goal is to use a chess engine like Stockfish/Crafty/Rebel/Fritz it is foundamental to build a library for UCI protocol.
Arena  http://www.playwitharena.com/common/pic/a206_1280.png (http://www.playwitharena.com/common/pic/a206_1280.png)and Babaschess http://www.babaschess.net/screenshots.asp (http://www.babaschess.net/screenshots.asp)are two programs with interface for chess engine.

For UCI protocol you can read here
http://support.stockfishchess.org/kb/advanced-topics/uci-protocol (http://support.stockfishchess.org/kb/advanced-topics/uci-protocol)
http://support.stockfishchess.org/kb/getting-started/using-the-stockfish-engine (http://support.stockfishchess.org/kb/getting-started/using-the-stockfish-engine)
http://support.stockfishchess.org/kb/advanced-topics/uci-protocol (http://support.stockfishchess.org/kb/advanced-topics/uci-protocol)
http://wbec-ridderkerk.nl/html/UCIProtocol.html (http://wbec-ridderkerk.nl/html/UCIProtocol.html)
https://ucichessengine.wordpress.com/2011/03/16/c-chess-engine-uci/ (https://ucichessengine.wordpress.com/2011/03/16/c-chess-engine-uci/)
https://ucichessengine.wordpress.com/description/ (https://ucichessengine.wordpress.com/description/)

I hope these links can be useful for you.