Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ParthPant/chess-rs
/ functions
Functions
203 in github.com/ParthPant/chess-rs
⨍
Functions
203
◇
Types & classes
33
↓ 1 callers
Method
get_fullmove_number
(&self)
chrs-lib/src/data/mod.rs:416
↓ 1 callers
Method
get_halfmove_clock
(&self)
chrs-lib/src/data/mod.rs:412
↓ 1 callers
Method
get_is_cursor_in
(&self)
chrs/src/board/events.rs:40
↓ 1 callers
Function
get_king_score
(sq: Square, c: Color)
chrs-lib/src/ai/eval.rs:106
↓ 1 callers
Function
get_knight_score
(sq: Square, c: Color)
chrs-lib/src/ai/eval.rs:85
↓ 1 callers
Method
get_last
(&self)
chrs-lib/src/data/moves.rs:238
↓ 1 callers
Function
get_pawn_score
(sq: Square, c: Color)
chrs-lib/src/ai/eval.rs:78
↓ 1 callers
Method
get_picked_piece
(&self)
chrs/src/board/mod.rs:81
↓ 1 callers
Method
get_pos_prom_box
(&self, pos: &(usize, usize))
chrs/src/board/mod.rs:85
↓ 1 callers
Function
get_rook_score
(sq: Square, c: Color)
chrs-lib/src/ai/eval.rs:99
↓ 1 callers
Method
get_sq_from_pointer
(&self)
chrs/src/board/mod.rs:399
↓ 1 callers
Method
get_user_move
(&mut self)
chrs/src/board/mod.rs:73
↓ 1 callers
Method
load_fen
(&mut self, s: &str)
chrs-lib/src/data/mod.rs:371
↓ 1 callers
Method
make_castle
(&mut self, m: &Move, castle_type: CastleType)
chrs-lib/src/data/mod.rs:219
↓ 1 callers
Method
make_double_push
(&mut self, m: &Move)
chrs-lib/src/data/mod.rs:193
↓ 1 callers
Method
make_en_passant
(&mut self, m: &Move)
chrs-lib/src/data/mod.rs:204
↓ 1 callers
Method
make_normal
(&mut self, m: &Move)
chrs-lib/src/data/mod.rs:186
↓ 1 callers
Method
make_promotion
(&mut self, m: &Move, prom: BoardPiece)
chrs-lib/src/data/mod.rs:256
↓ 1 callers
Method
nega_max
( &mut self, config: &mut BoardConfig, gen: &MoveGenerator, mut alpha: i32,
chrs-lib/src/ai/negamax.rs:72
↓ 1 callers
Function
perft_impl
(depth: usize, config: &mut BoardConfig, gen: &MoveGenerator, divide: bool)
chrs-perft/src/main.rs:10
↓ 1 callers
Method
pop
(&mut self)
chrs-lib/src/data/moves.rs:229
↓ 1 callers
Method
prepare
Prepare egui.
chrs/src/ui/mod.rs:85
↓ 1 callers
Method
quiescence
( &mut self, config: &mut BoardConfig, gen: &MoveGenerator, mut alpha: i32,
chrs-lib/src/ai/negamax.rs:185
↓ 1 callers
Method
remove_from_bitboard
(&mut self, p: BoardPiece, pos: Square)
chrs-lib/src/data/mod.rs:488
↓ 1 callers
Method
resize
Resize egui.
chrs/src/ui/mod.rs:73
↓ 1 callers
Function
rook_relevant_occupancy
(sq: usize)
chrs-lib/src/generator/tables.rs:241
↓ 1 callers
Method
run
()
chrs/src/app.rs:22
↓ 1 callers
Function
score_mvv_lva
(m: &Move)
chrs-lib/src/ai/eval.rs:157
↓ 1 callers
Method
set_black_oo
(&mut self)
chrs-lib/src/data/mod.rs:529
↓ 1 callers
Method
set_black_ooo
(&mut self)
chrs-lib/src/data/mod.rs:541
↓ 1 callers
Method
set_cursor_in
(&mut self)
chrs/src/board/events.rs:72
↓ 1 callers
Method
set_left_pressed
(&mut self)
chrs/src/board/events.rs:52
↓ 1 callers
Method
set_left_released
(&mut self)
chrs/src/board/events.rs:56
↓ 1 callers
Method
set_mate
(&mut self, c: Color)
chrs-lib/src/data/mod.rs:56
↓ 1 callers
Method
set_prom
(&mut self, p: BoardPiece)
chrs-lib/src/data/moves.rs:155
↓ 1 callers
Method
set_right_pressed
(&mut self)
chrs/src/board/events.rs:60
↓ 1 callers
Method
set_right_released
(&mut self)
chrs/src/board/events.rs:64
↓ 1 callers
Method
set_stalemate
(&mut self)
chrs-lib/src/data/mod.rs:60
↓ 1 callers
Method
set_white_oo
(&mut self)
chrs-lib/src/data/mod.rs:505
↓ 1 callers
Method
set_white_ooo
(&mut self)
chrs-lib/src/data/mod.rs:517
↓ 1 callers
Function
try_make_table
( sq: usize, slider: BoardPiece, magic: &MagicEntry, )
chrs-lib/src/generator/tables.rs:149
↓ 1 callers
Method
ui
Create the UI using egui.
chrs/src/ui/gui.rs:29
↓ 1 callers
Method
undo_castle
(&mut self, commit: &MoveCommit, castle_type: CastleType)
chrs-lib/src/data/mod.rs:317
↓ 1 callers
Method
undo_double_push
(&mut self, commit: &MoveCommit)
chrs-lib/src/data/mod.rs:313
↓ 1 callers
Method
undo_en_passant
(&mut self, commit: &MoveCommit)
chrs-lib/src/data/mod.rs:353
↓ 1 callers
Method
undo_normal
(&mut self, commit: &MoveCommit)
chrs-lib/src/data/mod.rs:306
↓ 1 callers
Method
undo_promotion
(&mut self, commit: &MoveCommit, prom: BoardPiece)
chrs-lib/src/data/mod.rs:342
↓ 1 callers
Method
unset
(&mut self, sq: Square)
chrs-lib/src/data/bitboard.rs:28
↓ 1 callers
Method
unset_cursor_in
(&mut self)
chrs/src/board/events.rs:68
↓ 1 callers
Method
update_mouse_state
(&mut self, e: BoardEvent)
chrs/src/board/mod.rs:373
↓ 1 callers
Method
update_pos
(&mut self, p: (usize, usize))
chrs/src/board/events.rs:24
↓ 1 callers
Method
update_state
(&self, config: &mut BoardConfig)
chrs-lib/src/generator/mod.rs:54
Method
bitand
(self, rhs: Self)
chrs-lib/src/data/bitboard.rs:127
Method
bitand_assign
(&mut self, rhs: Self)
chrs-lib/src/data/bitboard.rs:133
Method
bitor
(self, rhs: Self)
chrs-lib/src/data/bitboard.rs:113
Method
bitor_assign
(&mut self, rhs: Self)
chrs-lib/src/data/bitboard.rs:119
Method
clear
(&mut self)
chrs-lib/src/data/moves.rs:216
Method
default
()
chrs-lib/src/generator/mod.rs:17
Method
default
()
chrs-lib/src/data/moves.rs:32
Method
default
()
chrs-lib/src/data/mod.rs:42
Method
default
()
chrs-lib/src/ai/negamax.rs:24
Method
default
()
chrs/src/cache.rs:9
Method
default
()
chrs/src/board/mod.rs:48
Method
deref
(&self)
chrs-lib/src/data/moves.rs:269
Method
deref
(&self)
chrs-lib/src/data/bitboard.rs:12
Method
deref_mut
(&mut self)
chrs-lib/src/data/moves.rs:275
Method
deref_mut
(&mut self)
chrs-lib/src/data/bitboard.rs:18
Method
eq
(&self, other: &u64)
chrs-lib/src/data/bitboard.rs:73
Method
fmt
(&self, f: &mut Formatter<'_>)
chrs-lib/src/data/moves.rs:44
Method
fmt
(&self, f: &mut std::fmt::Formatter<'_>)
chrs-lib/src/data/bitboard.rs:91
Method
from
(value: BitBoard)
chrs-lib/src/data/bitboard.rs:79
Method
from_fen_str
(s: &str)
chrs-lib/src/data/mod.rs:367
Method
get_bit_board
(&self, c: char)
chrs-lib/src/data/mod.rs:420
Method
get_delta
(&self)
chrs/src/board/events.rs:48
Method
get_font_src
()
chrs/src/board/mod.rs:408
Method
get_glyph_path
(p: &BoardPiece)
chrs/src/board/mod.rs:368
Method
get_is_right_pressed
(&self)
chrs/src/board/events.rs:36
Method
get_last_commit
(&self)
chrs-lib/src/data/mod.rs:103
Method
get_piece_from_c
(c: char)
chrs-lib/src/data/fen.rs:68
Method
get_sq_from_code
(s: &str)
chrs-lib/src/data/fen.rs:77
Method
get_stats
(&self)
chrs-lib/src/ai/negamax.rs:248
Method
get_svg_src
(filename: &str)
chrs/src/board/mod.rs:414
Method
handle_event
(&mut self, e: BoardEvent, config: &BoardConfig)
chrs/src/board/mod.rs:98
Method
infer
(from: Square, to: Square, c: &BoardConfig)
chrs-lib/src/data/moves.rs:85
Function
main
()
chrs/src/main.rs:10
Function
main
()
chrs-perft/src/main.rs:40
Method
make_config
TODO: Return Result with custom error type
chrs-lib/src/data/fen.rs:99
Method
make_config_from_str
(s: &str)
chrs-lib/src/data/fen.rs:13
Method
make_fen_from_config
(c: &BoardConfig)
chrs-lib/src/data/fen.rs:17
Method
make_move
(&mut self, prev: Square, new: Square)
chrs-lib/src/data/bitboard.rs:36
Method
new
( from: Square, to: Square, p: BoardPiece, capture: Option<BoardPiece>,
chrs-lib/src/data/moves.rs:53
Method
new
(depth: usize, qdepth: usize)
chrs-lib/src/ai/negamax.rs:46
Method
new
Create egui.
chrs/src/ui/mod.rs:33
Method
new
Create a `Gui`.
chrs/src/ui/gui.rs:19
Method
new_prom
( from: Square, to: Square, p: BoardPiece, capture: Option<BoardPiece>,
chrs-lib/src/data/moves.rs:69
Method
not
(self)
chrs-lib/src/data/bitboard.rs:159
Method
not
(self)
chrs-lib/src/data/piece.rs:13
Method
print_board
(&self)
chrs-lib/src/data/mod.rs:52
Method
shl
(self, Self(rhs): Self)
chrs-lib/src/data/bitboard.rs:150
Method
shr
(self, Self(rhs): Self)
chrs-lib/src/data/bitboard.rs:141
← previous
next →
101–200 of 203, ranked by callers