Re:BASIC Computer Games Book, published in 1978
by kd0amg on Thursday November 04, 2010 @08:51AM
(#1868620)
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.
I also added graphical capability to the Life game. Seeing a Life plot unfold over the entire screen in pixels was breathtaking.
I always liked the dorky guy with his arm around the robot, like he finally has a pal who understands him. "Mom, you said I should make new friends. So that's just what I did! Meet Gregtron. Man, me and Gregtron are gonna do everything together! Go camping and play ball and... Wait, that's not what you meant?"
Even better were the robot comics inside the book. There's something grim and vaguely cyberpunk about them. "Oh yeah? Well, your mother has knobby tires..."