Ole Morud 160ea82549 Major rework: add search timer, evaluation improvements, more
ADDITIONAL CHANGES

Alpha-Beta search
* Change back to recursive alphabeta with implicit stack
* Add atomic_bool parameter that stops search when set to false
* Update tests accordingly

Evaluation
* Fix bug where black pawns are using white's positional modifier bonus

Makefile
* Add -march=native to clang release builds
2025-12-26 16:18:09 +01:00
2025-12-26 16:15:07 +01:00
2025-12-20 01:19:54 +01:00

Build and run in browser

make BUILD=release wasm
python3 -m http.server 8000
# open https://localhost:8000/chess.html

Build and run in console

make BUILD=release tests
./tests

Missing features and bugs

WASM/web build has an unresolved bug where checkmate and stalemate isn't rendered or announced

Description
No description provided
Readme 368 KiB
Languages
C 91.8%
JavaScript 7%
Makefile 0.7%
HTML 0.5%