Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

32 lines (22 loc) · 1.28 KB

#SEM2.0

A fully automated electromagnetic chessboard.
You can play chess on our laptop and the pieces get moved for you on the board.

Arduino

We used an Arduino Uno Board with 2 Stepper Motors and a Electromagnet.
The actual chessboard was made out of wood with a few lego components.
Chess pieces were handmade and fitted with a neodymium magnet underneath.

#SEM2.0 VIDEO

Python

Dependencies

  • PySerial: Allows us to communicate to the Ardduino board via a serial port.
  • PyGame: Used to render all graphical components onto the screen.
  • Stockfish: Used as the main Chess Engine.
  • PyChess: Used to validate moves executed by human players.
  • Python 2.7: As the PyChess packages were only available for 2.7 we could not upgrade to Python 3.

The Program

The main program is written in Python 2.7 and uses Pygame as a Graphic's Engine.
Version 2.0.12-Works has all dependencies disabled and solely relies on Python 2.7 and Pygame to be installed.
Version 2.0.12 will instead require PySerial, PyChess and the Stockfish API.

#SEM2.0 Home View

#SEM2.0 Chess View

#SEM2.0 Options View