Author Topic: Hang Man  (Read 6246 times)

Hang Man Game
A chat game to play with friends

Description
Use the command "/hangMan Word" to create a hangman game
Use the command "/hangMan End" to end the hangman game
Use the command "/guess Word/Letter" to guess part of the word
Have fun guessing

Installation
Put Script_HangMan.zip into the Add-Ons folder in your Blockland folder.

Download
Script_HangMan.zip
« Last Edit: June 09, 2013, 10:34:27 PM by Anastasia »




Updated:
Fixed stripAllBut function
Added display for word on game end, for every condition
fixed some stuff

tons of fun
however, the community's word choice concerns me

Could use a cooldown for guesses. Fun though.

although rather complicated
you should use some dictionary api to make sure that the words are real

although rather complicated
you should use some dictionary api to make sure that the words are real
here:
https://www.dropbox.com/s/vkyey969sgmxrek/349000%20words.txt?v=0mcn
about 349000 words in this dictionary...
however, quite a few don't exist

here:
https://www.dropbox.com/s/vkyey969sgmxrek/349000%20words.txt?v=0mcn
about 349000 words in this dictionary...
however, quite a few don't exist
Quote
aaaa
aaaaa
aaaaaa
aaaaaaa
aaaaaaaa
aaaaaaaah
aaaaaaauugh
Yeah I'm pretty sure they're not legit

Yeah I'm pretty sure they're not legit
Quote
airbills
airboat
airboats
airborn
airborne
airbound
airbrained
airbrush
airbrushed
airbrushes
airbrushing
airbubble
airbuilt
airbursts
airbus
airbusses
aircheck
aircraft
aircraftman
aircrafts
aircraftsman
aircrew
meh

Please add a command so the host can know what the word is to tell whether or not it's just random letters typed in.
Also, please add an rtb pref, and possibly some ascii art in the chat?
Ex: _
      o l
       l l
       ^l
       --
Please dont make fun, it's hard to do this.

Please add a command so the host can know what the word is to tell whether or not it's just random letters typed in.
Also, please add an rtb pref, and possibly some ascii art in the chat?
Ex: _
      o l
       l l
       ^l
       --
Please dont make fun, it's hard to do this.

_____,
|    |
|    O
|   /|\
|   / \
|_________

___________.._______
| .__________))______|
| | / /      ||
| |/ /       ||
| | /        ||.-''.
| |/         |/  _  \
| |          ||  `/,|
| |          (\\`_.'
| |         .-`--'.
| |        /Y     Y\
| |       // |   | \\
| |      //  |   |  \\
| |     ')   |   |   (`
| |          ||-||
| |          || ||
| |          || ||
| |          || ||
| |         / | | \
""""""""""|_`-' `-' |"""|
|"|"""""""\ \       '"|"|
| |        \ \        | |
: :         \ \       : :
. .          `'       . .

___________.._______
| .__________))______|
| | / /      ||
| |/ /       ||
| | /        ||.-''.
| |/         |/  _  \
| |          ||  `/,|
| |          (\\`_.'
| |         .-`--'.
| |        /Y     Y\
| |       // |   | \\
| |      //  |   |  \\
| |     ')   |   |   (`
| |          ||-||
| |          || ||
| |          || ||
| |          || ||
| |         / | | \
""""""""""|_`-' `-' |"""|
|"|"""""""\ \       '"|"|
| |        \ \        | |
: :         \ \       : :
. .          `'       . .

YOU WIN THIS ROUND
inb4 port posts ascii whitespaceless-code hangman