Skip to content

jbradberry/django-diplomacy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diplomacy

image

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)

Requirements

  • Python 2.7, 3.5+
  • Django >= 1.10, < 2.3

Installation

Use pip to install django-diplomacy from github :

pip install git+https://github.com/jbradberry/django-diplomacy.git

Configuration

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'),
]

About

A play-by-web app for Diplomacy.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages