Commit Graph

77 Commits

Author SHA1 Message Date
aebf4f626f chore: dont run tests if not rs files were edited 2026-08-18 20:29:35 +02:00
ea7407e39f refactor: remove uneed imports 2026-08-18 17:32:43 +02:00
a0d4e0dee9 chore: add tests action 2026-08-18 00:13:03 +02:00
Szymon
b59e0224f5 Merge pull request #1 from szymon-jozef/feat/networking
feat/networking
2026-08-17 14:52:53 -07:00
6bab636f91 docs: update readme with some barebones network info 2026-08-17 23:50:35 +02:00
2aa15b2bcc chore: update anyhow version 2026-08-17 23:46:10 +02:00
f37d91cf8f fix: server crashing on game end 2026-08-17 23:34:54 +02:00
e2a37d8a91 feat: add game loop
sending and receiving moves from server, client

implementation of this in a simple cli
2026-08-17 23:23:45 +02:00
bb2599a3ca feat: add sending and receiving moves and captures 2026-08-17 21:47:03 +02:00
9b86e95701 feat: add routing text messages 2026-08-17 19:53:15 +02:00
8ee7242726 fix: remove double sending board state 2026-08-17 19:44:09 +02:00
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
ffcab4f58b docs: add something to readme so it's not that ugly 2026-08-16 22:38:51 +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