Chess Robot - Graphical User Interface

The graphical user interface brings all modules together and allows the player to check the state of the game as well as configure certain aspects of it. The interface was made using PySimpleGUI which is a python library that allows to easily create custom Graphical User Interfaces.


This is a companion discussion topic for the original entry at https://community.robotshop.com/robots/show/chess-robot-graphical-user-interface

:white_check_mark: Update: FreeSimpleGUI Support Added

I’ve updated the project to use FreeSimpleGUI instead of the original PySimpleGUI, which now requires a 30-day trial.

This change keeps the project fully free and open-source, with no GUI limitations.

:toolbox: Setup Instructions

  1. Create a virtual environment (recommended):

    python3 -m venv chess
    source chess/bin/activate

  2. Install the dependencies:

    pip install -r requirements.txt

:page_facing_up: requirements.txt (updated)

altgraph==0.17
pefile==2019.4.18
numpy==1.22.0
PyInstaller==5.13.1
pyserial==3.4
python-chess==0.30.1
gTTS==2.3.1
pygame==2.1.3
opencv-python==4.5.5.64
FreeSimpleGUI==5.2.0.post1

:test_tube: Tested On:

  • Raspberry Pi 5 (16GB RAM)
  • Raspberry Pi OS Bookworm
  • Python 3.8
  • OpenCV camera input
  • FreeSimpleGUI GUI

It Works,

MovLab

1 Like

Hello @MovLab,

Welcome to the community!

I’m glad you liked the project :slight_smile:

Thank you for taking the time to look for a free GUI alternative. I just updated the repo with that info.