23 Commits

Author SHA1 Message Date
5e92942cb8 Makefile: add -Wno-initializer-overrides to clang builds 2026-01-08 19:11:53 +01:00
e1d1684c23 Change evaluation score to a centi-pawn based integer type 2026-01-08 18:44:53 +01:00
33a0878f6a Set required feature flag macro for Linux builds 2026-01-08 15:45:38 +01:00
123caf8378 Revert to old repeat detection 2026-01-08 15:45:02 +01:00
29ebb83ead Fix web layer 2026-01-07 21:13:23 +01:00
bb3d99b011 refactor: (bb64)occupied -> ~(Bb64)PIECE_EMPTY 2026-01-07 21:13:23 +01:00
5a5a392c8b Performance improvements 2026-01-07 21:13:15 +01:00
716527fa8f major rework 2026-01-03 16:22:42 +01:00
4998a057f5 Fix bug where pawn can't promote and capture at the same time 2025-12-27 17:33:46 +01:00
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
e5b6886f40 Add codegen for diagonals.h 2025-12-26 16:15:07 +01:00
ef33b23f70 alphabeta_search: replace recursion with explicit stack 2025-12-21 00:21:44 +01:00
97b6934024 Update README 2025-12-20 01:19:54 +01:00
92ce48997d Web: Change to a webworker architecture to stop freezing main thread 2025-12-20 01:16:03 +01:00
66feaab027 rename base.h -> engine.h and fix bugs in codegen 2025-12-19 04:19:00 +01:00
abb32d118a Fix Javascript BigInt to Number bug 2025-12-19 04:09:19 +01:00
5a5252c13a Add README 2025-12-19 04:04:27 +01:00
02b1ca4cfe Make engine dep-free/standalone and add Wasm target 2025-12-19 04:01:32 +01:00
509f58a379 fix mailbox related bug causing king to be capturable 2025-12-17 18:53:35 +01:00
be5ec8d0dc WIP 2025-12-17 14:12:00 +01:00
2f65828ae2 almost working now 2025-12-15 22:51:10 +01:00
25705d6cd6 WIP 2025-12-09 02:34:33 +01:00
fe2e026f1e Initial commit 2025-12-08 18:44:32 +01:00