London Law is an online multiplayer adaptation of the classic Scotland Yard board game (Wikipedia).
This repository is based on a copy of the last known pre-release (0.3pre1) of London Law released by the original author Paul Pelzl and contains additional patches to make this game work with modern software.
Please note: I will not invest much time into development but patches are welcome.
- Python
- Twisted
- wxPython
- zope-interface
The code has been tested with the following versions:
- Python 2.7
- Twisted-13.0.0
- wxPython-3.0.1.1
- zope-interface-4.1.1
0.3.0pre2:
- wxPython3.0 compatibility by Olly Betts
- Fix for newer python-twisted by Hans de Goede
- Accept custom data directory by Mr Bones
- More small fixes by Mario Kicherer
-
i18n. Thanks to the efforts of numerous translators, there is at least partial support for 11 different languages.
-
AI clients. Players can request an AI opponent while registering for a game. At the moment there is only a pair of "Rather Dumb" AI clients available, meant as a proof of concept.
-
Admin client. There is a text-mode admin client that can be used to delete games, eject players, etc. It has an online help system, which is hopefully enough to explain the usage.
The admin client won't work without setting up an admin password. Create a file called ~/.londonlaw/server/config that looks like this:
[server] admin_password: PASSWORD game_expiration: 240
Replace PASSWORD with whatever you want. The game expiration is the number of hours after which stale games should be purged.