Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hpsaturn/esp32-chess-engine
Chess engine for the ESP32 microcontroller
https://github.com/hpsaturn/esp32-chess-engine
arduino chess esp32 platformio
Last synced: about 2 months ago
JSON representation
Chess engine for the ESP32 microcontroller
- Host: GitHub
- URL: https://github.com/hpsaturn/esp32-chess-engine
- Owner: hpsaturn
- License: gpl-3.0
- Created: 2022-10-02T17:17:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-03T10:08:55.000Z (over 2 years ago)
- Last Synced: 2024-10-25T21:16:16.154Z (3 months ago)
- Topics: arduino, chess, esp32, platformio
- Language: C++
- Homepage:
- Size: 115 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESP32 Chess Engine
Chess coprocessor was migrated from a stand alone Arduino file to PlatformIO. The original [source code](https://www.hackster.io/Sergey_Urusov/esp32-chess-engine-c29dd9) 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](https://www.hackster.io/Sergey_Urusov/esp32-chess-engine-c29dd9), but you can launch it in your esp32 and via serial console or device monitor you able to run commands like `stop`, `game`, `back`.
![esp32 chess new game](images/esp32_chess_engine.jpg)
## Build and upload
Please install first [PlatformIO](http://platformio.org/) 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](http://git-scm.com/) 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:
```bash
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:
```bash
pio run --target upload
```Alternatively, for the esp32s3 you can run the following commands:
```bash
pio run -e esp32s3 --target upload
```# Credits
The initial source code is from Sergey Urusov on [HacksterIO](https://www.hackster.io/Sergey_Urusov/esp32-chess-engine-c29dd9)