Skip to main content

A framework for playing the Diplomacy board game over a network.

Project description

============================
Parlance Diplomacy Framework
============================

--------------
About Parlance
--------------

Parlance is a framework for playing the `Diplomacy`_ board game over a network,
using the protocol and message syntax developed by the `Diplomacy AI
Development Environment`_ (DAIDE) community.

The Parlance server differs from the official DAIDE server in that it can serve
multiple games (consecutively or concurrently), is more configurable, can be
managed remotely through admin commands, and accepts a slightly broader message
syntax.

Parlance also includes a framework for clients, including a command-line game
observer, and can be used as a library for computer players (bots).

Parlance may be used, modified, and/or redistributed under the terms of
the `Artistic License 2.0`_, as published by the Perl Foundation.

.. _Diplomacy: http://en.wikipedia.org/wiki/Diplomacy_(game)
.. _Diplomacy AI Development Environment: http://www.daide.org.uk/index.xml
.. _Artistic License 2.0: http://www.perlfoundation.org/artistic_license_2_0


--------
Commands
--------

Parlance installs the following commands:

parlance-server
Starts a game server

parlance-holdbot
Starts one or more HoldBots

parlance-chatty
Starts a game observer

parlance-config
Prints out an example configuration file

parlance-raw-client
Connects to a server, translating network messages to and from DAIDE message
syntax on standard input and output.

parlance-raw-server:
Listens for clients, translating network messages to and from DAIDE message
syntax on standard input and output.


------------
Installation
------------

Parlance can be installed with `Easy Install`_ from a command prompt::

> easy_install parlance

Alternatively, once you have downloaded and unpacked a source distribution, you
can install it with::

> python setup.py install

.. _Easy Install: http://peak.telecommunity.com/DevCenter/EasyInstall

-------
Credits
-------

* Daniel Loeb started the `Diplomacy Programming Project`_ in 1990, developing
a language for communication between computer players and a GM.

* Andrew Rose developed the `network protocol`_ used to connect clients to the
server, and wrote a DLL implementation of it.

* David Norman extended the DPP communication language into the `DAIDE message
syntax`_, translated several variant maps into it, and wrote the first
full-featured server, bot, and graphical player interface to use the DAIDE
protocols.

* Eric Wald wrote the first versions of Parlance to extend the DAIDE
environment to non-Windows platforms, particularly Linux.

.. _Diplomacy Programming Project: http://www.diplom.org/Zine/S1995M/Loeb/Project.html
.. _DAIDE message syntax: http://www.ellought.demon.co.uk/dipai/dpp_syntax.rtf
.. _network protocol: http://www.daide.org.uk/external/comproto.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Parlance-1.4.0.tar.bz2 (153.5 kB view details)

Uploaded Source

Built Distribution

Parlance-1.4.0-py2.5.egg (294.5 kB view details)

Uploaded Egg

File details

Details for the file Parlance-1.4.0.tar.bz2.

File metadata

  • Download URL: Parlance-1.4.0.tar.bz2
  • Upload date:
  • Size: 153.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Parlance-1.4.0.tar.bz2
Algorithm Hash digest
SHA256 3b95a20929ecad9b8e61105439a40953fa1a33aba51e845e6758074edb3f14a9
MD5 56f298609b3beb1d3bdedf2cea6c0022
BLAKE2b-256 31f22cf8efacfcd9a7af7c42520a3807f06d419a096bf6c089a6258bb7c11a10

See more details on using hashes here.

File details

Details for the file Parlance-1.4.0-py2.5.egg.

File metadata

  • Download URL: Parlance-1.4.0-py2.5.egg
  • Upload date:
  • Size: 294.5 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Parlance-1.4.0-py2.5.egg
Algorithm Hash digest
SHA256 ec760f6e8a29e6a593359b7943643123859d4cd0334e86889e880156ce3a60e7
MD5 a061bbd09337a99d2ccb4e311724d1f5
BLAKE2b-256 106a6d1e3e9c54fe552a7707564e0d109284f9a6d5da0b6b54ee7c9166263f5f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page