Giter Club home page Giter Club logo

chess-game's Introduction

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.

chess-game's People

Contributors

eiad-alaa avatar mohammedkhaliid avatar

Watchers

 avatar

chess-game's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.