Author Topic: Chess  (Read 6767 times)

0 Members and 1 Guest are viewing this topic.

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Chess
« 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!
v chess.PNG
* v chess.PNG (Filesize: 79.48 KB, Dimensions: 720x754, Views: 544)
« Last Edit: February 16, 2018, 05:59:39 pm by bplus »

Offline Pete

  • Forum Resident
  • Posts: 2361
  • Cuz I sez so, varmint!
    • View Profile
Re: Chess
« Reply #1 on: February 16, 2018, 08:43:22 pm »
I concur. That's a great looking board and board pieces. Well done!

Pete
Want to learn how to write code on cave walls? https://www.tapatalk.com/groups/qbasic/qbasic-f1/

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Chess
« Reply #2 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

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Chess
« Reply #3 on: February 16, 2018, 10:31:12 pm »

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Chess
« Reply #4 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.
* engine-interface.txt (Filesize: 25.6 KB, Downloads: 337)
« Last Edit: February 16, 2018, 11:16:24 pm by bplus »

Offline _vince

  • Seasoned Forum Regular
  • Posts: 422
    • View Profile
Re: Chess
« Reply #5 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.
* chess.zip (Filesize: 378.83 KB, Downloads: 314)

Offline bplus

  • Global Moderator
  • Forum Resident
  • Posts: 8053
  • b = b + ...
    • View Profile
Re: Chess
« Reply #6 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!

Offline TempodiBasic

  • Forum Resident
  • Posts: 1792
    • View Profile
Re: Chess
« Reply #7 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.pngand Babaschess http://www.babaschess.net/screenshots.aspare 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/getting-started/using-the-stockfish-engine
http://support.stockfishchess.org/kb/advanced-topics/uci-protocol
http://wbec-ridderkerk.nl/html/UCIProtocol.html
https://ucichessengine.wordpress.com/2011/03/16/c-chess-engine-uci/
https://ucichessengine.wordpress.com/description/

I hope these links can be useful for you.
Programming isn't difficult, only it's  consuming time and coffee