This project implements a Quarto game using Socket.IO and Python. It consists of two main parts: a client and a server that communicate using web sockets. The game is a board game where two players compete, and the project allows for remote multiplayer gameplay.
- Real-time multiplayer game using Socket.IO.
- Python-based server and client architecture.
- Classic Quarto game rules implemented.
- Efficient and responsive communication between client and server.
- Python 3.x
- Virtualenv (optional)
- Git
-
Clone the repository:
git clone https://github.com/your_username/Quarto-Game-SocketIO.git cd Quarto-Game-SocketIO
-
Set up a virtual environment (optional but recommended):
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install required dependencies for both client and server:
pip install -r requirements.txt
-
Navigate to the
server
directory:cd server
-
Start the server:
python server.py
-
Navigate to the
client
directory:cd client
-
Start the client:
python client.py
- Start the server using the steps mentioned above.
- Run the client and connect to the server.
- The game will follow the rules of Quarto, where two players take turns.
client/
: Contains all client-side code.server/
: Contains all server-side code.
Feel free to contribute by forking the repository, making improvements, and submitting a pull request.