Commit Graph

114 Commits

Author SHA1 Message Date
a8a6e11350 feat: add broadcasting current turn and board view 2026-08-17 19:39:46 +02:00
a096c990a9 feat: add broadcasting to the server 2026-08-17 19:11:26 +02:00
1be6ece665 feat: make cli client take stdin async 2026-08-17 18:38:30 +02:00
ed6fc3583a feat: add displaying board_view as string 2026-08-17 17:57:28 +02:00
10a874da32 feat: add communication between newtwork client update loop and local client 2026-08-17 17:25:37 +02:00
4f024cae34 feat: add starting the game 2026-08-17 15:50:52 +02:00
a12f1fce4d refactor: server message handling into its own methods 2026-08-17 14:10:28 +02:00
5cb99cd45a chore: add logging doubled names 2026-08-16 21:36:17 +02:00
d4fc5dff2e feat: add network identity 2026-08-16 21:33:36 +02:00
e36ff7b048 feat: add prompt to cli client 2026-08-16 20:49:42 +02:00
3bbf85de96 feat: add handshake answer 2026-08-16 20:39:56 +02:00
ff52b8e1d7 feat: add moving and capturing to server 2026-08-16 20:24:45 +02:00
302c506485 fix: cli client crashing on no input 2026-08-16 20:16:34 +02:00
bef5368aec feat: add args parsing to cli client 2026-08-16 20:13:18 +02:00
72e62d4bd7 feat: add removing from connection list on connection broke 2026-08-16 19:39:38 +02:00
429ab21670 fix: not sending rejection message 2026-08-16 18:32:36 +02:00
44051b0ed8 feat: add server state and signaling readiness 2026-08-16 18:26:37 +02:00
71105d9783 fix: dont freak out when client loses connection 2026-08-16 17:53:42 +02:00
59884919a6 fix: dont busy wait when server is not available 2026-08-16 16:16:43 +02:00
3fb10c7c69 feat: add sending text messages 2026-08-16 16:13:27 +02:00
febb0adc43 feat: add client::{start, update} 2026-08-16 15:46:01 +02:00
562640cb16 feat: add server binary 2026-08-16 14:52:25 +02:00
3d8219c65a fix: close the update loop when theres no reciever 2026-08-16 14:31:04 +02:00
7d0452f451 feat: add server update loop 2026-08-16 14:28:01 +02:00
68e7365432 feat: add server message loop 2026-08-16 12:53:15 +02:00
4f8a43dc4d feat: add server start method 2026-08-15 17:48:26 +02:00
813a28402a feat: add delegate() to connection 2026-08-15 16:39:17 +02:00
843903400d feat: add sending to connection 2026-08-15 16:09:08 +02:00
51103dc42c feat: add start_listening to connection 2026-08-15 15:51:49 +02:00
593e56e264 feat: add reading data from network in connection 2026-08-15 15:35:00 +02:00
4293e475c8 feat: add message serialization 2026-08-15 12:30:37 +02:00
7895919f87 feat: add serde for necessary fields 2026-08-14 18:30:00 +02:00
7b4fc568a1 feat: add messages enums 2026-08-14 18:21:46 +02:00
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