Skip to main content

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

Project description

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, along with a simple bot to replace an absent player. This framework has also been used by the clients of the Parang package.

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

Commands

Parlance installs the following commands:

parlance-server

Starts a game server

parlance-holdbot

Starts one or more HoldBots

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

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.

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.1.tar.gz (137.3 kB view details)

Uploaded Source

Built Distribution

Parlance-1.4.1-py2.5.egg (293.2 kB view details)

Uploaded Source

File details

Details for the file Parlance-1.4.1.tar.gz.

File metadata

  • Download URL: Parlance-1.4.1.tar.gz
  • Upload date:
  • Size: 137.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Parlance-1.4.1.tar.gz
Algorithm Hash digest
SHA256 0c97d0ad68c63b04607d574e6f12bda8d3769e4fb4816f24ee38052b05a441c4
MD5 c6e79a31cd9bb7ecdc3f8142712a9daf
BLAKE2b-256 0403a4dd023829db155fc30133292128ab15bf38f98661d63940fc3880bdd5d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Parlance-1.4.1-py2.5.egg
  • Upload date:
  • Size: 293.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for Parlance-1.4.1-py2.5.egg
Algorithm Hash digest
SHA256 71488bcd2624ce38dd36233368a6eba4b6ad340996f3f1470ab6ce33f4b30893
MD5 967f933c3cb55cdb5c22ea57485a7954
BLAKE2b-256 c5a26823d9ac6604b012debf4693eeb642ce1efac4b962fb8953000ec3714a20

See more details on using hashes here.

Supported by

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