Move Notes and ChessPieces docs to a doc directory
This commit is contained in:
parent
90266f2dd0
commit
1ebe7d10de
2 changed files with 0 additions and 0 deletions
47
doc/ChessPieces.txt
Normal file
47
doc/ChessPieces.txt
Normal file
|
@ -0,0 +1,47 @@
|
|||
♔
|
||||
WHITE CHESS KING
|
||||
Unicode: U+2654, UTF-8: E2 99 94
|
||||
|
||||
♕
|
||||
WHITE CHESS QUEEN
|
||||
Unicode: U+2655, UTF-8: E2 99 95
|
||||
|
||||
♖
|
||||
WHITE CHESS ROOK
|
||||
Unicode: U+2656, UTF-8: E2 99 96
|
||||
|
||||
♗
|
||||
WHITE CHESS BISHOP
|
||||
Unicode: U+2657, UTF-8: E2 99 97
|
||||
|
||||
♘
|
||||
WHITE CHESS KNIGHT
|
||||
Unicode: U+2658, UTF-8: E2 99 98
|
||||
|
||||
♙
|
||||
WHITE CHESS PAWN
|
||||
Unicode: U+2659, UTF-8: E2 99 99
|
||||
|
||||
♚
|
||||
BLACK CHESS KING
|
||||
Unicode: U+265A, UTF-8: E2 99 9A
|
||||
|
||||
♛
|
||||
BLACK CHESS QUEEN
|
||||
Unicode: U+265B, UTF-8: E2 99 9B
|
||||
|
||||
♜
|
||||
BLACK CHESS ROOK
|
||||
Unicode: U+265C, UTF-8: E2 99 9C
|
||||
|
||||
♝
|
||||
BLACK CHESS BISHOP
|
||||
Unicode: U+265D, UTF-8: E2 99 9D
|
||||
|
||||
♞
|
||||
BLACK CHESS KNIGHT
|
||||
Unicode: U+265E, UTF-8: E2 99 9E
|
||||
|
||||
♟
|
||||
chess pawn
|
||||
Unicode: U+265F, UTF-8: E2 99 9F
|
41
doc/Notes.md
Normal file
41
doc/Notes.md
Normal file
|
@ -0,0 +1,41 @@
|
|||
Notes on Building Chess Engines
|
||||
===============================
|
||||
|
||||
BitBoards
|
||||
---------
|
||||
|
||||
### Mapping
|
||||
|
||||
Little-Endian Rank-File (LERF) Mapping maps squares to bit offsets (or indexes) from a1 to h8.
|
||||
|
||||
```
|
||||
+-----------------+
|
||||
8| 0 0 0 0 0 0 0 0 |
|
||||
7| 0 0 0 0 0 0 0 0 |
|
||||
6| 0 0 0 0 0 0 0 0 |
|
||||
5| 0 0 0 0 0 0 0 0 |
|
||||
4| 0 0 0 0 0 0 0 0 |
|
||||
3| 0 0 0 0 0 0 0 0 |
|
||||
2| 0 0 0 0 0 0 0 0 |
|
||||
1| 0 0 0 0 0 0 0 0 |
|
||||
+-----------------+
|
||||
A B C D E F G H
|
||||
```
|
||||
|
||||
```
|
||||
+-----------------+
|
||||
8| 1 0 0 0 0 0 0 0 |
|
||||
7| 1 0 0 0 0 0 0 0 |
|
||||
6| 1 0 0 0 0 0 0 0 |
|
||||
5| 1 0 0 0 0 0 0 0 |
|
||||
4| 1 0 0 0 0 0 0 0 |
|
||||
3| 1 0 0 0 0 0 0 0 |
|
||||
2| 1 0 0 0 0 0 0 0 |
|
||||
1| 1 0 0 0 0 0 0 0 |
|
||||
+-----------------+
|
||||
A B C D E F G H
|
||||
```
|
||||
|
||||
### Counting Bit Sets
|
||||
|
||||
https://graphics.stanford.edu/%7Eseander/bithacks.html#CountBitsSetParallel
|
Loading…
Add table
Add a link
Reference in a new issue