I found the perfect starter project to translate to Kyan Pascal. In Creative Computing’s Basic Computer Games there is a game starting on page 78, called Hamurabi.
The features of Hamurabi, that make it useful to this project is the overall simplicity of the program. The BASIC code takes up just two pages. It doesn’t require any file handling or any fancy string handling. This is good thing, since I haven’t used Pascal since the middle 80’s.
I remember playing this on the computer in high school, and later in about 2008 I typed it into my emulated version of our high school computer (a DEC PDP 11/70 running RSTS/E). The code from the book just typed in and ran.
So, I have Pascal up and running, and yesterday, I did my first “Hello World” program. I quickly modified it to a “Hamurabi” program. It looks like this:
Future references shall be to Pascal Hamurabi.



Leave a Reply