This is a Java-based chess game that supports both player vs player and player vs AI modes.
The project is organized into several packages:
CHESSS/board
: Contains theBoard.java
andMove.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 theGame.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.
- 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.
To run the game, compile and run the Main.java
file.
The project ignores certain files such as compiled class files, log files, and package files. See the .gitignore
file for more details.
- Improve the AI player's strategy.
- Add the ability to save and load games.
- Improve the user interface.
Contributions are welcome. Please open an issue or submit a pull request.