https://github.com/maxiberta/django-prode
A multiplayer sports forecast (aka. PRODE in Argentina) game for Django.
https://github.com/maxiberta/django-prode
Last synced: 2 months ago
JSON representation
A multiplayer sports forecast (aka. PRODE in Argentina) game for Django.
- Host: GitHub
- URL: https://github.com/maxiberta/django-prode
- Owner: maxiberta
- Created: 2011-07-25T19:12:21.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-08-18T13:26:34.000Z (almost 15 years ago)
- Last Synced: 2025-01-01T04:36:17.278Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 117 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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 [-t ]
* 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
* Diego Rende