Skip to content

Commit 4495d37

Browse files
committed
Update README
1 parent 72e2793 commit 4495d37

File tree

3 files changed

+21
-11
lines changed

3 files changed

+21
-11
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,32 @@ is currently mainly used to re-implement the following historical chess engines:
55

66
### TUROCHAMP (1948) by Alan Turing and David Champernowne
77

8-
Turochamp uses a full search with an unbounded
9-
quiescence search of "considerable moves" using material ratio and position play heuristics:
8+
Turochamp is an implementation of Turing's original "paper" chess engine. Turochamp uses a full
9+
search with an unbounded quiescence search of "considerable moves" using material ratio and position
10+
play heuristics:
1011

1112
* [turochamp-1ply](https://lichess.org/@/turochamp-1ply). Rating ~1300 (blitz/rapid).
12-
* [turochamp-2ply](https://lichess.org/@/turochamp-2ply). Rating ~1600 (blitz/rapid).
13+
* [turochamp-2ply](https://lichess.org/@/turochamp-2ply). Rating ~1400 (blitz/rapid).
1314

1415
### BERNSTEIN (1957) by Alex Bernstein, Michael de V. Roberts, Timothy Arbuckle and Martin Belsky
1516

16-
Bernstein uses a selective search of "plausible moves":
17+
Bernstein is a re-implementation of the first complete chess engine: Bernstein's chess program on
18+
the IBM 704. Bernstein uses a selective search limited to 7 "plausible moves" for computational feasibility:
1719

18-
* [bernstein-2ply](https://lichess.org/@/bernstein-2ply)
19-
* [bernstein-4ply](https://lichess.org/@/bernstein-4ply)
20+
* [bernstein-2ply](https://lichess.org/@/bernstein-2ply). Rating ~1200 (blitz/rapid).
21+
* [bernstein-4ply](https://lichess.org/@/bernstein-4ply). Rating ~1400 (blitz/rapid).
2022

2123
### SARGON (1978) by Dan and Kathe Spracklen
2224

23-
Sargon uses a full search with material exchange, king/queen pins and board control heuristics:
25+
Sargon is a re-implementation of Spracklens' early commercial chess engine. Sargon uses a full
26+
search with material exchange, king/queen pins and board control heuristics:
2427

2528
* [sargon-1ply](https://lichess.org/@/sargon-1ply). Rating ~1300 (blitz/rapid).
2629
* [sargon-2ply](https://lichess.org/@/sargon-2ply). Rating ~1400 (blitz/rapid).
27-
* [sargon-3ply](https://lichess.org/@/sargon-3ply). Rating ~1700 (blitz/rapid).
28-
* [sargon-4ply](https://lichess.org/@/sargon-4ply). Rating ~1800 (blitz/rapid).
30+
* [sargon-3ply](https://lichess.org/@/sargon-3ply). Rating ~1500 (blitz/rapid).
31+
* [sargon-4ply](https://lichess.org/@/sargon-4ply). Rating ~1600 (blitz/rapid).
2932

3033
Each engine can be played 24/7 for free on [lichess.org](https://lichess.org). They have quirks, blind spots and limitations,
3134
which is part of their charm -- and play at low search depths to entertain rather than win.
3235

33-
_November 2023_
36+
_December 2023_

VERSION

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@
66
// Henning Korsholm Rohde <herohde@seekerror.org>
77
//
88

9+
### 25. nov 2023; Version 0.90 ###
10+
- Added BERNSTEIN. Running as "bernstein-2ply" and "bernstein-4ply" on lichess.org. Odd ply only due to no QS.
11+
- Noticed that ratings are depressed after allowing bot opponents.
12+
13+
TODO:
14+
- Transposition tables are flawed. Disabled for now, but that limits sargon-3/4ply.
15+
916
### 21. apr 2021; Version 0.89 ###
1017
- Added transposition tables and move ordering w/ hash hit.
1118
- Tweaked SARGON and TUROCHAMP evaluations based on dubious moves on lichess.

cmd/bernstein/bernstein/search.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func (p PlausibleMoveTable) Explore(ctx context.Context, b *board.Board) (board.
1616
}
1717

1818
func truncate[T any](list []T, limit int) []T {
19-
if len(list) > limit {
19+
if limit > 0 && len(list) > limit {
2020
return list[:limit]
2121
}
2222
return list

0 commit comments

Comments
 (0)