Answers.Body: <p>If you're working with python, you'll have far better luck with <a href="https://python-chess.readthedocs.io/en/latest/core.html" rel="nofollow noreferrer">python-chess</a></p>
  
  <p>It includes a fully featured core API for the rules of chess, and is also able to handle engine communication via both UCI and XBoard (along with support for opening books, endgame tablebases, chess variants, rendering, PGN files, etc.)</p>
  
  <p>This would be significantly easier than implementing the UCI protocol yourself or trying to hook into Arena.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-04T06:06:30.827Z
Answers.Text: Yes, I've already found this library. It truly is heaven sent!
Answers.UserDisplayName: DGGB
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-03T18:24:26.723Z
Answers.LastActivityDate: 2019-10-03T18:24:26.723Z
Answers.UserDisplayName: konsolas
Answers.Body: <p>See <a href="http://wiki.bitplan.com/index.php/Raspberry_PI_Chessboard_Camera" rel="nofollow noreferrer">http://wiki.bitplan.com/index.php/Raspberry_PI_Chessboard_Camera</a> for some background information and links on a related project.</p>
  
  <p>See <a href="http://wiki.bitplan.com/index.php/PlayChessWithAWebCam" rel="nofollow noreferrer">http://wiki.bitplan.com/index.php/PlayChessWithAWebCam</a> for a project that currently migrates an older solution that has an Arena interface. See e.g.</p>
  
  <p><a href="https://github.com/WolfgangFahl/play-chess-with-a-webcam/blob/master/src/uci.py" rel="nofollow noreferrer">https://github.com/WolfgangFahl/play-chess-with-a-webcam/blob/master/src/uci.py</a></p>
  
  <p>which would be the link that is most close to an answer to your question.</p>
  
  <p>I am a committer of the new fork and intend to go more general. You are invited to get in touch and file an <a href="https://github.com/WolfgangFahl/play-chess-with-a-webcam/issues/new" rel="nofollow noreferrer">issue</a> for your needs. I also think it might be worthwile to integrate your efforts and the above project. </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-24T19:19:10.387Z
Answers.LastActivityDate: 2019-10-24T19:19:10.387Z
Answers.UserDisplayName: Wolfgang Fahl
Body: <p>I'm currently developing a self-playing chessboard on which I'd like to implement an Artificial Intelligence (AI) (currently it's <a href="https://stockfishchess.org/" rel="nofollow noreferrer">Stockfish</a>. I would like to know how I could, if I can, export Arena GUI's (other ideas are welcome) to somehow position my stepper motors correctly. Does anyone know of a way?</p>
  
  <p>I'm writing the code in python.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-24T19:19:31.910Z
Comments.Text: Where is your project published as open source?
Comments.UserDisplayName: Wolfgang Fahl
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-10-28T10:30:38.440Z
Comments.Text: @WolfgangFahl I currently don't have much done as I'm mostly experimenting with Python Chess and PyGame but I'll keep you updated if you wish
Comments.UserDisplayName: DGGB
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-12-26T18:27:51.220Z
Comments.Text: you are welcome to join https://gitter.im/play-chess-with-a-webcam/community#
Comments.UserDisplayName: Wolfgang Fahl
Tags: <stockfish><programming><uci><python>
Title: How to use Arena GUI outputs in a python program
ThreadText: # How to use Arena GUI outputs in a python program
  
  (Asked by: username_0 on 2019-09-23)
  
  I'm currently developing a self-playing chessboard on which I'd like to implement an Artificial Intelligence (AI) (currently it's [Stockfish](https://stockfishchess.org/). I would like to know how I could, if I can, export Arena GUI's (other ideas are welcome) to somehow position my stepper motors correctly. Does anyone know of a way?
  
  I'm writing the code in python.
  
  **Tags:** stockfish, programming, uci, python
  
  > **Comments:**
  > **username_1**: Where is your project published as open source?  
  > **username_0**: @username_1 I currently don't have much done as I'm mostly experimenting with Python Chess and PyGame but I'll keep you updated if you wish  
  > **username_1**: you are welcome to join https://gitter.im/play-chess-with-a-webcam/community#  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2019-10-03. Score: 1
  
  If you're working with python, you'll have far better luck with [python-chess](https://python-chess.readthedocs.io/en/latest/core.html)
  
  It includes a fully featured core API for the rules of chess, and is also able to handle engine communication via both UCI and XBoard (along with support for opening books, endgame tablebases, chess variants, rendering, PGN files, etc.)
  
  This would be significantly easier than implementing the UCI protocol yourself or trying to hook into Arena.
  
  > **Comments:**
  > **username_0**: Yes, I've already found this library. It truly is heaven sent!  
  
  ---
  
  ### Answer by username_1 on 2019-10-24. Score: 0
  
  See <http://wiki.bitplan.com/index.php/Raspberry_PI_Chessboard_Camera> for some background information and links on a related project.
  
  See <http://wiki.bitplan.com/index.php/PlayChessWithAWebCam> for a project that currently migrates an older solution that has an Arena interface. See e.g.
  
  <https://github.com/username_1/play-chess-with-a-webcam/blob/master/src/uci.py>
  
  which would be the link that is most close to an answer to your question.
  
  I am a committer of the new fork and intend to go more general. You are invited to get in touch and file an [issue](https://github.com/username_1/play-chess-with-a-webcam/issues/new) for your needs. I also think it might be worthwile to integrate your efforts and the above project.
  
  
  ---
  
  