Skip to content

Commit c0f36f5

Browse files
committed
added stockfish nnue support and dropped cmake support
1 parent e68a692 commit c0f36f5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+11438
-3553
lines changed

.clang-format

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
AccessModifierOffset: -1
2+
AlignAfterOpenBracket: Align
3+
AlignConsecutiveAssignments: Consecutive
4+
AlignConsecutiveDeclarations: Consecutive
5+
AlignEscapedNewlines: DontAlign
6+
AlignOperands: AlignAfterOperator
7+
AlignTrailingComments: true
8+
AllowAllParametersOfDeclarationOnNextLine: true
9+
AllowShortCaseLabelsOnASingleLine: false
10+
AllowShortEnumsOnASingleLine: false
11+
AllowShortIfStatementsOnASingleLine: false
12+
BreakTemplateDeclarations: Yes
13+
BasedOnStyle: WebKit
14+
BitFieldColonSpacing: After
15+
BinPackParameters: false
16+
BreakBeforeBinaryOperators: NonAssignment
17+
BreakBeforeBraces: Custom
18+
BraceWrapping:
19+
AfterFunction: false
20+
AfterClass: false
21+
AfterControlStatement: true
22+
BeforeElse: true
23+
BreakBeforeTernaryOperators: true
24+
BreakConstructorInitializers: AfterColon
25+
BreakStringLiterals: false
26+
ColumnLimit: 100
27+
ContinuationIndentWidth: 2
28+
Cpp11BracedListStyle: true
29+
IndentGotoLabels: false
30+
IndentPPDirectives: BeforeHash
31+
IndentWidth: 4
32+
MaxEmptyLinesToKeep: 2
33+
NamespaceIndentation: None
34+
PackConstructorInitializers: Never
35+
ReflowComments: false
36+
SortIncludes: false
37+
SortUsingDeclarations: false
38+
SpaceAfterCStyleCast: true
39+
SpaceAfterTemplateKeyword: false
40+
SpaceBeforeCaseColon: true
41+
SpaceBeforeCpp11BracedList: false
42+
SpaceBeforeInheritanceColon: false
43+
SpaceInEmptyBlock: false
44+
SpacesBeforeTrailingComments: 2

.gitignore

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Ignore everything
2-
*
3-
4-
# But not these directories and files
5-
!*.cpp
6-
!*.hpp
7-
!*.h
8-
!Makefile
9-
!README.md
10-
!LICENSE
11-
!.gitignore
12-
!CMakeLists.txt
2+
!COPYING
3+
src/*.nnue
4+
src/*.o
5+
src/cppchess_engine
6+
!src/*.cpp
7+
!src/*.hpp
8+
!src/*.h
9+
!src/layers/*
10+
!src/features/half_ka_v2_hm.cpp
11+
!src/features/half_ka_v2_hm.h
12+
!scripts

.vscode/settings.json

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"files.associations": {
3+
"cmath": "cpp",
4+
"array": "cpp",
5+
"bitset": "cpp",
6+
"cwchar": "cpp",
7+
"unordered_map": "cpp",
8+
"vector": "cpp",
9+
"exception": "cpp",
10+
"fstream": "cpp",
11+
"functional": "cpp",
12+
"initializer_list": "cpp",
13+
"iosfwd": "cpp",
14+
"istream": "cpp",
15+
"new": "cpp",
16+
"sstream": "cpp",
17+
"stdexcept": "cpp",
18+
"tuple": "cpp",
19+
"any": "cpp",
20+
"atomic": "cpp",
21+
"hash_map": "cpp",
22+
"bit": "cpp",
23+
"cctype": "cpp",
24+
"charconv": "cpp",
25+
"chrono": "cpp",
26+
"clocale": "cpp",
27+
"codecvt": "cpp",
28+
"compare": "cpp",
29+
"complex": "cpp",
30+
"concepts": "cpp",
31+
"condition_variable": "cpp",
32+
"cstdarg": "cpp",
33+
"cstddef": "cpp",
34+
"cstdint": "cpp",
35+
"cstdio": "cpp",
36+
"cstdlib": "cpp",
37+
"cstring": "cpp",
38+
"ctime": "cpp",
39+
"cwctype": "cpp",
40+
"deque": "cpp",
41+
"forward_list": "cpp",
42+
"list": "cpp",
43+
"map": "cpp",
44+
"set": "cpp",
45+
"string": "cpp",
46+
"unordered_set": "cpp",
47+
"algorithm": "cpp",
48+
"iterator": "cpp",
49+
"memory": "cpp",
50+
"memory_resource": "cpp",
51+
"numeric": "cpp",
52+
"optional": "cpp",
53+
"random": "cpp",
54+
"ratio": "cpp",
55+
"string_view": "cpp",
56+
"system_error": "cpp",
57+
"type_traits": "cpp",
58+
"utility": "cpp",
59+
"format": "cpp",
60+
"iomanip": "cpp",
61+
"iostream": "cpp",
62+
"limits": "cpp",
63+
"mutex": "cpp",
64+
"numbers": "cpp",
65+
"ostream": "cpp",
66+
"queue": "cpp",
67+
"ranges": "cpp",
68+
"semaphore": "cpp",
69+
"span": "cpp",
70+
"stop_token": "cpp",
71+
"streambuf": "cpp",
72+
"text_encoding": "cpp",
73+
"thread": "cpp",
74+
"cfenv": "cpp",
75+
"cinttypes": "cpp",
76+
"typeinfo": "cpp",
77+
"valarray": "cpp",
78+
"variant": "cpp"
79+
}
80+
}

CMakeLists.txt

Lines changed: 0 additions & 76 deletions
This file was deleted.

0 commit comments

Comments
 (0)