PICAXE Chess

imitchel

New Member
Hi All

A few years ago I ported Peter Jennings Microchess to the PICAXE as a fun project to learn about Microchess and how it would perform on the PICAXE. It was a direct translation from 6502 code to PICAXE basic, essentially emulating the 6502 so it could run the Microchess code. You can get details of that project here: http://ecite.utas.edu.au/99940

Recently I got interested in 6502 Atomchess by Óscar Toledo G (details here: https://github.com/nanochess/Atomchess-6502) and did a similar conversion from the Atomchess 6502 code to PICAXE basic. I runs pretty slowly on the PICAXE.

I decided to write my own chess program in native PICAXE basic using some ideas from Atomchess but also incorporated valid chess move detection (i.e., no moves that can leave the king in check). Like Nanochess there is no castling or en passant captures. It runs on X2 processors and I tested the program on an AXE401. It only uses the USB terminal for I/O as a demo of how the chess engine works. You can download the code from here: https://github.com/ianm8/PICAXE-Chess

The program as it stands is restricted to X2 processors since it uses the pushram/popram instructions to enable function recursion.

Have fun!

Cheers, Ian
 

erco

Senior Member
Welcome Ian! Sounds like quite a project. Although I'm not a chess player, I appreciate your passion, enthusiasm and willingness to share your hard work. Also, it's great to see a non-noob new member coming in storming out of the gate, setting the pace and showing how it's done!

Of course noobs are always welcome too. :)
 
Top