1 Attachment(s)
the greatest game ever programmed......
So, I took mullet's suggestion (a couple pages back now) and decided to try and learn basic python by way of hangman.
Here is a newbie's attempt at hangman in python.
It meets all of mullet's specs, with the number of guesses excepted.
you run the program
python hangman.txt 'word or phrase for game'
Then just follow the instructions.
the one exception I made was that he wanted:
Quote:
The user has 2x as many guesses as there are letters in the word to guess the word.
I won't tell you why I made the change, but if you play the game, you'll see soon enough.
I welcome any and all comments/suggestions/complaints about my program. Since I'm a newbie at this, I consider it all constructive criticism.
enjoy!
-nathan
p.s. oh yeah, and I think my next project will be a program that will keep track of a darts game of cricket for 2 or 3 players. we were playing darts the other night, and could've used it. so, if anyone else is up for it, that's my idea for a 'newbie challenge' maybe I'll get *****ious and learn some gui stuff too......