Skip to content

LeakyMon/ChessAIJava

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chess Game in Java Project Description This project is a Java-based chess game that allows players to play chess against an AI opponent. The game features a graphical user interface (GUI) for player interaction and implements standard chess rules, including move validations, check, and checkmate detection.

Key Features Graphical User Interface: Interactive board and pieces for intuitive gameplay. AI Opponent: Play against an AI with basic move generation and decision-making capabilities. Check and Checkmate Detection: The game accurately detects and alerts players to check and checkmate conditions. Turn-Based Gameplay: Alternating turns between the player and AI. Move Validation: Enforces legal chess moves and captures. Technologies Used Java Java Swing for GUI Object-Oriented Programming Principles Getting Started These instructions will help you set up a copy of the project on your local machine for development and testing purposes.

Prerequisites Java Development Kit (JDK) A Java IDE (like IntelliJ IDEA, Eclipse, or NetBeans) Installation Clone the repository: bash Copy code git clone https://github.com/LeakyMon/chess-game-java.git Open the project in your Java IDE. Build the project to resolve dependencies. Run the application to start the game. Usage Launch the application. Use the mouse to select and move pieces on the board. Play against the AI and try different strategies. Contributing Contributions to improve the game are welcome. Please follow these steps:

Fork the repository. Create a feature branch (git checkout -b feature/AmazingFeature). Commit your changes (git commit -m 'Add some AmazingFeature'). Push to the branch (git push origin feature/AmazingFeature). Open a pull request. License Distributed under the MIT License. See LICENSE for more information.

Contact

About

Chess game to play against AI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages