Diplomacy is a turn-based strategy game, set in Europe at the start of World War I. Each player represents one of the seven European Great Powers.
For game instructions and other useful info, see http://www.wizards.com/default.asp?x=ah/prod/diplomacy
See also http://en.wikipedia.org/wiki/Diplomacy_(game)
- Python 2.7, 3.5+
- Django >= 1.10, < 2.3
Use pip to install django-diplomacy from github
pip install git+https://github.com/jbradberry/django-diplomacy.git
Add Django Diplomacy to the INSTALLED_APPS
in your settings file.
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', # Added. 'diplomacy', )
Also, be sure to include diplomacy.urls
in your root urlconf.
Example:
from django.conf.urls import include, url urlpatterns = [ url(r'^', include('diplomacy.urls')), url(r'^admin/', include('admin.site.urls')), url(r'^accounts/', include('django.contrib.auth.urls'), ]