Try it out, post what you think! I apologize if the code is sloppy and the words are lame
Try it out, post what you think! I apologize if the code is sloppy and the words are lame
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
Not too bad. It's pretty good.
I have a few suggestions for you, though.
1) do a check to make sure the player hasn't already made that guess. you can do this by storing the answers in an array then check to see if the guess has been made by going through a simple for loop.
2) when the player finally guesses the right word display the whole word on the spaces then do the "ending" part.
3) ask the user to pick a difficulty level then dynamically create the array for the answers based on the difficulty.
4) randomly choose the word you're going to include. also, include a lot more words.
then again only do these if you're really interested in making the game. but for a good start out game the game was fun. good job.
Thanks, I'll atempt all those!
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
it didnt work too good for me it said i was right when i wasnt and was slow but better than i could have done
If you're interested, here is the updated game. Fixed some things and added more words. Source code is also cleaner. Should be better
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
Doh
I am against the teaching of evolution in schools. I am also against widespread
literacy and the refrigeration of food.
have it read a .txt file containing a list of words
No I DIDN'T steal my name from Misro$ofts OS, it's pure coincidence.
The lines around my name (-) are only there because i needed a name over the 3 character minimum letter limit