Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adam-mcdaniel/chess-engine
/ functions
Functions
442 in github.com/adam-mcdaniel/chess-engine
⨍
Functions
442
◇
Types & classes
46
↓ 4 callers
Function
run
(get_cpu_move: fn(&Board) -> Move, starting_board: Board)
examples/chess-web/src/lib.rs:9
↓ 4 callers
Function
run
(get_cpu_move: fn(&Board) -> Move, starting_board: Board)
examples/chess-gui/src/lib.rs:9
↓ 4 callers
Function
s
(...n)
docs/book/highlight.js:6
↓ 4 callers
Function
showSidebar
()
docs/book/book.js:423
↓ 4 callers
Function
takeObject
(idx)
examples/chess-web/wasm/chess-worst/chess-worst.js:19
↓ 4 callers
Function
takeObject
(idx)
examples/chess-web/wasm/chess-random/chess-random.js:19
↓ 4 callers
Function
takeObject
(idx)
examples/chess-web/wasm/chess-best/chess-best.js:19
↓ 4 callers
Function
takeObject
(idx)
examples/chess-web/wasm/chess-horde/chess-horde.js:19
↓ 3 callers
Method
addRule
(e,n)
docs/book/highlight.js:6
↓ 3 callers
Method
build
(self)
src/board.rs:113
↓ 3 callers
Method
closeNode
(e)
docs/book/highlight.js:6
↓ 3 callers
Function
e
(t)
docs/book/clipboard.min.js:7
↓ 3 callers
Method
enable_kingside
(&mut self)
src/board.rs:155
↓ 3 callers
Method
enable_queenside
(&mut self)
src/board.rs:159
↓ 3 callers
Method
get_material_value
(&self)
src/piece.rs:226
↓ 3 callers
Function
get_theme
()
docs/book/book.js:297
↓ 3 callers
Function
h
(e)
docs/book/highlight.js:6
↓ 3 callers
Function
i
(t,e,n,o,r)
docs/book/clipboard.min.js:7
↓ 3 callers
Method
ignoreMatch
()
docs/book/highlight.js:6
↓ 3 callers
Method
is_bishop
(&self)
src/piece.rs:336
↓ 3 callers
Method
is_knight
(&self)
src/piece.rs:342
↓ 3 callers
Method
is_knight_move
(&self, other: Self)
src/position.rs:444
↓ 3 callers
Method
is_starting_pawn
(&self)
src/piece.rs:357
↓ 3 callers
Method
make_move
make a move for current turn
src/game.rs:87
↓ 3 callers
Function
o
docs/book/highlight.js:6
↓ 3 callers
Function
p
(e)
docs/book/highlight.js:6
↓ 3 callers
Function
playground_text
(playground)
docs/book/book.js:7
↓ 3 callers
Function
s
(t,e)
docs/book/clipboard.min.js:7
↓ 3 callers
Function
string
(mem, pointer, length)
examples/chess-web/wasm/chess-worst/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:7
↓ 3 callers
Function
string
(mem, pointer, length)
examples/chess-web/wasm/chess-random/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:7
↓ 3 callers
Function
string
(mem, pointer, length)
examples/chess-web/wasm/chess-best/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:7
↓ 3 callers
Function
string
(mem, pointer, length)
examples/chess-web/wasm/chess-horde/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:7
↓ 3 callers
Method
toJSON
()
docs/book/highlight.js:6
↓ 3 callers
Function
u
(e)
docs/book/highlight.js:6
↓ 3 callers
Function
u
()
docs/book/mark.min.js:7
↓ 3 callers
Function
x
(t,r)
docs/book/highlight.js:6
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
examples/chess-web/wasm/chess-worst/chess-worst.js:521
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
examples/chess-web/wasm/chess-random/chess-random.js:521
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
examples/chess-web/wasm/chess-best/chess-best.js:521
↓ 2 callers
Function
__wbg_finalize_init
(instance, module)
examples/chess-web/wasm/chess-horde/chess-horde.js:521
↓ 2 callers
Function
__wbg_get_imports
()
examples/chess-web/wasm/chess-worst/chess-worst.js:284
↓ 2 callers
Function
__wbg_get_imports
()
examples/chess-web/wasm/chess-random/chess-random.js:284
↓ 2 callers
Function
__wbg_get_imports
()
examples/chess-web/wasm/chess-best/chess-best.js:284
↓ 2 callers
Function
__wbg_get_imports
()
examples/chess-web/wasm/chess-horde/chess-horde.js:284
↓ 2 callers
Function
__wbg_init_memory
(imports, maybe_memory)
examples/chess-web/wasm/chess-worst/chess-worst.js:517
↓ 2 callers
Function
__wbg_init_memory
(imports, maybe_memory)
examples/chess-web/wasm/chess-random/chess-random.js:517
↓ 2 callers
Function
__wbg_init_memory
(imports, maybe_memory)
examples/chess-web/wasm/chess-best/chess-best.js:517
↓ 2 callers
Function
__wbg_init_memory
(imports, maybe_memory)
examples/chess-web/wasm/chess-horde/chess-horde.js:517
↓ 2 callers
Method
add_col
(&self, dcol: i32)
src/position.rs:201
↓ 2 callers
Method
add_row
(&self, drow: i32)
src/position.rs:194
↓ 2 callers
Method
considerAll
()
docs/book/highlight.js:6
↓ 2 callers
Method
diagonal_distance
(&self, other: Self)
src/position.rs:217
↓ 2 callers
Function
doSearchOrMarkFromUrl
()
docs/book/searcher.js:285
↓ 2 callers
Method
enable_all
(&mut self)
src/board.rs:163
↓ 2 callers
Function
fetch_with_timeout
(url, options, timeout = 6000)
docs/book/book.js:19
↓ 2 callers
Function
getInt32Memory0
()
examples/chess-web/wasm/chess-worst/chess-worst.js:174
↓ 2 callers
Function
getInt32Memory0
()
examples/chess-web/wasm/chess-random/chess-random.js:174
↓ 2 callers
Function
getInt32Memory0
()
examples/chess-web/wasm/chess-best/chess-best.js:174
↓ 2 callers
Function
getInt32Memory0
()
examples/chess-web/wasm/chess-horde/chess-horde.js:174
↓ 2 callers
Method
get_castling_rights
(&self, color: Color)
src/board.rs:671
↓ 2 callers
Function
get_cpu_move
(b: &Board, best: bool)
src/bin.rs:18
↓ 2 callers
Function
get_cpu_move
(b: &Board, best: bool)
examples/terminal.rs:18
↓ 2 callers
Method
get_legal_moves
(&self)
src/board.rs:236
↓ 2 callers
Method
get_material_advantage
(&self, color: Color)
src/board.rs:440
↓ 2 callers
Method
get_name
(&self)
src/piece.rs:205
↓ 2 callers
Method
get_text_color
(&self)
examples/chess-web/src/lib.rs:103
↓ 2 callers
Method
get_text_color
(&self)
examples/chess-gui/src/lib.rs:113
↓ 2 callers
Method
get_weighted_value
(&self)
src/piece.rs:246
↓ 2 callers
Method
has_insufficient_material
(&self, color: Color)
src/board.rs:758
↓ 2 callers
Function
hideTooltip
(elem)
docs/book/book.js:562
↓ 2 callers
Function
init
(config)
docs/book/searcher.js:255
↓ 2 callers
Function
isLikeNone
(x)
examples/chess-web/wasm/chess-worst/chess-worst.js:246
↓ 2 callers
Function
isLikeNone
(x)
examples/chess-web/wasm/chess-random/chess-random.js:246
↓ 2 callers
Function
isLikeNone
(x)
examples/chess-web/wasm/chess-best/chess-best.js:246
↓ 2 callers
Function
isLikeNone
(x)
examples/chess-web/wasm/chess-horde/chess-horde.js:246
↓ 2 callers
Method
is_adjacent_to
(&self, other: Self)
src/position.rs:239
↓ 2 callers
Method
is_below
(&self, other: Self)
src/position.rs:254
↓ 2 callers
Method
is_left_of
(&self, other: Self)
src/position.rs:273
↓ 2 callers
Method
is_legal_move
(&self, new_pos: Position, board: &Board)
src/piece.rs:575
↓ 2 callers
Function
l
()
docs/book/highlight.js:6
↓ 2 callers
Function
makeMutClosure
(arg0, arg1, dtor, f)
examples/chess-web/wasm/chess-worst/chess-worst.js:206
↓ 2 callers
Function
makeMutClosure
(arg0, arg1, dtor, f)
examples/chess-web/wasm/chess-random/chess-random.js:206
↓ 2 callers
Function
makeMutClosure
(arg0, arg1, dtor, f)
examples/chess-web/wasm/chess-best/chess-best.js:206
↓ 2 callers
Function
makeMutClosure
(arg0, arg1, dtor, f)
examples/chess-web/wasm/chess-horde/chess-horde.js:206
↓ 2 callers
Method
minimax
Perform minimax on a certain position, and get the minimum or maximum value for a board. To get the best move, you minimize the values of the possible
src/lib.rs:326
↓ 2 callers
Method
move_piece
move a piece and optionally offer a draw
src/game.rs:111
↓ 2 callers
Method
orthogonal_distance
(&self, other: Self)
src/position.rs:229
↓ 2 callers
Method
parse
Try to parse a Move from a string. Possible valid formats include: - `"resign"` - `"resigns"` - `"castle queenside"` - `"O-O-O"` (correct notation) -
src/lib.rs:210
↓ 2 callers
Function
parseURL
(url)
docs/book/searcher.js:68
↓ 2 callers
Function
parse_fen
parse Forsyth–Edwards Notation (FEN) board state more direct than replaying every move from PGN
src/util.rs:118
↓ 2 callers
Method
pawn_back
(&self, ally_color: Color)
src/position.rs:332
↓ 2 callers
Function
removeChildren
(elem)
docs/book/searcher.js:61
↓ 2 callers
Function
renderURL
(urlobject)
docs/book/searcher.js:94
↓ 2 callers
Function
run_rust_code
(code_block)
docs/book/book.js:100
↓ 2 callers
Function
searchbarKeyUpHandler
()
docs/book/searcher.js:401
↓ 2 callers
Function
setSearchUrlParameters
(searchterm, action)
docs/book/searcher.js:422
↓ 2 callers
Function
set_theme
(theme, store = true)
docs/book/book.js:307
↓ 2 callers
Function
showResults
(yes)
docs/book/searcher.js:381
↓ 2 callers
Function
showTooltip
(elem, msg)
docs/book/book.js:567
↓ 2 callers
Method
style
(&self)
examples/chess-web/src/lib.rs:144
← previous
next →
101–200 of 442, ranked by callers