Giter Site home page Giter Site logo

shallowred's Introduction

shallowRed

###Chess AI that uses Min/Max search and a dictionary of moves to generate the best move for the respective turn

####Required Libraries #####none

####Installation

#####Download all files to play the game #####Chessboard.py creates the Chess game with board and rules #####MinMax.py contains the algorithms for using Min/Max search trees and alpha-beta pruning to find the best move. It also evaluates moves #####PlayMinMax.py plays the moves in the chess game board

####How to use #####Open Terminal #####Run PlayMinMax.py #####Enter "w" or "b" as the color for the AI #####When it is your turn, enter your move as a string of starting location to end location. For example, to move the piece in a2 to a4, enter "a2a4" (use lowercase only) #####When it is the AI's turn, the AI will make a move in about 15 seconds and display the end result, levels of the Min/Max tree it traveled, and time taken #####The board will reprint the current position at the end of each move

####Acknowledgments #####Credit to John Eriksson for the base implementation of the Chess board with rules #####Credit to Michael and Dennis for additional optiminizations made to the board

shallowred's People

Contributors

maniksinghsethi avatar rdiverdi avatar seanccarter avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

volosjack

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.