Guess-the-word

DONE

  1. Create program for guess the word.
  2. Validate input to be single letter.
  3. Draw a man by symbols to each step.
  4. Color output. Green "You Win" and red "You Loose".
  5. If repeat wrong guess don't lose try and output message.
  6. Random list ot themes. Output the name of theme and use only included words.

TODO

  1. Use sound. Windows beep or text to speech. (Not needed)
  2. Create interface by tkinter.

A MAN PRINTING

+-----------------+-----------------+-----------------+-----------------+
|  ----(01)----   |  ----(02)----   |  ----(03)----   |  ----(04)----   |
|  ________       |  ________       |  ________       |  ________       |
|  |      |       |  |      |       |  |      |       |  |      |       |
|  |              |  |      O       |  |      O       |  |      O       |
|  |              |  |              |  |      |       |  |      |       |
|  |              |  |              |  |              |  |      |       |
|  |              |  |              |  |              |  |              |
|  |              |  |              |  |              |  |              |
|  |____________  |  |____________  |  |____________  |  |____________  |
+-----------------+-----------------+-----------------+-----------------+
|  ----(05)----   |  ----(06)----   |  ----(07)----   |  ----(08)----   |
|  ________       |  ________       |  ________       |  ________       |
|  |      |       |  |      |       |  |      |       |  |      |       |
|  |      O       |  |      O       |  |      O       |  |      O       |
|  |     /|       |  |     /|       |  |     /|\      |  |     /|\      |
|  |      |       |  |    / |       |  |    / |       |  |    / | \     |
|  |              |  |              |  |              |  |              |
|  |              |  |              |  |              |  |              |
|  |____________  |  |____________  |  |____________  |  |____________  |
+-----------------+-----------------+-----------------+-----------------+
|  ----(09)----   |  ----(10)----   |  ----(11)----   |  ----(12)----   |
|  ________       |  ________       |  ________       |  ________       |
|  |      |       |  |      |       |  |      |       |  |      |       |
|  |      O       |  |      O       |  |      O       |  |      O       |
|  |     /|\      |  |     /|\      |  |     /|\      |  |     /|\      |
|  |    / | \     |  |    / | \     |  |    / | \     |  |    / | \     |
|  |     /        |  |     /        |  |     / \      |  |     / \      |
|  |              |  |    /         |  |    /         |  |    /   \     |
|  |____________  |  |____________  |  |____________  |  |____________  |
+-----------------+-----------------+-----------------+-----------------+

Guess the word

Demo