|
| HANGERMAN GBFNBJBHGTF | |
| | Author | Message |
---|
FUCKBAD Admininator
Number of posts : 2083 Age : 30 Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character:
| Subject: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 5:12 am | |
| this is my code for hangman it is not done yet i enjoy procedures - Quote :
- procedure easy
var letter6:string var letter5:string var letter4:string var letter3:string var letter2:string var letter:string
put "What is your first guess?"
get letter if (letter = "d") or (letter="o") or (letter="g") then put "Correct!" put letter elsif (letter="a") or (letter="b") or (letter="c") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="k") or (letter="l") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="t") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawfilloval (50, 60, 10, 10, 4) end if
get letter2 if (letter2 = "d") or (letter2="o") or (letter2="g") then put "Correct!" put letter2 elsif (letter2="a") or (letter2="b") or (letter2="c") or (letter2="e") or (letter2="f") or (letter2="h") or (letter2="i") or (letter2="j") or (letter2="k") or (letter2="l") or (letter2="m") or (letter2="n") or (letter2="p") or (letter2="q") or (letter2="r") or (letter2="s") or (letter2="t") or (letter2="u") or (letter2="v") or (letter2="w") or (letter2="x") or (letter2="y") or (letter2="z") then put "Wrong!" drawline (49, 20, 49, 50, 4) end if
get letter3 if (letter3 = "d") or (letter3="o") or (letter3="g") then put "Correct!" put letter3 elsif (letter3="a") or (letter3="b") or (letter3="c") or (letter3="e") or (letter3="f") or (letter3="h") or (letter3="i") or (letter3="j") or (letter3="k") or (letter3="l") or (letter3="m") or (letter3="n") or (letter3="p") or (letter3="q") or (letter3="r") or (letter3="s") or (letter3="t") or (letter3="u") or (letter3="v") or (letter3="w") or (letter3="x") or (letter3="y") or (letter3="z") then put "Wrong!" drawline (49, 40, 60, 40, 4) end if
get letter4 if (letter4 = "d") or (letter4="o") or (letter4="g") then put "Correct!" put letter4 elsif (letter4="a") or (letter4="b") or (letter4="c") or (letter4="e") or (letter4="f") or (letter4="h") or (letter4="i") or (letter4="j") or (letter4="k") or (letter4="l") or (letter4="m") or (letter4="n") or (letter4="p") or (letter4="q") or (letter4="r") or (letter4="s") or (letter4="t") or (letter4="u") or (letter4="v") or (letter4="w") or (letter4="x") or (letter4="y") or (letter4="z") then put "Wrong!" drawline (35, 40, 49, 40, 4) end if
get letter5 if (letter5 = "d") or (letter5="o") or (letter5="g") then put "Correct!" put letter5 elsif (letter5="a") or (letter5="b") or (letter5="c") or (letter5="e") or (letter5="f") or (letter5="h") or (letter5="i") or (letter5="j") or (letter5="k") or (letter5="l") or (letter5="m") or (letter5="n") or (letter5="p") or (letter5="q") or (letter5="r") or (letter5="s") or (letter5="t") or (letter5="u") or (letter5="v") or (letter5="w") or (letter5="x") or (letter5="y") or (letter5="z") then put "Wrong!" drawline (35, 10, 49, 20, 4) end if
get letter6 if (letter6 = "d") or (letter6="o") or (letter6="g") then put "Correct!" put letter6 elsif (letter6="a") or (letter6="b") or (letter6="c") or (letter6="e") or (letter6="f") or (letter6="h") or (letter6="i") or (letter6="j") or (letter6="k") or (letter6="l") or (letter6="m") or (letter6="n") or (letter6="p") or (letter6="q") or (letter6="r") or (letter6="s") or (letter6="t") or (letter6="u") or (letter6="v") or (letter6="w") or (letter6="x") or (letter6="y") or (letter6="z") then put "Wrong!" drawline (49, 20, 65, 10, 4) end if
var deci1:string var deci2:string var deci3:string
if (letter="d") or (letter2="d") or (letter3="d") or (letter4="d") or (letter5="d") or (letter6="d") or (letter="o") or (letter2="o") or (letter3="o") or (letter4="o") or (letter5="o") or (letter6="o") or (letter="g") or (letter2="g") or (letter3="g") or (letter4="g") or (letter5="g") or (letter6="g") then put "You win!" elsif (letter="a") or (letter="b") or (letter="c") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="k") or (letter="l") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="t") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") or (letter2="a") or (letter2="b") or (letter2="c") or (letter2="e") or (letter2="f") or (letter2="h") or (letter2="i") or (letter2="j") or (letter2="k") or (letter2="l") or (letter2="m") or (letter2="n") or (letter2="p") or (letter2="q") or (letter2="r") or (letter2="s") or (letter2="t") or (letter2="u") or (letter2="v") or (letter2="w") or (letter2="x") or (letter2="y") or (letter2="z") or (letter3="a") or (letter3="b") or (letter3="c") or (letter3="e") or (letter3="f") or (letter3="h") or (letter3="i") or (letter3="j") or (letter3="k") or (letter3="l") or (letter3="m") or (letter3="n") or (letter3="p") or (letter3="q") or (letter3="r") or (letter3="s") or (letter3="t") or (letter3="u") or (letter3="v") or (letter3="w") or (letter3="x") or (letter3="y") or (letter3="z") or (letter4="a") or (letter4="b") or (letter4="c") or (letter4="e") or (letter4="f") or (letter4="h") or (letter4="i") or (letter4="j") or (letter4="k") or (letter4="l") or (letter4="m") or (letter4="n") or (letter4="p") or (letter4="q") or (letter4="r") or (letter4="s") or (letter4="t") or (letter4="u") or (letter4="v") or (letter4="w") or (letter4="x") or (letter4="y") or (letter4="z") or (letter5="a") or (letter5="b") or (letter5="c") or (letter5="e") or (letter5="f") or (letter5="h") or (letter5="i") or (letter5="j") or (letter5="k") or (letter5="l") or (letter5="m") or (letter5="n") or (letter5="p") or (letter5="q") or (letter5="r") or (letter5="s") or (letter5="t") or (letter5="u") or (letter5="v") or (letter5="w") or (letter5="x") or (letter5="y") or (letter5="z") or (letter6="a") or (letter6="b") or (letter6="c") or (letter6="e") or (letter6="f") or (letter6="h") or (letter6="i") or (letter6="j") or (letter6="k") or (letter6="l") or (letter6="m") or (letter6="n") or (letter6="p") or (letter6="q") or (letter6="r") or (letter6="s") or (letter6="t") or (letter6="u") or (letter6="v") or (letter6="w") or (letter6="x") or (letter6="y") or (letter6="z") then put "You lose!" drawfilloval (50, 60, 10, 10, 4) drawline (49, 20, 49, 50, 4) drawline (49, 40, 60, 40, 4) drawline (35, 40, 49, 40, 4) drawline (35, 10, 49, 20, 4) drawline (49, 20, 65, 10, 4)
end if end easy
var lev:string
put "Hangman!" put "" put "INSTRUCTIONS:" put "You have six guesses to figure out the word. Enter a letter for all five, but don't use the same letter twice!" put "" put "For easy level, enter e. For medium, enter m." get lev if (lev="e") or (lev="E") then easy elsif (lev="m") or (lev="M") then medium
MED
procedure medium
var letter6:string var letter5:string var letter4:string var letter3:string var letter2:string var letter:string
put "What is your first guess?"
get letter if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawfilloval (50, 60, 10, 10, 4) end if
get letter2 if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter2 elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawline (49, 20, 49, 50, 4) end if
get letter3 if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter3 elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawline (49, 40, 60, 40, 4) end if
get letter4 if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter4 elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawline (35, 40, 49, 40, 4) end if
get letter5 if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter5 elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawline (35, 10, 49, 20, 4) end if
get letter6 if (letter = "b") or (letter="l") or(letter="a") or(letter="c") or(letter="k") or (letter="c") or (letter="a") or(letter="t") then put "Correct!" put letter6 elsif (letter="d") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") then put "Wrong!" drawline (49, 20, 65, 10, 4) end if
var deci1:string var deci2:string var deci3:string
if (letter="d") or (letter2="d") or (letter3="d") or (letter4="d") or (letter5="d") or (letter6="d") or (letter="o") or (letter2="o") or (letter3="o") or (letter4="o") or (letter5="o") or (letter6="o") or (letter="g") or (letter2="g") or (letter3="g") or (letter4="g") or (letter5="g") or (letter6="g") then put "You win!" elsif (letter="a") or (letter="b") or (letter="c") or (letter="e") or (letter="f") or (letter="h") or (letter="i") or (letter="j") or (letter="k") or (letter="l") or (letter="m") or (letter="n") or (letter="p") or (letter="q") or (letter="r") or (letter="s") or (letter="t") or (letter="u") or (letter="v") or (letter="w") or (letter="x") or (letter="y") or (letter="z") or (letter2="a") or (letter2="b") or (letter2="c") or (letter2="e") or (letter2="f") or (letter2="h") or (letter2="i") or (letter2="j") or (letter2="k") or (letter2="l") or (letter2="m") or (letter2="n") or (letter2="p") or (letter2="q") or (letter2="r") or (letter2="s") or (letter2="t") or (letter2="u") or (letter2="v") or (letter2="w") or (letter2="x") or (letter2="y") or (letter2="z") or (letter3="a") or (letter3="b") or (letter3="c") or (letter3="e") or (letter3="f") or (letter3="h") or (letter3="i") or (letter3="j") or (letter3="k") or (letter3="l") or (letter3="m") or (letter3="n") or (letter3="p") or (letter3="q") or (letter3="r") or (letter3="s") or (letter3="t") or (letter3="u") or (letter3="v") or (letter3="w") or (letter3="x") or (letter3="y") or (letter3="z") or (letter4="a") or (letter4="b") or (letter4="c") or (letter4="e") or (letter4="f") or (letter4="h") or (letter4="i") or (letter4="j") or (letter4="k") or (letter4="l") or (letter4="m") or (letter4="n") or (letter4="p") or (letter4="q") or (letter4="r") or (letter4="s") or (letter4="t") or (letter4="u") or (letter4="v") or (letter4="w") or (letter4="x") or (letter4="y") or (letter4="z") or (letter5="a") or (letter5="b") or (letter5="c") or (letter5="e") or (letter5="f") or (letter5="h") or (letter5="i") or (letter5="j") or (letter5="k") or (letter5="l") or (letter5="m") or (letter5="n") or (letter5="p") or (letter5="q") or (letter5="r") or (letter5="s") or (letter5="t") or (letter5="u") or (letter5="v") or (letter5="w") or (letter5="x") or (letter5="y") or (letter5="z") or (letter6="a") or (letter6="b") or (letter6="c") or (letter6="e") or (letter6="f") or (letter6="h") or (letter6="i") or (letter6="j") or (letter6="k") or (letter6="l") or (letter6="m") or (letter6="n") or (letter6="p") or (letter6="q") or (letter6="r") or (letter6="s") or (letter6="t") or (letter6="u") or (letter6="v") or (letter6="w") or (letter6="x") or (letter6="y") or (letter6="z") then put "You lose!" drawfilloval (50, 60, 10, 10, 4) drawline (49, 20, 49, 50, 4) drawline (49, 40, 60, 40, 4) drawline (35, 40, 49, 40, 4) drawline (35, 10, 49, 20, 4) drawline (49, 20, 65, 10, 4)
end if end medium | |
| | | Arcade Gordon Freeman
Number of posts : 1727 Age : 32 Place you are be : BEHIND YOU Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character: 5
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 5:14 am | |
| i never thought i'd see the day when i could say "wow this is more ridiculously overcomplicated than c++" | |
| | | CAPRICIOUS BigBCC
Number of posts : 1524 Age : 32 Place you are be : FREEDOM Warnings : Registration date : 2008-08-13
Charrie Displayz lol Character: lffgfgfgfgdaferg
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 5:41 am | |
| | |
| | | FUCKBAD Admininator
Number of posts : 2083 Age : 30 Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character:
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 6:04 am | |
| you download turing and copy the code. then paste the code into turing. then press run. | |
| | | Infidel Composer
Number of posts : 533 Age : 31 Place you are be : WildKat Cafè Warnings : Registration date : 2008-06-11
Charrie Displayz lol Character: Lulwhut.
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 9:11 am | |
| Is it sad that I understand what most of that means? But dear god long procedure is long. | |
| | | Oozing Anus Gordon Freeman
Number of posts : 1530 Age : 30 Place you are be : in the middle of nowhere Warnings : Registration date : 2008-02-18
Charrie Displayz lol Character: 69
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 12:27 pm | |
| Are you serious, Chris? That's easy shit. xD Much easier than C++. Danni, it's okay, I understand it all, too. xDD | |
| | | Brosie HAAAAAAAAAAAAAX!!
Number of posts : 1018 Age : 29 Warnings : Registration date : 2008-06-11
Charrie Displayz lol Character: 5
| Subject: Re: HANGERMAN GBFNBJBHGTF Tue Apr 27, 2010 4:46 pm | |
| ...still have no clue what any of this means. | |
| | | FUCKBAD Admininator
Number of posts : 2083 Age : 30 Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character:
| Subject: Re: HANGERMAN GBFNBJBHGTF Wed Apr 28, 2010 2:49 am | |
| I WOULD LIKE SOME ADVICE IT IS DUE TOMORROW PLZ TO HALP ;-; | |
| | | Arcade Gordon Freeman
Number of posts : 1727 Age : 32 Place you are be : BEHIND YOU Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character: 5
| Subject: Re: HANGERMAN GBFNBJBHGTF Wed Apr 28, 2010 6:33 am | |
| - Assie wrote:
- Are you serious, Chris?
That's easy shit. xD Much easier than C++.
Danni, it's okay, I understand it all, too. xDD i'm mainly referring to the fact that she has to specify different if's for each individual letter when in c++ you can just use a vector as the word and a for loop to iterate through the vector to check for the letter that was input (as in my wheel of fortune) imo that's much simpler FOR PEOPLE THAT DON'T SPEAK PROGRAMMING: shit sux | |
| | | Oozing Anus Gordon Freeman
Number of posts : 1530 Age : 30 Place you are be : in the middle of nowhere Warnings : Registration date : 2008-02-18
Charrie Displayz lol Character: 69
| Subject: Re: HANGERMAN GBFNBJBHGTF Wed Apr 28, 2010 7:52 am | |
| - Robot SexBeard wrote:
- I WOULD LIKE SOME ADVICE IT IS DUE TOMORROW PLZ TO HALP ;-;
What do you need help with? - fixed cb wrote:
- Assie wrote:
- Are you serious, Chris?
That's easy shit. xD Much easier than C++.
Danni, it's okay, I understand it all, too. xDD i'm mainly referring to the fact that she has to specify different if's for each individual letter
when in c++ you can just use a vector as the word and a for loop to iterate through the vector to check for the letter that was input (as in my wheel of fortune)
imo that's much simpler
FOR PEOPLE THAT DON'T SPEAK PROGRAMMING:
shit sux OIC. Yeah that is easier, but with this you can mainly copypasta it all anyway. xD | |
| | | FUCKBAD Admininator
Number of posts : 2083 Age : 30 Warnings : Registration date : 2008-01-19
Charrie Displayz lol Character:
| Subject: Re: HANGERMAN GBFNBJBHGTF Wed Apr 28, 2010 7:55 am | |
| well i need to make it so you have to enter d, o and g so you can win, not just one. that's the main thing, the rest is just non-mandatory shit that functions. not nice functioning, functions nonetheless. | |
| | | Nighting HAAAAAAAAAAAAAX!!
Number of posts : 1271 Age : 30 Warnings : Registration date : 2008-01-26
| Subject: Re: HANGERMAN GBFNBJBHGTF Wed Apr 28, 2010 1:38 pm | |
| I DO NOT KNOW WHAT IS GOING ON SO I WISH YOU LUCK AND I SHALL GIVE YOU CHRIS, . | |
| | | CAPRICIOUS BigBCC
Number of posts : 1524 Age : 32 Place you are be : FREEDOM Warnings : Registration date : 2008-08-13
Charrie Displayz lol Character: lffgfgfgfgdaferg
| Subject: Re: HANGERMAN GBFNBJBHGTF Thu Apr 29, 2010 4:57 am | |
| just cause that guy's black doesn't mean he's chris wow you're a fucking racist | |
| | | Sponsored content
| Subject: Re: HANGERMAN GBFNBJBHGTF | |
| |
| | | | HANGERMAN GBFNBJBHGTF | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |