We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed6fd4a commit d0832f8Copy full SHA for d0832f8
Assets/Scripts/Core/Move.cs
@@ -2,10 +2,9 @@
2
To preserve memory during search, moves are stored as 16 bit numbers.
3
The format is as follows:
4
5
-bit 0-5: from square (0 to 63)
6
-bit 6-11: to square (0 to 63)
7
-bit 12-13: promotion piece type: rook (0), knight (1), bishop (2), queen (3)
8
-bit 14-15: special move flag: promotion (1), en passant capture (2), castling (3)
+bit 0-5: from square (0 to 63)
+bit 6-11: to square (0 to 63)
+bit 12-15: flag
9
*/
10
namespace Chess {
11
@@ -110,4 +109,4 @@ public string Name {
110
109
}
111
112
113
-}
+}
0 commit comments