4 ms·
That was a blast! I'll echo the sentiment that the pieces were hard to differentiate, but the aesthetic was awesome. Seems like it only really looks out one mo
by CamelCaseName 6y ago
That was a blast! I'll echo the sentiment that the pieces were hard to differentiate, but the aesthetic was awesome.
Seems like it only really looks out one move ahead, taking whatever has the most value, otherwise protecting.
Thanks for sharing!
...now imagine what you could do with 2048 bytes!
- mattround 6y agoIt looks 4 steps ahead with a points system for pieces & positions, but has no sense of broader strategy. (The original code looked ahead 3 moves, but browsers & devices have improved a lot in the last 11 years)