Commit graph

41 commits

Author SHA1 Message Date
dece ea58c72436 board: make all board types use bitboards 2020-06-19 02:07:32 +02:00
dece 8485714a24 board: use bitboards struct 2020-06-19 02:07:29 +02:00
dece a2ae6d6e73 readme: update with todos 2020-06-18 22:37:53 +02:00
dece d94db7708f analysis: consider time constraints
Basic math for the limited time. Search is cut without caution, and as
we are using a depth-first search it might lead to awful moves, but at
least Vatu does not lose on time in 100% of bullets.
2020-06-18 22:23:43 +02:00
dece c0ff3a9794 docker: add build/run Dockerfile
The image builds Vatu and can run it on Lichess.
2020-06-18 13:14:01 +02:00
dece a426e2f777 analysis: provide "nodes" and "nps" UCI info 2020-06-15 02:33:08 +02:00
dece 685039d98a analysis: use negamax with alpha-beta 2020-06-15 01:27:31 +02:00
dece 56e7450c7e movement: fix castling issue
A rook taken without moving would not have it's castling option removed.
2020-06-14 23:56:42 +02:00
dece 938fcde9fa engine: use negamax
Move a lot of stuff around for better organisation and rewrite engine
analysis / evaluation to be a bit more side agnostic.
2020-06-14 20:32:40 +02:00
dece e1b1642d37 engine: use DashMap for sharing evaluated nodes 2020-06-14 13:59:28 +02:00
dece 6b34395e5b readme: add incomplete todo list 2020-06-14 03:04:01 +02:00
dece 39c3bc8786 analysis: move analysis code to its own module 2020-06-14 01:33:11 +02:00
dece ea2e7ead91 res: delete a test FEN file 2020-06-12 00:00:40 +02:00
dece fd63deb0c0 stats: calculate mobility (slowwww) 2020-06-11 21:09:02 +02:00
dece 6f87c9343d stats: move BoardStats to their own module 2020-06-11 20:50:32 +02:00
dece d8fa2f74ec engine: move stats out of Node 2020-06-11 20:42:32 +02:00
dece c3f4c80631 engine: implement basic minimax 2020-06-11 20:40:08 +02:00
dece 7f1890608d engine: enhance debug output 2020-06-11 19:33:18 +02:00
dece b334d55abf rules: rework castling rules 2020-06-11 19:32:47 +02:00
dece cef59b9913 rules: fix promotion when applying a move 2020-06-09 23:23:22 +02:00
dece c4f5412cd4 rules: disable castling when king/rook moves 2020-06-09 23:09:27 +02:00
dece a8a680b944 engine: fix evaluation formula typo 2020-06-06 01:28:05 +02:00
dece 25b1164644 rules: fix castling issue 2020-06-06 01:27:19 +02:00
dece 659094b269 engine: fix wrong best move selection 2020-06-06 00:58:11 +02:00
dece 5ff467f899 rules: kinda handle castling 2020-06-06 00:47:07 +02:00
Adrien Abraham 21aae1d9ba engine: create Node type for easier analysis 2020-06-05 18:46:08 +02:00
dece 362e23e254 res: add UCI specs and Shannon paper 2020-06-05 09:23:50 +02:00
dece 09e3700e3a rules: castling WIP 2020-06-05 09:21:33 +02:00
dece 769f7e0d94 engine: basic Shannon board evaluation and stats 2020-06-05 09:00:53 +02:00
dece ecf122ab6e cli: remove module, too lazy to maintain 2020-06-04 19:36:18 +02:00
dece 0daece72d3 rules: handle pawn promotion 2020-06-04 19:36:18 +02:00
dece 8310e0c1e7 engine: correctly manage some go subcommands 2020-06-04 18:58:00 +02:00
dece 5771930e97 engine: cleaning 2020-06-03 22:32:30 +02:00
dece 5d61db1fba engine: handle position and go UCI commands 2020-06-03 18:31:50 +02:00
dece ee06bfef0b uci: threaded setup
Properly (I hope so) thread standard input and engine communications.
2020-06-03 09:55:41 +02:00
dece f6851f6ef7 uci: threading WIP 2020-06-01 20:52:28 +02:00
dece 8c0a083cb0 uci: handle basic position command 2020-06-01 14:26:23 +02:00
dece d72042e455 uci: start working on interface 2020-06-01 04:24:46 +02:00
dece 7d83efe953 cli: basic games over the command-line 2020-06-01 00:43:05 +02:00
dece 2a4f46e5aa rules: find basic illegal moves 2020-05-31 19:00:56 +02:00
dece ce16748258 init: board and basic move rules 2020-05-31 02:41:02 +02:00