Tan Ma and I implemented a quick two-player version of Duck Hunt using a Processing project she had created. One player controls the gun with the mouse, the other controls the ducks with an accelerometer/arduino combo.
Initially we tried mapping the ducks position one-to-one with the values accelerometer was giving us, but we discovered that this produced jittery results. We found it worked much better to add and subtract reduced dampened accelerometer values to the ducks’ coordinates.
Here’s a hastily-made video of the application:
[vimeo https://vimeo.com/76361890 w=640]