I put the chess game engine by Stefano Maragò in the chessboard graphics demonstration program.
Using the computer opponent it too slow to be useful, but the moves can be entered also manually.
It could be worth to adapt the assembly code version. ..
chessboard demo is now interactive
Re: chessboard demo is now interactive
It's pretty much midnight, so of course I've decided go down the road of reading about these tiny chess engines....
Is the slowness a compiler or an algorithm issue?
Is the slowness a compiler or an algorithm issue?
Re: chessboard demo is now interactive
I'd blame the algorithm. It is recursive, so the memory could not suffice too.
Don't spend too much time on it, Stefano has a ready made version in Z80 assembly for a serious game which fits in a 1k zx81
Don't spend too much time on it, Stefano has a ready made version in Z80 assembly for a serious game which fits in a 1k zx81