The telephony back-end for Dance Ave, a live-action dancing game
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
migrations
templates/dance_ave
.gitignore
README.md
__init__.py
admin.py
models.py
requirements.txt
tests.py
urls.py
views.py

README.md

dance-ave

The telephony back-end for Dance Ave--a live-action dancing game.

Setup

Django setup

This game is implemented as a Django module. If you're not already familiar with Django, you should start with the Writing your first Django App tutorial to get an empty site up and running.

You'll need to add dance_ave to your Django INSTALLED_APPS, and include dance_ave.urls in your urlpatterns. You'll probably also want to enable the Django admin site, which we use for authentication and managing the song stations. e.g.:

urlpatterns = patterns('',
    ...
    url(r'^dance_ave/', include('dance_ave.urls')),
    ...
    url(r'^admin/', include(admin.site.urls)),
    ...
    )

Tropo setup

Dance Ave uses Tropo for its telephony services. You'll need to create an account and point it at the Dance Ave home URL.

Game setup

You'll need to create some song stations. Use the Django admin interface, pointing each song station at some audio file URL that Tropo will be able to access.

Running the game

First authenticate yourself by visiting the admin site. (Currently, you'll see a 404 if you try to visit the dashboard without authenticating first.)

You can then monitor the running game from the dashboard view. This will show you the players who have called so far, and how many stations they have completed. You can reset the game (deleting all player data) by checking the "are you sure" boxes and hitting the RESET GAME button.