Ported chess program to Arduino UNO
Based on: Micro-Max, version 4.8
A chess program smaller than 2KB (of non-blank source), by H.G. Muller
http://home.hccnet.nl/h.g.muller/umax4_8.c
Chessuino by Diego Cueva
Atmel ATMega644 and AVR GCC, by Andre Adrian
How to play:
open the serial console
set the baud rate to 9600
enter your move (e.g. e2e4) and press ENTER
EXPANDED TECHNICAL DETAILS
Embedded Chess Engine
The MicroMax engine is a tiny yet powerful chess engine written in C. Porting it to the Arduino (ATMega328P) requires extreme optimization of memory and CPU cycles.
- Search Algorithm: Implements Alpha-Beta Pruning and Iterative Deepening to search ahead several plies within a few seconds.
- Board Representation: Uses a compact 10x12 grid (0x88 board representation or similar) to handle move generation and legality checks with minimal RAM footprint. This project turns the Arduino into a competent standalone chess companion.
ข้อมูล Frontmatter ดั้งเดิม
title: "Arduino UNO MicroMax Chess"
description: "A chess program for Arduino UNO with a only 2k engine."
author: "rom3"
category: ""
tags:
- "chess"
- "games"
views: 7447
likes: 2
price: 1999
difficulty: "Easy"
components:
- "1x Arduino UNO"
tools: []
apps:
- "1x Arduino IDE"
downloadableFiles:
- "https://create.arduino.cc/editor/rom3/cd5ab2cf-9aba-444d-8c6e-f391637a579a"
- "https://create.arduino.cc/editor/rom3/cd5ab2cf-9aba-444d-8c6e-f391637a579a"
documentationLinks: []
passwordHash: "e771f64ab7246fb4887b541d60ba1d13ed2e8ba3fcdf82090724876d16fabffa"
encryptedPayload: "U2FsdGVkX1+QGSDNafrGekvdJbCNdZ0pKEpyGG1YxlS1nVSY9HuN+3WlXQFnismT6MTsOweaTx9Efgubj2qsECP98+l4NGmT6s5OG99L3kE="
seoDescription: "Play Chess on Arduino UNO using the MicroMax Chess program with a tiny 2k engine. Efficient chess AI for microcontrollers."
videoLinks: []
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/arduino-uno-micromax-chess-2433f3_cover.png"
lang: "en"