I’ve finally updated the source and Docu, pls check out the latest version from here:
This is the Raindrops Rainbowduino Game. It’s a Rainbowduino connected via I2C to an Arduino with an Accelerometer. The current position/movement is determined and send via the I2C Bus to the Rainbowduino. With that you can move the red dot on the Matrix and avoid hitting the falling blue raindrops. But if you do so, the game is over. Tilting the devices influences the speed of the drops as well… Have fun!
8x8 RGB LED Matrix
First, get the Rainbowduino.h Library and put it into your Arduino IDE Library (or in the same folder as the sources). Second, do the same with the Accelerometer Library found here.
Now, compile both sketches and upload the Server.pde sketch to the Accelerometer, upload Client.pde to the Rainbowduino. You are ready to go! Have fun!