destiny team mailing list archive
-
destiny team
-
Mailing list archive
-
Message #00270
Hangman
Hi folks,
I've added the Question Manager into Hangman. It's pretty haphazard at this
point, but it seems to work and should be good enough for us to do some
testing with. Basically, it pulls a question of the desired set, and if you
get it right, it grabs another one. If you get it wrong, you can choose to
play again in which it grabs a new question and starts over.
I'll need to add a quit button, but other than that, the main game loop is
essentially in place.
Currently, I only have 1 vocab set in the hangman folder, so you'll want to
run it like this:
- Update the entire repo (I had to add a function to Question.h)
- qmake hangman.pro
- make
- ./hangman 5
That will give you the 'Pedro' vocab set.
Let me know if you run into any issues.
I did notice a bug in which the hangman pixmap wouldn't update and it would
turn grey. It seemed to happen if I hit a few keys in fast succession, but
I'll have to check into that further.
Zach J. Elko
Ball State University Unified Technology Support
Certified Hardware & Software Technician
Follow ups