Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Akalabeth or Ultima 0 RPG, commented and labeled = hackable!
#1
If anyone wants to play with the code for the early adventure game Akalabeth by Richard Garriott & learn how to make a dungeons and dragons style role playing game (or customize it), I cleaned up the spaghetti code somewhat 
  • broke up all multi-statement lines
  • all IF statements have a matching END IF
  • got rid of line numbers, any GOTO / GOSUB destinations instead use a friendly label
and added inline comments that describe what most of the lines are doing (from jtauber's in-depth analysis). 

The map graphics could do with some updating to classic tile graphics (or even roguelike ascii or codepage 437) and the interface could be made friendlier, but as is, it presents a workable framework for learning how to make a basic RPG & dungeon crawler. (I'd eventually like to extract the Ultima 1 BASIC source code from a disk image and get it working in QB64PE & similarly cleaned up + commented, anyone want to help? :-)

Anyway this is the game that came before Ultima 1. See what you can do with it...

(I guess it's too long to post in a code window, so attaching...)

UPDATE: I located where I got the original source code 
https://www.instructables.com/Simple-adventure-game/

The code comments came from
Akalabeth Main Game File | Game File Hacking by jtauber

The original Apple II code can be found at
https://archive.org/details/a2_Akalabeth...Computer_a
also https://gist.github.com/jtauber/9863811

A more recent port of Akalabeth to GWBASIC can be found at:
https://nanochess.org/akalabeth.html
which includes some background on the game, and details of converting AppleSoft BASIC to GW-BASIC (which for the most part runs in QB64PE).


Attached Files
.bas   akala22.bas (Size: 102.68 KB / Downloads: 23)
Reply




Users browsing this thread: 2 Guest(s)