Skip to content

MohammedKhaliid/Chess-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game

A classic chess game implemented in Java, featuring a backend logic written in Java and a graphical user interface (GUI) created with Java Swing.

Table of Contents

Features

  • Classic Chess Gameplay: Play chess with all standard rules.
  • Java Backend: Robust backend logic implemented in Java.
  • Java Swing GUI: Intuitive graphical user interface created using Java Swing.
  • Responsive Design: Facilitates multiplayer gameplay on the same device by automatically flipping the board after each turn.
  • Move Validation: Ensures legal moves according to chess rules.
  • Move Undo and Redo: Adding the undo and redo functionalities to any number of moves.
  • Check and Checkmate Detection: Identify and handle check and checkmate scenarios.

Installation

  1. Clone the repository:

    git clone https://github.com/MohammedKhaliid/chess-game.git
  2. Navigate to the project directory:

    cd Chess-Game/src/main/java/ChessPlay
  3. Compile and run the application (or with your preferred IDE):

    javac RunGUI.java
    java RunGUI

Usage

  • Launch the application.
  • Use the GUI to make moves by clicking on the pieces and selecting their destination.
  • Use ctrl+z or left arrow for the undo
  • Use ctrl+y or right arrow for the redo
  • Follow standard chess rules to play the game.

Screenshots

Contributing

Contributions are welcome! If you find any bugs or have suggestions for improvement, please open an issue or submit a pull request.

About

Chess Game GUI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages