Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / text adventure game

Author
Message
pirate
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location: u.s.a
Posted: 17th Mar 2008 22:25 Edited at: 19th Mar 2008 18:38
sorry,
i pulled the code...made it too fast and had some errors....

thanks, pirate
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 18th Mar 2008 22:37
Pirate, please do not mark your threads as [tutorial] when they are not tutorial matter! New users will assume that this is an acceptable way to code, when it really isn't.

1. There is no indentation, this is bad presentation practise
2. There are numerous bad coding practises throughout, some of which would cause the program to crash on a larger scale (exiting a DO loop with a GOTO, putting subroutines in the main game loop).
3. Some of the code is plain wrong. For example, if you enter an unrecognised command, the screen won't SYNC.

There are many more issues with this code.

Maybe a better approach would be for you to post your code for review from other users, to assist in your own progression with programming.
pirate
18
Years of Service
User Offline
Joined: 18th Apr 2006
Location: u.s.a
Posted: 19th Mar 2008 09:36 Edited at: 19th Mar 2008 09:58
o.k. i will not post any more code...

thanks, pirate

Login to post a reply

Server time is: 2024-11-25 05:15:18
Your offset time is: 2024-11-25 05:15:18