GithubHelp home page GithubHelp logo

miguelramosfdz / garbochess-js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from glinscott/garbochess-js

0.0 2.0 0.0 559 KB

A strong javascript chess engine using WebWorkers

Home Page: http://forwardcoding.com/projects/ajaxchess/chess.html

License: Other

JavaScript 99.40% HTML 0.60%

garbochess-js's Introduction

Thanks
------
- Stockfish authors
- Crafty authors

Version 1.0
-----------
- Rewrote move generation for a big speed-up
- Pure material evaluation
- Null-move + Razoring + LMR in main search
- Hash table

Version 2.0
-----------
- Mobility evaluation (thanks Fruit) 
- Bishop pair 
- Rep-draw detection 
- Better null-move pruning (thanks Stockfish) 
- Better LMR (and again, thanks Stockfish) 
- Bugfix with using hash move 
- Some speed optimizations

Version 3.0
-----------
- 604.5/1000 or ~70 ELO better than previous version
- Killer moves
- Tuned PSQ tables/mobility
- Better king eval in endgame (won't stay on back row)
- Show '#' for checkmate
- Improved UI (new game, switch black/white, choose time/move)
- Fixed crashes from using invalid hash moves
- Other small bug fixes
- Speed optimizations

Version 4.0
-----------
- 594.5/1000 %:59.45 or 66 Elo better than previous
- SEE added (QSearch pruning, losing captures in main search)
- No nullmove in pawn endgames
- Fixed hashtable bugs (RNG was bad)
- Fixed starting position when playing black
- Added ability to analyze position for browsers that support it
- Added support for pasting FEN positions

Version 5.0
-----------
- Added checks in first ply of q-search (+15)

Version 5.1
-----------
- Bugfix to hashtable storing (no elo change, but big help in endgames)

Version 6.0
-----------
- Bonuses for knight attacking pieces (+20)
- Bonus for bishop pins (+40)

TODO:
-----
- Only extend checks with SEE > 0?
- Single reply to check should be marked as dangerous.

garbochess-js's People

Contributors

barneycarroll avatar glinscott avatar

Watchers

 avatar  avatar

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.