The game still has some bugs, but it can be played now!
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.
The code has been tested with the following versions:
- Python 3.8.5
- Twisted-18.9.0
- wxPython-4.0.7
sudo apt install python3-wxgtk4.0
(only for the client)sudo apt install python3-twisted
-
Run Server:
python3 londonlaw/london-server.py -
Run Client:
python3 londonlaw/london-client.py [ip-adress] [player] [password] [gamename]
(The parameters are optional.)
python --version
Python 3.8.5
Install the libraries, you need administration rights:
pip install wxpython
(only for the client)pip install twisted
-
Run Server:
python londonlaw/london-server.py -
Run Client:
python londonlaw/london-client.py [ip-adress] [player] [password] [gamename]
(The parameters are optional.)
0.303:
- ported to python3 by Horst Aldebaran alias Meyer (horald)
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.