Skip to content

This is a Java-based chess game application. It features a robust GUI for user interaction and supports both player vs player and player vs AI modes. The game logic is encapsulated within various classes representing the chess board, the pieces, and their possible moves.

Notifications You must be signed in to change notification settings

hashem-sanaei/Chess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Chess

image image image

Chess Game

This is a Java-based chess game that supports both player vs player and player vs AI modes.

Project Structure

The project is organized into several packages:

  • CHESSS/board: Contains the Board.java and Move.java classes which represent the chess board and the moves that can be made.
  • CHESSS/frame: Contains various classes for the game's graphical user interface.
  • CHESSS/game: Contains the Game.java class which is the main class that controls the game logic.
  • CHESSS/Pieces: Contains classes for each type of chess piece.
  • CHESSS/project: Contains classes related to the AI player and game logic.

Main Features

  • Board and Moves: The game includes a representation of a chess board and the moves that can be made by the pieces.
  • Graphical User Interface: The game has a graphical user interface that allows players to interact with the game.
  • Player vs Player and Player vs AI Modes: The game supports both player vs player and player vs AI modes.
  • Chess Pieces: The game includes classes for each type of chess piece, each with its own set of possible moves.

How to Run

To run the game, compile and run the Main.java file.

Note

The project ignores certain files such as compiled class files, log files, and package files. See the .gitignore file for more details.

Future Improvements

  • Improve the AI player's strategy.
  • Add the ability to save and load games.
  • Improve the user interface.

Contributing

Contributions are welcome. Please open an issue or submit a pull request.

About

This is a Java-based chess game application. It features a robust GUI for user interaction and supports both player vs player and player vs AI modes. The game logic is encapsulated within various classes representing the chess board, the pieces, and their possible moves.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages