Hangman program BBC basic
From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.
| Announcements | Posted on | |
|---|---|---|
| TSR launches Learn Together! - Our new subscription to help improve your learning | 16-05-2013 | |
-
Re: Hangman program BBC basic
That's interesting, I'll see if I can make one in c++

What's with the attitude?(Original post by alex-hs)
Brilliant. What do you want, a medal? -
Re: Hangman program BBC basicProbably just wondering why on earth the OP would just dump a load of random code in this forum - and by the look of it, code that was written about 30 years ago(Original post by RyanT)
What's with the attitude?
-
Re: Hangman program BBC basicPretty much this.(Original post by davros)
Probably just wondering why on earth the OP would just dump a load of random code in this forum - and by the look of it, code that was written about 30 years ago
User's first post; no accompanying text... smells like some weird spambot to me. -
Re: Hangman program BBC basicIt might have been good to put a comment with the code in your first post.(Original post by ogkush)
Would like to just clear this up, made this program and wanted my friend to see it and he asked me to put it on this site. Sorry for any inconvenience
There are also [ CODE ] and [ /CODE ] tags that can be used around the code which can help formatting.
And wow, It's been a while since I've seen BBC Basic. Brilliant machines in the day, And still amongst the fastest booting machines around. I still have a BBC master around. I'm not sure how many of the game disks I've collected still work though.
As for the code. There are probably a few things you could do to improve it. Maybe read the words from a disk file - that way it would be easy to add words. Things like the getting word lengths could be done in a for loop. Or just get the length for the chosen word. You might also be able to make use of subroutines for some of the tasks as well instead of all the goto's. -
Re: Hangman program BBC basic
The version is used is here: http://www.bbcbasic.co.uk/bbcwin/download.html
Its my first real program in BBC Basic so its still not as efficient as I would like, I'm still working on it -
Re: Hangman program BBC basicAh, ok, apologies for being so blunt then. Though saying something to that effect in the original post would probably have been helpful(Original post by ogkush)
Would like to just clear this up, made this program and wanted my friend to see it and he asked me to put it on this site. Sorry for any inconvenience
I'd recommend pastebin.com if you just want to share code. -
Re: Hangman program BBC basicNo offence taken, will probably use Pastebin next time, some of the feedback on here has been helpful though so its not all bad(Original post by alex-hs)
Ah, ok, apologies for being so blunt then. Though saying something to that effect in the original post would probably have been helpful
I'd recommend pastebin.com if you just want to share code.
-
Re: Hangman program BBC basicThis is very helpful advice, Thanks!(Original post by mfaxford)
It might have been good to put a comment with the code in your first post.
There are also [ CODE ] and [ /CODE ] tags that can be used around the code which can help formatting.
And wow, It's been a while since I've seen BBC Basic. Brilliant machines in the day, And still amongst the fastest booting machines around. I still have a BBC master around. I'm not sure how many of the game disks I've collected still work though.
As for the code. There are probably a few things you could do to improve it. Maybe read the words from a disk file - that way it would be easy to add words. Things like the getting word lengths could be done in a for loop. Or just get the length for the chosen word. You might also be able to make use of subroutines for some of the tasks as well instead of all the goto's.
I'll try and incorporate this
