Low End Mac Reader Specials
TypeStyler For Mac OS X is Now Shipping! Download The Free Fully Functional 60 Day Tryout at www.typestyler.com
Don't install Parallels to play poker online! Poker Mac will show you how
to download and install a native Mac poker application such as Full
Tilt Poker Mac.
Compare products like desktop computers, apple laptops, apple macs, and LCD Monitors side by side! All the information and reviews to make the best purchasing decision for new mobile phones, sat nav systems, or MP3 players. The Ciao online shopping community makes searching products easy for you.
Mac Lab Report
Turn Any Old Mac into a Gameshow Buzzer
- 2006.10.07
Occasionally I have students play games simulating game shows to review for tests. I've played a "Millionaire" game and a "Jeopardy" game.
One problem I always face is determining who gets to answer when "buzzing in" is required. Usually, I just let people raise their hands; but this year, I have unusually large classes (~40 students) who happen to be very chatty and, let us say, overly enthusiastic.
I mean these kids are into the competitive aspect of even a little review game . . . they are on their feet, yelling, laughing, etc. Consequently it was difficult to tell who raised their hands first and accusations of "No, we were first!" were flying.
I figured there had to be a technological way out of this conundrum without buying a video-game style "buzzer" kit from some overpriced vendor, so I tried to think of how I could put one of the several older Mac G3s in my room to use in this respect.
There was an astounding lack of shareware for this purpose, according to a brief Google search, so I decided to grow my own.
Despite the lack of a prefabricated solution, I knew two things that might help me:
- There is a fine, functional version of BASIC for OS X that I know how to use - Chipmunk Basic.
- You can hook up two ADB keyboards to a Power Mac G3 simultaneously, and they will both function. The Blue and White G3 was the last computer Apple manufactured that could use an ADB keyboard, and I happen to have a crate of these in a storeroom just looking for a purpose.
I proceeded to write a short program in Chipmunk Basic (source code follows) that basically captures the first keypress on both keyboards with an old-fashioned INKEY$ command and then displays this response as well as speaking it.
Players wait with one finger above one of the four keys I programmed (A, B, G, and D for alpha, beta, gamma, and delta) and the first one who "buzzes in" wins. Then the BASIC routine reports the winner and awaits a reset. The reset (your have to type the R key) is necessary so that the computer pauses, latching in the winning response before the keyboard is ready to accept another round.
In subsequent tests, the system worked like a charm.
In case you are a teacher and are wondering how I managed the students who weren't playing, I split the class up into four teams of ten students. Every time a student answered a question in the game, they rotated out with other team members, and a different student manned the keyboard. "Chaos," as one student described my earlier attempts, became "organized."
Another said that they had played "Jeopardy" in other classes, but this was the first one that was organized enough that they could enjoy it and get some information for reviewing out of it at the same time.
Here is the source code for my primitive "buzzer" program. Just download Chipmunk BASIC, install it on your older machine, connect two keyboards, and run the program. Just open Chipmunk Basic, copy the text below, and paste it in. Then run it. Don't forget to save it if it works well.
10 rem BUZZER PROGRAM 20 print "WAITING FOR INPUT..." 30 z$ = inkey$ 40 if z$ = "a" or z$ = "A" then team$ = "ALPHA" : flag = 1 50 if z$ = "b" or z$ = "B" then team$ = "BETA" : flag = 1 60 if z$ = "G" or z$ = "g" then team$ = "GAMMA" : flag = 1 70 if z$ = "D" or z$ = "d" then team$ = "DELTA" : flag = 1 80 if z$ = "q" then stop 90 if flag = 1 then goto 110 else goto 30 110 a$ = "Team "+team$+" BUZZED IN FIRST!" 120 say a$ : print a$ : print "Type 'R' to reset for another round." 130 x$ = inkey$ 140 if x$ = "R" or x$ = "r" then flag = 0 : goto 10 150 if x$ = "Q" or x$ = "q" then stop 160 goto 130
One last thing (gentle readers): I have homework for you.
- If you try this out on a 68K Mac, will it work? (Chipmunk Basic is available in versions for System 6, 7, 8, and 9 as well as OS X.)
- Will it work with USB keyboards on a modern Mac? [Editor's note: It works on my Power Mac G4 with a wireless keyboard connected via USB. dk]
- Does the "INKEY$" function have any inherent bias for some keypresses happening before others?
- Is there some way to distinguish between keyboards so we could use four separate keyboards with everyone pressing the space bar to trigger the answer?
That's it for this week. Sorry about my absence for the last
while, I've been pretty busy with a number of projects.
Jeff Adkins is a science teacher who isn't afraid to state his preferences in computing platforms. In his classroom he has everything from a beige All-in-One to a a G4 XServe, and they all work together nicely. He calls himself the "poster child for technology integration" in the classroom. He was the 2006 Outstanding Educator of the Year for the California Computer Using Educators (CUE) organization. He also maintains a site for astronomy teachers at www.AstronomyTeacher.com.
Recent Mac Lab Reports
- Microsoft Word 2004 vs. iWork Pages 1.0 for writing a book, 01.10. Microsoft Word is great for technical writing, powerful yet slow, while Pages lets you concentrate on just writing, making it great for novels.
- iWeb a great tool for quickly creating an attractive website, 09.11. Apple's iWeb software isn't just easy to use, it also integrates nicely with .mac and other programs in the iLife bundle.
- Use your Bluetooth phone to control your Mac? Maybe, 02.27. Salling Clicker software turns many Bluetooth phones into remote controls for Bluetooth-equipped Macs.
- Two more markets the iPhone could conquer, 02.01. How Apple could redefine the ebook and calculator markets with a pair of free apps for the iPhone.
- More in the Mac Lab Report index.
Links for the Day
- Mac of the Day: Mac IIfx, Mar. 1990 - This 'wicked fast' 40 MHz Mac trumped the 33 MHz DOS world.
- Group of the Day: StarMax List is for anyone using Motorola StarMax Mac clones.
- March 19 in LEM history: 90: Mac IIfx - 99: Fool me twice? - 01: Add FireWire, USB to older Macs - Time to replace your iMac? - 02: The Mac Challenge - Installing Linux on a low-end Mac - 03: Value of the Lombard PowerBook - Your portable should have WiFi - PowerBook 1400 upgrades - 04: The video iPod - 07: Troubleshooting an iMac - 08: Intel Mac mini value
- Support Low End Mac
Recent Content on Low End Mac
- CardBus WiFi, the Shiira Browser, Ridding the Web of Flash, and Macs vs. PCs, Charles W. Moore, Miscellaneous Ramblings, 03.18. Mac longevity, Shiira speed, ambidextrous Mac and Windows use, and how Flash benefits Apple.
- How to Zoom Your Browser for a More Readable Web, Steve Watkins, The Practical Mac, 03.18. Instructions for zooming text and pages in Safari, Firefox, Camino, and Opera.
- How Ad Blocking Hurts Your Favorite Websites, Charles W. Moore, Miscellaneous Ramblings, 03.18. Ad income keeps the Web free. Blocking online ads hurts your favorite websites.
- Taking Apart the 12" PowerBook, John Hatchett, Recycled Computing, 03.17. There are a lot of steps involved in disassembling a 12" PowerBook. Proceed with caution.
- Why I Plan to Stop Using Google Docs, Jason Walsh, Mac Life, 03.16. Jason Walsh continues his search for the perfect word processor and explains why he uses Google Docs - and why he will stop using it.
- Ubiquitous Computing: Tabs, Pads, Books, and Clouds, Adam Rosen, Adam's Apple, 03.16. "Ubiquitous computing names the third wave in computing, just now beginning . . . when technology recedes into the background of our lives."
- More links in our archive.
Recent Deals
- Best Intel iMac Deals, 03.17. Used 17" from $600; 20" from $750; 24" from $825; refurb 21.5" nVidia, $999; new, $1,099; refurb Radeon, $1,299; new, $1,399; refurb 27" 3.06, $1,499; more.
- Best G5 iMac Deals, 03.17. 17" 2.0 GHz, $380; 1.9 GHz iSight, $479 shipped; 20" 1.8 GHz, $509 shipped; 2.1 GHz iSight, $549 shipped.
- Best Time Capsule Deals, 03.17. Close-out 500 GB, $140; new 1 TB, $279; used 2 TB simultaneous dual-band, $400; new, $455. Shipping included.
- Best iPad Deals, 03.16. 16 GB iPad, $499; 32 GB, $599; 64 GB, $699; 16 GB with 3G, $629; 32 GB 3G, $729; 64 GB 3G, $829. Free ground shipping.
- Best iPod classic Deals, 03.12. Used 20 GB, $119; 40 GB, $139; 60 GB, $159; 30 GB video, $129; 60 GB, $159; 80 GB, $169; refurb 120 GB, $189; new, $214; 160 GB, $228 shipped.
- Best G3 iBook and AirPort Card Deals, 03.12. 366 MHz 12" clamshell, $89; 466, $125; 500 white CD, $100; 600, $199; 800 Combo, $239; 14" 900, $225.
- Best Xserve Deals, 03.12. Used 1 GHz dual G4, $499; 2.0 dual G5, $599; 2.3, $749; refurb 2.26 4-core Nehalem, $2,499; new, $2,699; 8-core, $3,449; refurb 2.66, $4,299; new, $4,799; more.
- More deals in our archive.
About LEM | Support | Usage | Privacy | Contacts
Navigation
Used Mac Dealers
Apple History
Video Cards
Email Lists
Favorite Sites
MacSurfer
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System
6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Affiliates
The Apple
Store
Mac
Connection
B&H
MacMall
TechRestore
ExperCom
Crucial
Memory
batteries.com
MacMinute
MacInTouch
MyAppleMenu
InfoMac
Macs Only!
The Mac Observer
Accelerate Your Mac
RetroMacCast
PB Central
MacWindows
The Vintage Mac
Museum
DealMac
DealsOnTheWeb
Mac2Sell
ramseeker
Mac Driver Museum
JAG's House
System 6 Heaven
System 7 Today
the pickle's Low-End
Mac FAQ
Abandonware
Petition
Mac vs. PC Info
Mac Connection
B&H
MacMall
TechRestore
ExperCom
Crucial Memory
batteries.com
