Ask HN: What could I build to make your life a little easier?
9 points by uint9_t 1d ago 10 comments
Ask HN: What is the state of support for mutable torrents?
5 points by absurdistan 3d ago 1 comments
Solving a Childhood Mystery: How BASIC Games Learned to Win
3 greentec 0 7/20/2025, 3:03:56 PM sublevelgames.github.io ↗
Hello HN!
As a teenager, I had this BASIC Computer Games book with a game called HEXAPAWN. Lines 900-970 were just cryptic numbers that made no sense to me. Finally figured it out decades later.
Turns out it's machine learning from the 1970s! The AI learns by literally deleting bad moves from an array. After losing ~10 games, it becomes unbeatable. Just 19 board states, no neural networks, no fancy algorithms.
Martin Gardner (who wrote about it) also mentioned MENACE - a tic-tac-toe learning machine made with matchboxes and beads. Same principle, physical implementation.
Made a JavaScript version if anyone wants to try. The AI really does get better.
No comments yet