Git Product home page Git Product logo

ai-chess-game's Introduction

image

AI Chess Game

Our Java AI chess program, developed with Netbeans 17 and Java 8, builds upon our previous 2-player GUI chess game by incorporating an AI mode. Using the minimax algorithm with alpha-beta pruning, our program offers an immersive chess-playing experience. Whether you enjoy challenging the AI or playing against a friend, our program supports both single-player and two-player modes. Furthermore, you can conveniently save and load previous games using the embedded database, enabling you to review historic moves and continue your chess journey at your own pace.

Authors

Features

  • Uses the minimax algorithm with alpha-beta pruning for AI gameplay.
  • Includes an embedded database for saving and loading previous games.
  • Allows viewing historic moves from finished games using embedded database.
  • Offers a single-player mode and two-player mode
  • Options for resignation or draw
  • Displays available squares for a chess piece when clicked on
  • Sound effects for chess moves, check, capture and checkmate

Demo

AIChessDemo

Build

  1. Clone AI-Chess-Game with Git
  git clone https://github.com/pjsiri/AI-Chess-Game.git
  1. Start the game by running ChessMain.java

  2. Have fun!

Note: AI-Chess-Game can be directly imported into NetBeans

License

AI-Chess-Game is available under the MIT License.

See License for more details

ai-chess-game's People

Contributors

pjsiri avatar rhuyk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

ai-chess-game's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.