Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)