Commit Graph

132 Commits

Author SHA1 Message Date
6f940b784e chore: add more debug logs 2026-08-14 17:12:52 +02:00
2e26c45e10 fix: returning empty vector when there was no captures available 2026-08-14 17:02:52 +02:00
b1b82cc1e5 feat: add moving pawn to game_master and add tests 2026-08-14 16:48:51 +02:00
b031d4894a feat: add checking if player has lost 2026-08-14 14:03:52 +02:00
d6fa72ae38 feat: implement get_current_player_moves for game_master and move_path struct 2026-08-14 13:40:25 +02:00
96c7ca73bf chore: add get_current_player_capture to game manager 2026-08-14 13:06:35 +02:00
b015c61bd2 chore: add GameMaster and PlayerList 2026-08-13 23:21:15 +02:00
11ae3d9760 refactor: split board logic into logic module 2026-08-13 22:44:10 +02:00
3b854b9b2f chore: add capturing 2026-08-13 22:34:22 +02:00
9c7a59c6e2 chore: add getting available captures 2026-08-13 19:25:50 +02:00
60fe9c6952 docs: write documentation for Position and Vector 2026-08-13 17:50:04 +02:00
cf513352bb refactor: split utils into math module 2026-08-13 17:42:21 +02:00
c8b07b168a chore: add can_capture method for pawn 2026-08-13 17:27:21 +02:00
664a4bd45d chore: add get_available_moves 2026-08-13 00:53:21 +02:00
ca72b7e28e refactor: extract is_step_valid from is_movable 2026-08-13 00:14:31 +02:00
6a432ff87a chore: implement is_movable for dame 2026-08-13 00:04:05 +02:00
fa023dc64a refactor: simplify is_move_valid 2026-08-12 23:27:45 +02:00
7d76c77d01 chore: add is_movable 2026-08-12 22:17:38 +02:00
f8c4a2029a chore: add get_player_pawns_positions 2026-08-12 19:22:01 +02:00
d064117935 chore: remove pawns_positions vector 2026-08-12 18:55:05 +02:00
640a61fe48 chore: add DeltaPosition 2026-08-12 18:45:44 +02:00
e36fb92632 chore: add pawns_positions to board 2026-08-12 18:19:17 +02:00
be542d9b72 refactor: remove position from pawn 2026-08-12 13:49:02 +02:00
80c7d734d2 refactor: make Board::new cleaner 2026-08-12 00:59:48 +02:00
990c133bc6 refactor: use index<usize> in index<Position> implementation 2026-08-12 00:48:47 +02:00
0d1a9cafbb chore: add moving the pawn 2026-08-11 22:49:23 +02:00
52a9d795c0 chore: add logging 2026-08-11 20:47:28 +02:00
5cd04f175b test: board creation test 2026-08-11 20:33:50 +02:00
f25cb47eae chore: add board initialization logic 2026-08-11 20:19:33 +02:00
b460c7a62b chore: add rustfmt to packages 2026-08-11 18:49:04 +02:00
53beada33c chore: add board and pawn 2026-08-11 18:44:51 +02:00
9964eaa875 init 2026-08-11 16:49:47 +02:00