Skip to content

huzouskaya/WEB_1

Repository files navigation

Chess Game

Description

This is a chess game implemented using the Pygame library. Players can engage in a classic game of chess, moving pieces according to standard chess rules.

Installation

To set up the project locally, ensure you have Python and Pygame installed. Clone the repository and run the game using the following commands:

git clone <repository-url>
cd <repository-directory>

Starting the game

You can change the server port in constants.py and run server.py Two players start window.py and start the game Or download the executable file from repository and run it

Usage

Players can select pieces by clicking on them and then click on valid move locations to move them.

Game Mechanics

  • The game initializes with pieces in their standard starting positions.
  • Players take turns to move their pieces.
  • The game checks for valid moves and updates the game state accordingly.
  • Check and checkmate conditions are detected.

Assets

The game uses images for the chessboard and pieces, which are loaded and scaled for display. Ensure that the assets are in the correct directory structure.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published