When I can access my personal computer (I'm currently working from home, so I have both PCs trade places and I usually do so on week-ends), I will be able to retrieve the ".vdk" that holds the source code for the adventure game I had written, back in 1986 (… I even think there was a short note about...
Fascinating insight (and so obvious one you've thought about it). Yes, I can say I really spent a lot of time considering things before tackling the actual programming. But the strangest thing here is… that this was about 36 years ago and I still remember it! I guess it is because I spent so much t...
"How to manage objects in an adventure game written in BASIC?" Once again, this is achieved through arrays. Say your game has: . 99 locations (variable LO=99) . 50 objects (variable IT=50) You would need 3 arrays to store the needed information for all your objects: . array IL for the location item...
During my attic find I also found a BASIC printout of Flipper (Othello/Reversi clone). I've always been intrigued with the AI needed for a game like that - when I get a chance I might try to analyse it. The computer AI was pretty good - it beat my handheld Othello computer back in the day. Hello Jo...
… It was just that there was useless code there: 440 IF OL(J)<>CP THEN 460 :ELSE 450 450 PRINT OJ$(J) 460 NEXT J From the moment OL(J)=CP , Line 450 will be executed. No need to make any explicit reference to the following line (450). ELSE is only an optional statement in "IF" instructions. And I'm ...
The early adventure games from Dragon Data were written in BASIC, as were the Salamander Software ones. Some were generated as machine-code files, such as Adventure International's/Scott Adams'. Many BASIC adventure games were created in "tokenised" BASIC and might be not so easy to read because a l...
The only other way of doing it would be to break into Colossal Cave Adventure and get a glimpse of the listing, that woud involve more knowledge than I have though. … And that would only be possible if the game was written in BASIC. But I Believe such tools generate kind of assembly code (or pseudo...