Is a chess engine from scratch possible on a aurduino board possible?

What I would like to achieve is a program that manages A) a liquid crystal display for inputting your move and outputting the bot's move. B) a bot that can identify all the moves and make a somewhat competent legal move, think 300-1000 elo. You would have your own board and would play yours and the bot's move. Do you think it's possible with just a Uno R3?

Hello traffic_sign

Welcome to the best Arduino forum ever :slight_smile:

Take a search engine of you choice and ask the WWW for 'chess +arduino ' to get some ideas.

The 2k RAM of the UNO R3 is a challenge but there are attempts like

I don’t think you’ll get 1000 elo though

Might be more possible than it seems, the specs on some of the old radio shack chess computers have very little ram or program storage (generally no flash memory back then).

With the rather copious flash memory and using PROGMEM, probably could compile some move look up tables or something to reduce ram? Just a guess.

A quick google search shows the 1996 Radio Shack chess computer model 2250XL as having 32K ROM (equivalent to the modern flash for program storage), 1K ram, 10MHz 8-bit processor. Not too far off the specs of an UNO, but not sure how the difference in computer architecture and instruction set would affect program size or speed. The older chess computers seemed to only have 512 bytes of ram.

I'm sure someone has tried chess on an UNO at some point.

you can try it there

type e2e4 in the serial monitor for example to move pawn from E2 to E4
see the UNO think and answer.

1 Like

This one has buttons...

Nice

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.