Skip to content

StanleyTK/MyChessEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MyChessEngine

Download Link: MyChessEngine

About

MyChessEngine is my Summer 2024 project aimed at deepening my understanding of chess and exploring chess engine algorithms like the MinMax algorithm and various weighting systems. It serves as both an educational tool and a foundation for advanced chess algorithm development.

How to Build and Run

Prerequisites

  • Java JDK 1.8 or higher
  • Maven

Building the Project

To build the project and create a runnable JAR file, navigate to the project directory where the pom.xml file is located and run the following command:

mvn clean package

This command cleans the target directory, compiles the source code, and packages the compiled code into a JAR file located in the target/ directory.

Running the Project

After building, you can run the project directly using the following command:

java -jar target/MyChessEngine-1.0-SNAPSHOT.jar

This will start the chess game application. You can also download the JAR file from the target/ directory to run on any machine with a compatible Java runtime.

Current Features

  • Full Chess Functionality: Supports all standard chess rules including castling, en passant, and pawn promotion.
  • Game Management: Allows for resetting the board and maintaining move histories to navigate back to previous moves.
  • Evaluation System: Implements raw metrics and evaluation systems as groundwork for future algorithm enhancements.
  • Maven Integration: Uses Maven to manage project dependencies and streamline the build and execution process, ensuring easy compilation and distribution.
  • Player vs AI: Implemented functionality to support player versus AI gameplay mode, using MinMax algorithm with alpha/beta pruning.

Future Work

  • Neural Network: Utilize neural networks for more sophisticated evaluation and decision-making.
  • Optimization: Improve memory management to allow for deeper MinMax algorithm searches.
  • AI vs AI: Develop functionality to support AI versus AI gameplay modes.

Contact

About

Chess Game where players can play against AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages