Results are out! Find what you need...fast. Get quick advice or join the chat
x

Unlock these great extras with your FREE membership

  • One-on-one advice about results day and Clearing
  • Free access to our personal statement wizard
  • Customise TSR to suit how you want to use it

Hangman program BBC basic

Announcements Posted on
Find your uni forum to get talking to other applicants, existing students and your future course-mates 27-07-2015
  1. Offline

    ReputationRep:
    A program made in BBC Basic for a hangman program that has three lives and lets the user input words at the end of the program
  2. Offline

    ReputationRep:
    Edit: I may have been a bit hasty. See posts below
  3. Offline

    ReputationRep:
    That's interesting, I'll see if I can make one in c++

    (Original post by alex-hs)
    Brilliant. What do you want, a medal?
    What's with the attitude?
  4. Offline

    ReputationRep:
    (Original post by RyanT)
    What's with the attitude?
    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
  5. Offline

    ReputationRep:
    (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
    Pretty much this.

    User's first post; no accompanying text... smells like some weird spambot to me.
  6. Offline

    ReputationRep:
    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
  7. Offline

    ReputationRep:
    Out of interest, how did you test that? Some BBC Micro emulator or somethin'?
  8. Offline

    ReputationRep:
    (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
    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.
  9. Offline

    ReputationRep:
    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
  10. Offline

    ReputationRep:
    (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
    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.
  11. Offline

    ReputationRep:
    (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.
    No offence taken, will probably use Pastebin next time, some of the feedback on here has been helpful though so its not all bad
  12. Offline

    ReputationRep:
    (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.
    This is very helpful advice, Thanks!
    I'll try and incorporate this

Reply

Submit reply

Register

Thanks for posting! You just need to create an account in order to submit the post
  1. this can't be left blank
    that username has been taken, please choose another Forgotten your password?
  2. this can't be left blank
    this email is already registered. Forgotten your password?
  3. this can't be left blank

    6 characters or longer with both numbers and letters is safer

  4. this can't be left empty
    your full birthday is required
  1. By joining you agree to our Ts and Cs, privacy policy and site rules

  2. Slide to join now Processing…

Updated: May 7, 2012
TSR Support Team

We have a brilliant team of more than 60 Support Team members looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Poll
Have you ever posted a picture of your food on social media?
Results and Clearing

Results are coming...

No sweat. Here's all you need to make sure you're ready

new on tsr

Join the American Society

Whether you're from the USA or just love it!

Useful resources
x

Think you'll be in clearing or adjustment?

Hear direct from unis that want to talk to you

Get email alerts for university course places that match your subjects and grades. Just let us know what you're studying.

Quick reply
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.