Hello.
I am making project - Automated chess.
Under my chessboard there are 2 axis which move electromagnet. Also, under chessboard there are 64 reed switches which give information to arduino about status on chessboard. I need to program some algorithm which decides whats the best move for computer (Based on signals from reed switches which is 8x8 matrix in Arduino) and algorithm which move pieces between other pieces.
Do you have any sugestions how to reach my goal? Literally everything might be helpful so if you have any ideas, let me know.
Comparable chess computers have been sold already in the 80s, so it should be doable nowadays with an Arduino. Unfortunately I don't know which algorithms have been used with the little RAM and ROM available at that time.
Thanks for links, I have analyzed every automated chess project These chess by Michale Guerero are great but he isn't solving problem of choosing the best move for computer which is.. hard? I think hard, yes.
I am thinking about alternative - there is a laptop connected to Arduino. On laptop I can see actual chessboard and move pieces (e.g. by typing location where my piece is and location where I want to put my piece). After typing target location electromagnet moves this piece avoiding collisions with other pieces. Can Arduino work in real time with my laptop? How can I make some visualization on my laptop and send data there from Arduino and also send back data to Arduino which piece and where should be moved? Thanks for your ideas.