Skip to content

A multiplayer sports forecast (aka. PRODE in Argentina) game for Django.

Notifications You must be signed in to change notification settings

maxiberta/django-prode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Django PRODE

django-prode is a multiplayer sports forecast (aka. PRODE in Argentina) game for Django.

  • Matches can be loaded from iCal (or manually), and associated with a tournament.
  • The frontend page shows the user score table in real time.

Game Rules

  • Players (users) are allowed to submit one forecast per not-yet-played match.
  • Players gain points by guessing the score perfectly (2 points) or the overall result (team1 wins, team2 wins or tie - 1 point).
  • On the end of the tournament the player with the most points is the winner.

Setup

  • Add django_prode into your settings.INSTALLED_APPS (and uncomment the admin app if necessary)
  • Sync the DB:

    # ./manage.py syncdb
  • Download a tournament calendar in iCal format and import it with the "loadical" admin command (the iCal file should be encoded in UTF-8):

    # ./manage.py loadical <ical file> [-t <tournament name>]
  • Create staff users with at least add and change forecast permissions
  • Add the score table into your URLconf:

    url(r'^$', include('django_prode.urls')),

Requirements

  • Django 1.3
  • django-tables
  • python-icalendar

TODO

  • Game rules are hardcoded in fixture.models.Forecast.score(); they should be customizable
  • Dates and times (clients, server and matches) are presumed to be in UTC; time zones should be taken into account
  • i18n and l10n

Authors

  • Maximiliano Bertacchini <maxiberta at gmail.com>
  • Diego Rende <drende at citedef.gob.ar>

About

A multiplayer sports forecast (aka. PRODE in Argentina) game for Django.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages