You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,19 @@
5
5
[Play against Maxwell on Lichess!](https://lichess.org/@/MaxwellOnLC) | [Some of Maxwell's Games](https://www.chess.com/library/collections/maxwells-games-my-chess-engine-2FFU82NM4)
6
6
7
7
## Features
8
+
#### Parameters
9
+
- fen=\<FEN STRING>: Sets up the board by a fen string (Doesn't work for UCI games) (default=STARTING_FEN)
10
+
- debug=\<BOOLEAN>: Toggle debug output that gets outputed per ply (default=true)
11
+
- opening_book=\<BOOLEAN>: Toggle opening book (default=true)
12
+
- time_management=\<BOOLEAN>: Toggle time management, if false the bot will use all the remaining time (default=true)
8
13
#### UCI Interface
9
14
- Only supports games from startpos
10
15
- uci, isready, ucinewgame, position, go, stop, and quit commands
11
16
#### Board Representation
12
17
- Purely bitboards
13
18
- Supports loading from FEN strings
14
19
#### Move Generation
20
+
- Basic handcrafted opening book
15
21
- Magic bitboards for sliding pieces
16
22
- Hardcoded pawn movement
17
23
- Bitboard masks for other pieces calculated at startup
@@ -23,7 +29,7 @@
23
29
- Attacked squares around kings
24
30
#### Move Ordering
25
31
- Hash move / best move from previous iteration
26
-
-Capturing a piece of higher value
32
+
-MVV-LVA
27
33
- 2 Killer moves
28
34
- History heuristic
29
35
- Castling
@@ -33,11 +39,14 @@
33
39
- Iterative deepening
34
40
- Aspiration windows
35
41
- Starts at 40 and multiplies by 4 if out of alpha beta bounds
36
-
- Time management: if less than 7 moves have been played, it uses 2.5% of it's remaining time, otherwise 7%
42
+
- Time management
43
+
- If less than 7 moves have been played, it uses 2.5% of it's remaining time, otherwise 7%
44
+
- This value is then also clamped between 0.25 and 20.0 seconds
37
45
- Exits search if a mate is found within search depth
38
46
- Alpha beta pruning
39
47
- Quiescence search
40
-
- Transposition table: No set max size, but moves get removed after 10 moves
48
+
- Transposition table
49
+
- No set max size, but entries get removed after 10 moves without hits
0 commit comments