Skip to content

Paw565pl/sudoku-pygame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku for 2 players

Welcome to the Two-Player Sudoku Game, a project designed to bring the classic puzzle-solving challenge of Sudoku to a new level by enabling two players to compete in real-time. Developed using Pygame and employing a client-server architecture, this game ensures seamless synchronization and communication between players using TCP stream sockets.

Players can enjoy Sudoku while competing against a friend or another player online, with the game grid shared and moves synchronized in real-time. The intuitive user interface makes the game accessible and enjoyable for players of all ages. The server manages the game state, ensuring both clients have the same view of the grid. Moves are sent to the server, which updates the game state and broadcasts it to the other client.

How to run it locally?

Prerequisites

  • Python 3.12
  • Poetry
  1. Clone the Repository
  2. Install Dependencies
poetry install
  1. Run the Server
poetry run python src/server.py
  1. Run the Client
poetry run python src/client.py
  1. Run the Client again for the second player
  2. Enjoy the game!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages