bazz1tv / ayumi

My lovely IRC bot :sparkles: :turtle: :mailbox: :sparkles:
0 stars 1 forks source link

add game "Hangman" #18

Open bazz1tv opened 8 years ago

bazz1tv commented 8 years ago

What does a game of hangman feel like?

First the player starts the game @hangman start

the bot then prints out dashes for each letter of the word (phrases will not be acknowledged yet). Let's say the word is "bat"

Ayumi prints:

- - -

When incorrect guessed words exist - they will be printed as well, alongside.

A user guesses a letter (must be ensured by bot) (the letter is downcased): @guess w

incorrect letter scenario (not gameover) Ayumi says "Incorrect!!" The hangman is "incremented" and then draw to screen...

o
- - - [w]

you see now there is a section printed for already guessed letters ;)


Order of Hangman "pieces"

\o/
 |
\o/
 |
/ \

And the noose should be printed too - but I won't for sake of avoiding spam.