dece
9595d0f435
engine: use rays for move generation
2020-06-23 00:22:29 +02:00
dece
ce62d3ab3a
rules: use generic bitboard move generation
...
For bishops, knights, rooks and queens that is.
2020-06-23 00:22:29 +02:00
dece
5efdd5407b
board: compute move ray bitboards
2020-06-23 00:22:29 +02:00
dece
8b0f4c9255
castling: simplify castle updates
2020-06-20 21:05:54 +02:00
dece
b62dd1c076
rules: factorize move/take checks
2020-06-20 19:56:00 +02:00
dece
d958e617d0
stats: work with bitboards
2020-06-20 18:46:37 +02:00
dece
fce38693bf
bitboard: various changes and test fixes
2020-06-20 03:42:58 +02:00
dece
b4dd16d87d
bitboard: complete moving all code to new structs
2020-06-19 20:27:03 +02:00
dece
5b678dd595
stats: use new structures
2020-06-19 20:00:33 +02:00
dece
4cea0e34e9
rules: use new structures
2020-06-19 19:29:10 +02:00
dece
91e1fbbe21
uci: use new Move struct
2020-06-19 17:46:32 +02:00
dece
e4d2b20e23
notation: rename module to fen
...
Move UCI movement stuff to the Move struct impl.
2020-06-19 17:36:26 +02:00
dece
e114138a48
movement: use bitboards
2020-06-19 02:44:33 +02:00
dece
9c6327ec91
node: use bitboards
2020-06-19 02:11:01 +02:00
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