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 ...

Get Make: Technology on Your Time Volume 25 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.