返回
RCreddit.com
24
·开发者社区 · RSS

In 1995 I made a DOS game about shooting green mutant elephants. This weekend Claude resurrected it from the original source

查看原文
推荐理由

这条记录涉及编程工具或代码能力更新,适合开发者评估工作流变化和可复用价值。

AI 摘要

作者在高中时期使用 QuickBasic 为 DOS 制作了一款名为“Preben”的游戏,其中包含射击绿色变异大象的场景。这款游戏是作者与朋友合作完成的,朋友负责像素图形,作者负责编程。最近,作者利用 AI 在一个下午的时间内成功复活了这款游戏。AI 解析了原始源代码,提取了像素完美的精灵图,恢复了游戏计时,并添加了带有服务器端反作弊功能的全球高分榜。…

Back in high school, I was trying to teach myself QuickBasic for DOS. I had a 500 page brick of a manual in English, droning on and on about Booleans and other stuff I had no idea what meant. But somehow, out of that thick book, I made small game. It was a collaboration with my friend Jesper - he made the graphics (pixel by pixel), I made the code (bug by bug). We named the protagonist Preben - a Danish name which, at the time, was the silliest name we could come up with. In order to prove himself worthy of the awesome name, he had to pass four tests. We only ever got around to building one: Preben is trapped in a cave, fighting off killer bees and mutant flying elephants, with only his trusted rifle by his side.

- Extracted the original sprites pixel-perfect from 1995 BLOAD memory dumps (raw VGA memory snapshots, including the exact PUT coordinates)

- Recovered the original timing from the BIOS-tick game loop (something I remember being very proud of having made, since it made the game run at constant speed, no matter the speed of your CPU).

- Added a global highscore with server-side anti-cheat. My 1995 self, who stored highscores in plain-text, would not have believed this sorcery.

Thirty years ago, this game took me months to build, now it was re-created in an afternoon. Fun times indeed - then and now 😄

主题标签Claude开源代码
原始关键词#resurrected#elephants#original#shooting#weekend
查看原文reddit.com
单一来源,暂无交叉验证
In 1995 I made a DOS game about shooting green mutant elephants. This weekend Claude resurrected it from the original source · BuzzRadr