MrMDrX / ChessGame

Welcome to ChessGame, a simple yet engaging chess game implemented in Java using the Swing framework. This application allows users to play chess against each other on a graphical user interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChessGame README

Overview:

Welcome to ChessGame, a simple yet engaging chess game implemented in Java using the Swing framework. This application allows users to play chess against each other on a graphical user interface.

Features:

  • Graphical User Interface: Utilizes Java Swing for a user-friendly interface.

  • Two-Player Mode: Play chess with a friend on the same computer.

  • Classic Chess Rules: The game follows the standard rules of chess, including en passant, castling, and pawn promotion.

  • Move Highlighting: Highlights valid moves for a selected chess piece.

Requirements:

  • Java Development Kit (JDK) 8 or later installed on your system.

How to Run:

  1. Clone the Repository:

    git clone https://github.com/MrMDrX/ChessGame.git
    
  2. Navigate to the Project Directory

  3. Compile the Code

  4. Run the Game:

How to Play:

  1. Launch the game by following the instructions in the "How to Run" section.

  2. A chessboard will appear on the screen with pieces arranged in their starting positions.

  3. Click on a piece to select it. Valid moves will be highlighted.

  4. Click on a highlighted square to make a move.

  5. Continue taking turns until the game concludes with a checkmate, stalemate, or other result.

Additional Notes:

  • The game provides a basic graphical representation of the chessboard and pieces.

  • Input validation is implemented to ensure moves adhere to standard chess rules.

  • Have fun playing ChessGame, and may the best strategist win!

Acknowledgments:

This chess game was developed by @MrMDrX. Feel free to contribute, report issues, or suggest improvements. Thank you for playing!

About

Welcome to ChessGame, a simple yet engaging chess game implemented in Java using the Swing framework. This application allows users to play chess against each other on a graphical user interface.

License:MIT License


Languages

Language:Java 100.0%