Skip to main content

Quoridor Online Game

Project description

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

MIT

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

quoridor-0.0.2.tar.gz (673.5 kB view details)

Uploaded Source

Built Distribution

quoridor-0.0.2-py3-none-any.whl (675.3 kB view details)

Uploaded Python 3

File details

Details for the file quoridor-0.0.2.tar.gz.

File metadata

  • Download URL: quoridor-0.0.2.tar.gz
  • Upload date:
  • Size: 673.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for quoridor-0.0.2.tar.gz
Algorithm Hash digest
SHA256 38bd27a0b82ecbfdf4bc4219f20955df37618256b83088d49fefac72fd440d2e
MD5 e81db9918e21f9a2bb846a124ac5dbf6
BLAKE2b-256 dff5b23db1b144b643dfe66b603ed4a3679785f42a84f63686e41ac3750c3984

See more details on using hashes here.

File details

Details for the file quoridor-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: quoridor-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 675.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for quoridor-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 32ffa82abfd3a787fc441b1902eb09abb8a39b02195dd36c990cd1fae8e2e551
MD5 d7f56c3dcc0e894ac24103239f9aa59e
BLAKE2b-256 bd82dbd616106fc0a3a4ead03b4267e4f5c6d25dc8d6e13d29ca12018e23602d

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