Skip to content

millkyx/chess_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game in Python

This project is a Python implementation of the classic chess game, using the pygame library for graphics and python-chess for the game logic.

Description

In this game, you can play against the computer or another player. The game features a standard chessboard with the ability to move pieces, and it includes checks for checkmate and stalemate.

Installation

To install the necessary dependencies, follow these steps:

  1. Clone the repository:

    git clone https://github.com/millkyx/chess_game.git
    cd chess_game
  2. To install the necessary dependencies, use the following pip command:

pip install pygame chess

Running the Game

To start the game, run the following command:

python chess_game.py

Requirements

  1. Python 3.x
  2. Pygame
  3. python-chess

How to Play

  1. You will play as the white pieces, and the computer plays as the black pieces.
  2. Click on a piece and then on the square where you want to move it.
  3. The game continues until one player wins or a draw is reached.

Current Status

This project is still a work in progress, as I am a beginner in programming. Some parts of the code may not be fully optimized or completed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages