Live data from Hacker News

The best QBasic game ever?

pcworld.com

11–20 of 102 posts

Re: The best QBasic game ever?

#12
post #10

This is very, very cool. Speaking as someone who also wrote QBASIC games as a child, this evokes sharp pangs of nostalgia. I happen to have an old QBASIC book (pub 1993) next to me, and was skimming through it shortly before coming across this article. Random file I/O : OPEN filename$ FOR RANDOM AS [#]filenumber LEN=recordlength The book then goes on to provide helpful ways to guesstimate at the record length of a fi…

I remember buying this book as a kid http://www.amazon.com/Qbasic-Games-More-Fred-Sexton/dp/15652... and literally poring over it for hours (before the internet, you had a lot of free time as a kid) to see how to make neat graphic effects and games.

Re: The best QBasic game ever?

#14
post #10

This is very, very cool. Speaking as someone who also wrote QBASIC games as a child, this evokes sharp pangs of nostalgia. I happen to have an old QBASIC book (pub 1993) next to me, and was skimming through it shortly before coming across this article. Random file I/O : OPEN filename$ FOR RANDOM AS [#]filenumber LEN=recordlength The book then goes on to provide helpful ways to guesstimate at the record length of a fi…

Just realised, same indentation and no-end-character rules as python :) Although I've been writing qbasic back in the days and now writing python for fun, I've never realized this before...

Re: The best QBasic game ever?

#15
post #13

I used to write level editors for a game called monospace when I was a kid. Still a pretty cool game. Here's a gameplay video: http://www.youtube.com/watch?v=A_K6yB3OsGs

I loved that game. It's a great game with a sad story behind it. I believe the author died of cancer shortly after finishing it.

Re: The best QBasic game ever?

#16
Reminds me of 'Slumming with BASIC programmers' - http://prog21.dadgum.com/21.html

I was always amazed at the guys on CompuServe/AOL (and later GeoCities) who were writing RPG's in QBasic. I guess I was mostly impressed by the graphics they made, but they kind of proved to me you could write more than hangman or Nibbles in BASIC.

Re: The best QBasic game ever?

#17
post #8

Wow, as someone who played with making games using QBasic on a 486 as a pre-teen I am seriously impressed. I have to chuckle at requiring such a fast processor to run well though. Assuming the author doesn't rely on too many DOS game programming tricks (I remember having to peek and poke various memory locations to trigger esoteric video resolutions, etc.) it probably wouldn't be too hard to convert this to run on vi…

He's already using SDL. Plus, QBASIC64 isn't a DOS environment.

In fact, when you look at the specs for QBASIC64 then it's a little less impressive than first made out. It also makes me wander why he didn't just learn VB anyway (as the libraries in QBASIC64 would have required additional learning anyway). Even VB classic would have made more sense.

Anyhow, this at least reminds the language elitists that a language is only as powerful as the developer who's wielding it.

Re: The best QBasic game ever?

#18
post #10

This is very, very cool. Speaking as someone who also wrote QBASIC games as a child, this evokes sharp pangs of nostalgia. I happen to have an old QBASIC book (pub 1993) next to me, and was skimming through it shortly before coming across this article. Random file I/O : OPEN filename$ FOR RANDOM AS [#]filenumber LEN=recordlength The book then goes on to provide helpful ways to guesstimate at the record length of a fi…

Just realised, same indentation and no-end-character rules as python :) Although I've been writing qbasic back in the days and now writing python for fun, I've never realized this before...

Nearly every programming language follows those same indentation rules. And it's pretty common for languages not to have line termination characters too. What you're describing is pretty normal rather than a delightful coincidence.
Post reply on HN