O'Reilly logo

Make: Technology on Your Time Volume 25 by Mark Frauenfelder

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Get in the Game

Make all kinds of game controllers using an accelerometer or other sensors.

BY TOM IGOE

Making stuff is more fun when you do it with other people. So is gaming. So why not combine the two? Here’s a game you can play against your friends using game controllers you build yourselves.

The game is simple. A ball drops from the top of the screen. Your goal is to keep it from hitting the ground. Each player has a paddle on-screen (Figure A, following page). You can move your paddle left, right, up, and down. You get a point for each new paddle the ball hits (bouncing it off your own paddle multiple times doesn’t help). The more players you have, the easier it is to keep the ball in the air. You get 5 balls per game.

To move your paddle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required