esp32-chess-engine

Chess engine for the ESP32 microcontroller

GPL-3.0 License

Stars
3
Committers
1

ESP32 Chess Engine

Chess coprocessor was migrated from a stand alone Arduino file to PlatformIO. The original source code is from Sergey Urusov. I put it here to try to improve it and fix some issues.

Usage

The full story and description of this engine for now is hosted in HacksterIO, but you can launch it in your esp32 and via serial console or device monitor you able to run commands like stop, game, back.

Build and upload

Please install first PlatformIO open source ecosystem for IoT development compatible with Arduino IDE and its command line tools (Windows, MacOs and Linux). Also, you may need to install git in your system. After install that you should have the command line tools of PlatformIO. Please test it with pio --help.

Clone the source code:

git clone https://github.com/hpsaturn/esp32-chess-engine.git
cd esp32-chess-engine

Then please run the next commands for build and upload the firmware:

pio run --target upload

Alternatively, for the esp32s3 you can run the following commands:

pio run -e esp32s3 --target upload

Credits

The initial source code is from Sergey Urusov on HacksterIO