The Magnet 36: Subscriber-only content
Tiny chess, cool free fonts, AI portrait photography, and more
TINY CHESS
The Kilobyte’s Gambit
I’m a terrible chess player. I always leave myself wide open to having pieces taken. I don’t know what my problem is. So, I’m not a good person to evaluate the skill level of this tiny bit of code that plays chess. The entire program is just 1024 bites of JavaScript. I tried playing a few times and it beat me every time. H…