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.

Files for quoridor, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size quoridor-0.0.3-py3-none-any.whl (675.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size quoridor-0.0.3.tar.gz (673.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page