DDRPi
=====

DDRPi Controller Software.

Nothing much to look at yet, but hopefully this will change very soon :)

Running a simple test
---------------------

You can run a simple test by checking out the repository and using the floor
simulator found in the "tests" folder.

1. Check out the repository
2. Create a pipe for testing using mkfifo:

        mkfifo <pipe_name>
    
3. Make sure debugging is set to True in config.yaml and configure the pipe
4. Copy config.yaml into the tests folder
5. Start the floorSimulator:

        cd tests
        python ./floorSimulator.py
    
6. Move the (currently broken) tetris plugin out of the "plugins" folder
7. Start the main DDRPi app:

        python ./DDRPi.py
    
You should now see random patterns on a simulated dance floor that corresponds
to your config file... Have fun :)



DDRPi
=====

DDRPi Controller Software.

The code lives! We can now switch between plugins, and play a game of Tetris :)

Running a simple test
---------------------

You can run a simple test by checking out the repository and using the floor
simulator found in the "tests" folder.

1. Check out the repository
2. Create a pipe for testing using mkfifo:

        mkfifo <pipe_name>
    
3. Make sure debugging is set to True in config.yaml and configure the pipe
4. Copy config.yaml into the tests folder
5. Start the floorSimulator:

        cd tests
        python ./floorSimulator.py
    
6. Move the (currently broken) tetris plugin out of the "plugins" folder
7. Start the main DDRPi app:

        python ./DDRPi.py
    
You should now see the inintial menu screen. A preview of each plugin is shown
by pressing the buffer buttons. When you see the plugin you want, press start
and the plugin will start running.

Tetris Controls
---------------

Start - Pause/Resume (also start a new game when on has ended)
A/B - Rotate right/left
Y - Drop the current piece
X - Start a new game when paused



Update readme with tetris instructions
Update readme with tetris instructions
