Quiz game buzzers revisited
Aug. 17th, 2013 08:47 pmAbout a year ago I picked up a set of "Buzz! Buzzers" USB quiz buttons in a charity shop, and I've been trying to figure out how to do something useful with them.
The main idea was to build a simple setup for running a quiz game, of course. Except I got busy doing other things, no longer work in education, etc. However, I think it's still a possibility for e.g. quizzes at SF conventions, so (having decided not to give them to a charity shop) I've done some more thinking about how to make this work, preferably on my iBook G4 since that's my laptop.
The Buzz! Buzzer units have four controllers connected to a single USB cable. Each controller has a big button for "hit the button fast" rounds and four smaller buttons for multiple choice rounds. They're recognised as joystick buttons 1-5, 6-10, 11-15, and 16-20 on a Windows PC, with the first button on each controller the big one.
It turns out that the USB Overdrive X program (shareware) can detect them on a Mac and convert the button presses into keystrokes. What I want to write is a program that will either see who pressed the main controller button first, or record the first button each player presses for a multiple choice round.
My starting point for this is this article
http://lowendmac.com/lab/06/1007.html
which mentions Chipmunk Basic, a very small Basic for macs. I've installed it and it works OK, as does the sample program in the article.
What I was hoping here is that someone here might have some old Basic program listings for this purpose that I can try to adapt to work with this combination of hardware and software, since I'm no great fan of reinventing the wheel.
Anyone?
later - forgot to say that the basic program does work with the big red buttons on the controllers. I suspect that getting the multiple choice buttons to work properly won't be so easy.
The main idea was to build a simple setup for running a quiz game, of course. Except I got busy doing other things, no longer work in education, etc. However, I think it's still a possibility for e.g. quizzes at SF conventions, so (having decided not to give them to a charity shop) I've done some more thinking about how to make this work, preferably on my iBook G4 since that's my laptop.
The Buzz! Buzzer units have four controllers connected to a single USB cable. Each controller has a big button for "hit the button fast" rounds and four smaller buttons for multiple choice rounds. They're recognised as joystick buttons 1-5, 6-10, 11-15, and 16-20 on a Windows PC, with the first button on each controller the big one.
It turns out that the USB Overdrive X program (shareware) can detect them on a Mac and convert the button presses into keystrokes. What I want to write is a program that will either see who pressed the main controller button first, or record the first button each player presses for a multiple choice round.
My starting point for this is this article
http://lowendmac.com/lab/06/1007.html
which mentions Chipmunk Basic, a very small Basic for macs. I've installed it and it works OK, as does the sample program in the article.
What I was hoping here is that someone here might have some old Basic program listings for this purpose that I can try to adapt to work with this combination of hardware and software, since I'm no great fan of reinventing the wheel.
Anyone?
later - forgot to say that the basic program does work with the big red buttons on the controllers. I suspect that getting the multiple choice buttons to work properly won't be so easy.
no subject
Date: 2013-08-17 10:54 pm (UTC)no subject
Date: 2013-08-17 10:56 pm (UTC)no subject
Date: 2013-08-17 11:42 pm (UTC)The simple "which button was pressed first" thing is easy, that's pretty much the program as written, I just have to use the USB driver to map the main buttons to the right letters.
For the multiple choice thing I think I'll need to know which button was pressed, and who got there first if more than one person presses the same button. For that I think we have to enter the wonderful world of arrays. The snag is that there are 20 multiple choice buttons so it needs to be pretty fast going through the list of possible entries or it might miss the next press as it processes the first. I'm also not sure how to ignore the first button when processing the next, and so forth. It's a VERY long time since I've written any basic, or done any other programming apart from spreadsheets and HTML for that matter, so I need all the help I can get.
no subject
Date: 2013-08-18 12:08 am (UTC)no subject
Date: 2013-08-18 11:15 am (UTC)no subject
Date: 2013-08-18 11:28 am (UTC)no subject
Date: 2013-08-18 11:32 am (UTC)no subject
Date: 2013-08-18 01:18 pm (UTC)no subject
Date: 2013-08-18 01:27 pm (UTC)If you give me an idea of what educational users might be looking for, I can bear it in mind.
no subject
Date: 2013-08-18 02:53 pm (UTC)Educational users would probably want the questions and (for multiple choice) the four possible answers on screen, so that they can use it with a file of questions rather than asking them individually. I think that might be too much hassle for a convention / pub quiz, so simply saying who pressed first with the "first to press" questions, and "who pressed which button, and who was first if more than one person pressed the same button" would be enough for most purposes. Another possibility is "press the buttons to show the order of the answers" questions, e.g. the order in which four kings ruled Britain, or four presidents ran the USA, as they have in some quizzes.
I should mention that commercial software for this is quite expensive, so if you come up with something good it may be worth trying to market it - the problem there is that the USB buzzers are no longer made, the wireless ones apparently have reliability issues.
no subject
Date: 2013-08-18 02:55 pm (UTC)no subject
Date: 2013-08-18 03:00 pm (UTC)