David Ahl's Basic Computer Games Ported to C
27 points by theanonymousone 3 hours ago | 9 comments
firesteelrain 2 hours ago
Jeff Atwood (of Stack Overflow) started a similar effort a few years ago albeit in multiple programming languages. It was pre AI. I am sure AI would make short order of many of the conversions with very little tokens however that was never the point.
reply9NRtKyP4 47 minutes ago
Anyone remember GORILLA.BAS and NIBBLES.BAS? I learnt to program by fiddling with these.
replyThrowawayR2 29 minutes ago
> "These haven't been tested, validated, debugged, or verified! ... I used Google Anti-Gravity to convert the programs from GW-BASIC to 'C'"
replyDoesn't seem like there's anything of interest here. It's just tossing existing code into a LLM.
jhack 9 minutes ago
Which then gets tossed into a compiler and who knows what kind of code that thing spits out. That's why I only support projects written in assembly by real programmers.
replyiamflimflam1 9 minutes ago
Shame really as it would have been relatively straightforward forward to build in an agent loop that actually tests the games.
replyWillAdams 2 hours ago
Of all the books which I've thought need to be re-written as Literate Programs:
replyhttp://literateprogramming.com/
These are at the top of the list.
HocusLocus 31 minutes ago
I liked maze games with sprites and CHASE.bas (like later PAC-MAN) was a first glimpse of coded transactional survival, though you usually didn't survive long. Great terminal game as was GORILLAS.bas. For printers/fanfold paper BANNER.bas was a functional matrix font generator. They were the days of SNOOPY
calendars on various RPG/COBOL/DartmothBASIC/FortranIV/77 platforms.
replyThis treasured Volume and the whole series https://archive.org/details/bestofcreativeco00ahld was where a lot or it came together. Fun book and a Merry Prankster vibe from the Furry Freak Bros cover art, fun times for 13 year olds!
Some of the games used features that were not supported on most microcomputer BASICs but you could type most of them into a TRS-80 or Apple ][ without changes and you could run all of them with minor modifications. Fun times!