Skip to content

ionwyn/ChessJS

Repository files navigation

ChessJS: Another project by Works Worth Wording

JavaScript based Chess engine that will eventually beat Magnus Carlsen.

portfolio_view

Getting Started

Running it is easy, as it's HTML-based. Clone it and run index.html on your favourite browser.

git clone https://github.com/ionwyn/ChessJS.git

Or simply visit my website

Prerequisites

  • It would be nice if you know how to play chess
  • If you don't, play it anyway.

Running the tests

There are no test cases, and there shouldn't be any. Use Mathematical induction to prove that the theorem/algorithm works.

Notes before contributing

Please take a look at gameLogic.js. Other files are related to game rules and front-end work.

I am building a chess engine; I am not interested in spending 10,000 hours to train your Neural Network. I am interested in the clever ways in which we can improve the efficiency of the current traditional chess engine in progress here.

What we have so far:

  • Minimax tree with Alpha-beta pruning
  • Sorted game-tree nodes to optimize search
  • Zobrist Hashing

TODO (sorted based on priority):

  • Implement chess opening book

Contributors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • I did not write over a half of the codebase. I am fully responsible for any legal action charged against me.
  • I have written proper copyright notice on the header of each file in which their code are used in.
  • I am, however, responsible for the creation of gameLogic.js.

About

JavaScript Chess AI that will later beat Magnus Carlsen

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages