MCPcopy Create free account

hub / github.com/adam-mcdaniel/chess-engine / functions

Functions442 in github.com/adam-mcdaniel/chess-engine

↓ 48 callersFunctiongetObject
(idx)
examples/chess-web/wasm/chess-worst/chess-worst.js:9
↓ 48 callersFunctiongetObject
(idx)
examples/chess-web/wasm/chess-random/chess-random.js:9
↓ 48 callersFunctiongetObject
(idx)
examples/chess-web/wasm/chess-best/chess-best.js:9
↓ 48 callersFunctiongetObject
(idx)
examples/chess-web/wasm/chess-horde/chess-horde.js:9
↓ 39 callersFunctionr
(e,...n)
docs/book/highlight.js:6
↓ 38 callersFunctionaddHeapObject
(obj)
examples/chess-web/wasm/chess-worst/chess-worst.js:43
↓ 38 callersFunctionaddHeapObject
(obj)
examples/chess-web/wasm/chess-random/chess-random.js:43
↓ 38 callersFunctionaddHeapObject
(obj)
examples/chess-web/wasm/chess-best/chess-best.js:43
↓ 38 callersFunctionaddHeapObject
(obj)
examples/chess-web/wasm/chess-horde/chess-horde.js:43
↓ 29 callersMethodget_piece
(&self, pos: Position)
src/board.rs:469
↓ 27 callersMethodadd
(e)
docs/book/highlight.js:6
↓ 23 callersMethodexec
(e)
docs/book/highlight.js:6
↓ 23 callersMethodget_color
(&self)
src/piece.rs:292
↓ 22 callersFunctionn
(n,t)
docs/book/highlight.js:6
↓ 21 callersMethodpiece
(mut self, piece: Piece)
src/board.rs:53
↓ 20 callersMethodnext_left
(&self)
src/position.rs:343
↓ 20 callersMethodnext_right
(&self)
src/position.rs:354
↓ 16 callersMethodget_row
(&self)
src/position.rs:184
↓ 16 callersMethodhas_no_piece
(&self, pos: Position)
src/board.rs:511
↓ 15 callersFunctiontop
(stack)
examples/chess-web/wasm/chess-worst/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:3
↓ 15 callersFunctiontop
(stack)
examples/chess-web/wasm/chess-random/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:3
↓ 15 callersFunctiontop
(stack)
examples/chess-web/wasm/chess-best/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:3
↓ 15 callersFunctiontop
(stack)
examples/chess-web/wasm/chess-horde/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:3
↓ 13 callersMethodplay_move
Play a move and confirm it is legal.
src/board.rs:832
↓ 12 callersFunctiona
(e)
docs/book/highlight.js:6
↓ 12 callersMethodfrom
(move_str: &str)
src/game.rs:20
↓ 12 callersMethodget_pos
(&self)
src/piece.rs:305
↓ 12 callersFunctionhandleError
(f, args)
examples/chess-web/wasm/chess-worst/chess-worst.js:238
↓ 12 callersFunctionhandleError
(f, args)
examples/chess-web/wasm/chess-random/chess-random.js:238
↓ 12 callersFunctionhandleError
(f, args)
examples/chess-web/wasm/chess-best/chess-best.js:238
↓ 12 callersFunctionhandleError
(f, args)
examples/chess-web/wasm/chess-horde/chess-horde.js:238
↓ 12 callersFunctiont
(e)
docs/book/highlight.js:6
↓ 11 callersMethodget_current_player_color
(&self)
src/board.rs:226
↓ 11 callersMethodis_orthogonal_to
(&self, other: Self)
src/position.rs:223
↓ 11 callersMethodnext_above
(&self)
src/position.rs:305
↓ 11 callersMethodnext_below
(&self)
src/position.rs:294
↓ 10 callersFunctione
(n)
docs/book/highlight.js:6
↓ 10 callersMethodgetCachedString
(id)
examples/chess-web/wasm/chess-worst/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:347
↓ 10 callersMethodgetCachedString
(id)
examples/chess-web/wasm/chess-random/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:347
↓ 10 callersMethodgetCachedString
(id)
examples/chess-web/wasm/chess-best/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:347
↓ 10 callersMethodgetCachedString
(id)
examples/chess-web/wasm/chess-horde/snippets/dodrio-f9c304c889d98e4f/js/change-list-interpreter.js:347
↓ 10 callersMethodget_col
(&self)
src/position.rs:189
↓ 10 callersMethodhas_ally_piece
(&self, pos: Position, ally_color: Color)
src/board.rs:478
↓ 10 callersMethodis_king
(&self)
src/piece.rs:318
↓ 10 callersMethodpawn_up
(&self, ally_color: Color)
src/position.rs:317
↓ 9 callersMethodis_diagonal_to
(&self, other: Self)
src/position.rs:209
↓ 9 callersMethodis_in_check
(&self, color: Color)
src/board.rs:557
↓ 9 callersMethodis_threatened
Is a square threatened by an enemy piece?
src/board.rs:529
↓ 9 callersFunctiont
(e,t)
docs/book/mark.min.js:7
↓ 8 callersMethodhas_piece
(&self, pos: Position)
src/board.rs:504
↓ 8 callersMethodis_on_board
(&self)
src/position.rs:171
↓ 7 callersMethodapply_move
(&self, m: Move)
src/board.rs:781
↓ 7 callersMethodget_king_pos
If there is a king on the board, return the position that it sits on.
src/board.rs:516
↓ 7 callersFunctionn
()
docs/book/clipboard.min.js:7
↓ 7 callersFunctiono
(t,e)
docs/book/clipboard.min.js:7
↓ 6 callersMethodaddText
(e)
docs/book/highlight.js:6
↓ 6 callersMethodchange_turn
(mut self)
src/board.rs:776
↓ 6 callersFunctiond
(e)
docs/book/highlight.js:6
↓ 6 callersFunctiongetStringFromWasm0
(ptr, len)
examples/chess-web/wasm/chess-worst/chess-worst.js:38
↓ 6 callersFunctiongetStringFromWasm0
(ptr, len)
examples/chess-web/wasm/chess-random/chess-random.js:38
↓ 6 callersFunctiongetStringFromWasm0
(ptr, len)
examples/chess-web/wasm/chess-best/chess-best.js:38
↓ 6 callersFunctiongetStringFromWasm0
(ptr, len)
examples/chess-web/wasm/chess-horde/chess-horde.js:38
↓ 6 callersMethodget_best_next_move
Get the best move for the current player with `depth` number of moves of lookahead. This method returns 1. The best move 2. The number of boards eval
src/lib.rs:256
↓ 6 callersMethodget_legal_moves
(&self, board: &Board)
src/piece.rs:413
↓ 6 callersMethodget_worst_next_move
Get the best move for the current player with `depth` number of moves of lookahead. This method returns 1. The best move 2. The number of boards eval
src/lib.rs:292
↓ 6 callersFunctioni
(e,n)
docs/book/highlight.js:6
↓ 6 callersMethodis_off_board
(&self)
src/position.rs:177
↓ 6 callersFunctionm
(e,n,t={})
docs/book/highlight.js:6
↓ 6 callersMethodmove_piece
(&self, from: Position, to: Position, promotion: Option<Piece>)
src/board.rs:565
↓ 6 callersMethodrow
(mut self, piece: Piece)
src/board.rs:25
↓ 6 callersFunctionshowSearch
(yes)
docs/book/searcher.js:367
↓ 5 callersFunctionT
(e)
docs/book/highlight.js:6
↓ 5 callersMethoddisable_all
(&mut self)
src/board.rs:150
↓ 5 callersFunctione
(e,t)
docs/book/mark.min.js:7
↓ 5 callersMethodget_square
(&mut self, pos: Position)
src/board.rs:457
↓ 5 callersMethodget_turn_color
convenience accessor for board.get_turn_color
src/game.rs:82
↓ 5 callersMethodis_empty
(&self)
src/square.rs:21
↓ 5 callersMethodis_pawn
(&self)
src/piece.rs:348
↓ 4 callersFunctionS
(e,n)
docs/book/highlight.js:6
↓ 4 callersMethodapply_eval_move
(&self, m: Move)
src/board.rs:231
↓ 4 callersMethodcan_kingside_castle
(&self)
src/board.rs:134
↓ 4 callersMethodcan_queenside_castle
(&self)
src/board.rs:138
↓ 4 callersMethoddiagonals_to
Get the list of positions from this position to another position, moving diagonally. This does _not_ include the `from` position, and includes the `t
src/position.rs:383
↓ 4 callersMethoddisable_kingside
(&mut self)
src/board.rs:142
↓ 4 callersMethoddisable_queenside
(&mut self)
src/board.rs:146
↓ 4 callersFunctiongetUint8Memory0
()
examples/chess-web/wasm/chess-worst/chess-worst.js:31
↓ 4 callersFunctiongetUint8Memory0
()
examples/chess-web/wasm/chess-random/chess-random.js:31
↓ 4 callersFunctiongetUint8Memory0
()
examples/chess-web/wasm/chess-best/chess-best.js:31
↓ 4 callersFunctiongetUint8Memory0
()
examples/chess-web/wasm/chess-horde/chess-horde.js:31
↓ 4 callersMethodget_bg_color
(&self, is_selected: bool)
examples/chess-web/src/lib.rs:87
↓ 4 callersMethodget_bg_color
(&self, is_selected: bool)
examples/chess-gui/src/lib.rs:97
↓ 4 callersMethodget_en_passant
Get the position of the En-Passant square
src/board.rs:398
↓ 4 callersFunctionhasFocus
()
docs/book/searcher.js:57
↓ 4 callersMethodhas_enemy_piece
(&self, pos: Position, ally_color: Color)
src/board.rs:493
↓ 4 callersFunctionhideSidebar
()
docs/book/book.js:445
↓ 4 callersFunctionhideThemes
()
docs/book/book.js:291
↓ 4 callersMethodmove_to
(&self, new_pos: Position)
src/piece.rs:398
↓ 4 callersMethodopenNode
(e)
docs/book/highlight.js:6
↓ 4 callersMethodorthogonals_to
Get the list of positions from this position to another position, moving orthogonally. This does _not_ include the `from` position, and includes the
src/position.rs:416
↓ 4 callersFunctionr
(t)
docs/book/clipboard.min.js:7
next →1–100 of 442, ranked by callers