Quoridor Online
Client and server to play the strategy board game Quoridor. It uses pygame.
Install
Requires: Python >=3.6. To install, open a command prompt and launch:
pip3 install quoridor
Use
To launch a server:
python3 -m quoridor.server [HOST] [PORT] [NUM_PLAYERS]
- HOST: IP address
- PORT: port number
- NUM_PLAYERS: number of players (2, 3 or 4)
To launch a client:
python3 -m quoridor.client [HOST] [PORT]
HOST and PORT must be the same as the server.
Play
You can see the rules of the game here:
- To move your pawn, use the four arrow keys
- To place a fence, click on the game board
At the end of the game, you can restart a game. Just click on the "Restart" button.
Pathfinding algorithm
A pathfinding algorithm is used to check if a player is blocked or not. Thanks to the python-pathfinding project.
Contact
Quentin Deschamps: quentindeschamps18@gmail.com
License
Metadata
Release files for quoridor 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| quoridor-0.0.3.tar.gz | 673.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| quoridor-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / quoridor-0.0.3.tar.gz
| Download URL | quoridor-0.0.3.tar.gz |
|---|---|
| Size | 673.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb870d7d5a492d07cdab0614f0142309ef4dbfdab649c198c7de742294b2c63e
|
|
BLAKE2b-256 checksum How to use checksums |
8a8e1aa6c4c6f298c1187c9e6475c2768c411325e0e8fa573486eb62f47109e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|
Release files / quoridor-0.0.3-py3-none-any.whl
| Download URL | quoridor-0.0.3-py3-none-any.whl |
|---|---|
| Size | 675.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5704838b4db3cab5d9c8367bc66625bdd7c9194689bbcf0023695586d0cfd3ac
|
|
BLAKE2b-256 checksum How to use checksums |
07c9f6a8a86bf708def03b306648b2dd1b339e97a394ed44b401d8119ac33c3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2
|