destiny team mailing list archive
-
destiny team
-
Mailing list archive
-
Message #00271
Re: Hangman
Never mind on that "bug" I mentioned. Turns out I had stray images in the
folder, and the filter pulls all of them in. =p
I did fix a bug in regards to the answer line not being properly cleared
between questions, though.
Zach J. Elko
Ball State University Unified Technology Support
Certified Hardware & Software Technician
On Tue, Apr 13, 2010 at 9:27 PM, Zach Elko <zachelko@xxxxxxxxx> wrote:
> 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
>
References
-
Hangman
From: Zach Elko, 2010-04-14