This program is capable with all Arduino / ESP32 / RP2040 / STM32 boards.
The program uses a simple algorithm which I learned from some Python book.
- Check if the AI can win in one move.
- Check if the player can win in one move.
- Choose an empty corner.
- Choose an empty side.
- Choose the center.