HIARCS Chess Forums Forum Index HIARCS Chess Forums
World Championship winning computer chess software program & downloads for chess database, analysis and play on PC, Mac and iPhone
 
 QuestionsQuestions   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Private MessagesPrivate Messages   Log inLog in 

Electronic chessboard sending moves to GUI

 
Post new topic   Reply to topic    HIARCS Chess Forums Forum Index -> Programming Discussions
View previous topic :: View next topic  
Author
Mrkrx



Joined: 20 Feb 2016
Posts: 1

PostPosted: Sat Feb 20, 2016 12:00 pm    Post subject: Electronic chessboard sending moves to GUI Reply with quote

Hello everyone!
I built electronic chessboard using arduino and i am having trouble with sending moves to chess GUI. Are there any toturials or someone could tell me how to do it? My chessboard can gather information like:
Keypad: playground.arduino. cc/Code/Keypad
8x8 matrix: sites.google. com/site/bergersprojects/reedcb/programming
Help would be much appreciated!
Cheers!
Back to top
View user's profile Send private message
Mikako
Member


Joined: 01 Mar 2016
Posts: 3
Full Name: Mikako
Location: Russia

PostPosted: Wed Mar 02, 2016 9:23 am    Post subject: Electronic chessboard sending moves to GUI Reply with quote

I'm using firefox on linux and no # of messages show but there are no new messages to show so perhaps that is why.
Back to top
View user's profile Send private message Send e-mail AIM Address
h.g.muller
Member


Joined: 09 Jan 2009
Posts: 22

PostPosted: Mon May 09, 2016 9:34 am    Post subject: Re: Electronic chessboard sending moves to GUI Reply with quote

Mrkrx wrote:
I built electronic chessboard using arduino and i am having trouble with sending moves to chess GUI. Are there any toturials or someone could tell me how to do it?

Chess GUIs are designed to interact with chess engines. So the usual way to handle this is to disguise the driver program for your board as an engine. That means you would have to make it print something like "move e2e4" (WB protocol) or "bestmove e2e4"(UCI) when something is moved from e2 to e4.

Chess engines are not supposed to print the moves the opponent is playing, and which is sent to them by the GUI, though. So you would have to take care that your driver knows which side it is playing for (e.g. through the "new", "force" and "go" commands of WB protocol), and suppress printing of the moves of a side it is not playing for. (Which the user presumably will have to perform on the board, after which the board would detect them.) You could also have the driver pay attention to the moves sent to it by the GUI, and suppress printing when a user plays that on the board (assuming he merely performs the move the GUI instructed him to do).
Back to top
View user's profile Send private message
AxelFusco



Joined: 07 Sep 2016
Posts: 1

PostPosted: Fri Sep 09, 2016 3:05 pm    Post subject: Reply with quote

Hi...i am a new user here. I am not experienced in Arduino development but as per my knowledge you would have to take care that your driver knows which side it is playing for , and suppress printing of the moves of a side it is not playing for. You could also have the driver pay attention to the moves sent to it by the GUI.
Back to top
View user's profile Send private message
h.g.muller
Member


Joined: 09 Jan 2009
Posts: 22

PostPosted: Fri Sep 09, 2016 6:15 pm    Post subject: Reply with quote

That should be no problem. The GUI tells to a Chess engine which side it is playing for.
Back to top
View user's profile Send private message
DougBlanch



Joined: 25 Jan 2017
Posts: 1

PostPosted: Wed Jan 25, 2017 10:29 am    Post subject: Arena Chess GUI Help/Info :) Reply with quote

Check out the Arena Chess GUI Help/Info Smile

http://www.playwitharena.com/
Back to top
View user's profile Send private message
NoellEagan
Member


Joined: 17 Oct 2017
Posts: 2

PostPosted: Tue Oct 17, 2017 3:28 pm    Post subject: Reply with quote

Hi...i am a new user here. As per my knowledge you would have to take care that your driver knows which side it is playing for , and suppress printing of the moves of a side it is not playing for. You could also have the driver pay attention to the moves sent to it by the GUI.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    HIARCS Chess Forums Forum Index -> Programming Discussions All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP