4 ms·
I had a copy too. I remember having to tweak the code a bit to get it to work on whatever dialect of BASIC I was using at the time, but it seemed a fairly strai
by kd0amg 16y ago
I had a copy too. I remember having to tweak the code a bit to get it to work on whatever dialect of BASIC I was using at the time, but it seemed a fairly straightforward conversion. I was most fascinated by the hexapawn program. When I first saw it, I'd never heard of a program that improves itself over time. More recently, I tried generalizing the hexapawn program so it would work on larger board sizes, and the bot could play either side (or both of them). Putting a learning bot as player 2 (on 4x4 and 5x5) against a random bot, it seemed to learn in reasonable time that it could not force a win, but a learning bot as player 1 never seemed to learn to do so. Unfortunately, the learning strategy was essentially a list of bad moves to make, so it doesn't scale well to larger board sizes.