Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/benletchford/stratego.io
/ functions
Functions
127 in github.com/benletchford/stratego.io
⨍
Functions
127
◇
Types & classes
27
Function
move_handler
( State(state): State<Arc<AppState>>, Form(form): Form<MoveForm>, )
src/api.rs:151
Method
new
()
client/src/poll.rs:18
Method
new
(rank: &str, side: i32)
src/models.rs:39
Method
new
(data_dir: &Path)
src/storage.rs:20
Function
pool_join_handler
( State(state): State<Arc<AppState>>, Form(form): Form<PoolJoinForm>, )
src/api.rs:317
Function
pool_leave_handler
( State(state): State<Arc<AppState>>, Form(form): Form<PoolLeaveForm>, )
src/api.rs:468
Function
pool_status_handler
( State(state): State<Arc<AppState>>, Query(query): Query<PoolStatusQuery>, )
src/api.rs:421
Function
render_cell_piece
(cell: &Cell)
client/src/components/grid.rs:216
Method
reverse_board
Reverse the entire board 180 degrees
src/models.rs:170
Method
set_piece
(&mut self, pos: &Position, cell: Cell)
src/models.rs:90
Function
test_attack_draw
()
src/game_logic.rs:355
Function
test_attack_lost
()
src/game_logic.rs:346
Function
test_attack_won
()
src/game_logic.rs:337
Function
test_basic_move
()
src/game_logic.rs:312
Function
test_cannot_move_bomb
()
src/game_logic.rs:320
Function
test_cannot_move_flag
()
src/game_logic.rs:329
Function
test_cannot_move_onto_water
()
src/game_logic.rs:434
Function
test_capture_flag
()
src/game_logic.rs:364
Function
test_diagonal_move_rejected
()
src/game_logic.rs:426
Function
test_miner_beats_bomb
()
src/game_logic.rs:373
Function
test_non_miner_loses_to_bomb
()
src/game_logic.rs:382
Function
test_scout_blocked
()
src/game_logic.rs:417
Function
test_scout_multi_square_move
()
src/game_logic.rs:409
Function
test_spy_kills_marshal
()
src/game_logic.rs:391
Function
test_spy_loses_to_non_marshal
()
src/game_logic.rs:400
Function
test_wrong_turn
()
src/game_logic.rs:443
Method
unknown
(opponent_side: i32)
src/models.rs:46
← previous
101–127 of 127, ranked by callers