Git Product home page Git Product logo

ishaan35 / chess Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 4.0 372 KB

This is a chess engine created with JavaScript, HTML, and CSS. The computer can play against you with three difficulty levels: easy, medium, hard. The chess engine uses the minimax algorithm to decide on the best move to make. The minimax algorithm examines a large tree of possible moves that can be played by the computer and the opponent (human player) depending on how far ahead into the game the algorithm looks. The number of moves the algorithm looks into the future refers to the depth of the algorithm. The greater the depth, the better the algorithm plays. There is also a separate section related to global chess stats from chess.com which are obtained from an API in JSON format using XMLHttpRequests. The stats feature the top 50 players in the world on chess.com separated by different game modes such as rapid and bullet chess. This website is responsive and can be viewed on computers and mobile devices.

Home Page: https://ishaan35.github.io/Chess/

JavaScript 82.53% HTML 5.36% CSS 12.12%
minimax chess ui javascript html css

chess's People

Contributors

ishaan35 avatar ishaan2020 avatar

Stargazers

Baasit Khawaja avatar Sudhanshu Ambastha avatar  avatar Alejandro Almarza avatar Ashley D avatar  avatar

Watchers

 avatar

chess's Issues

Cant win

i literally took his king and he kept playing till he won

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.