Commit Graph

139 Commits

Author SHA1 Message Date
97d7e70642 feat: add super advanced ai 2026-08-19 09:56:51 +02:00
Szymon
565fb138dc Merge pull request #3 from szymon-jozef/refactor/client-overcomplication
refactor: refactor unnecessary code from the network client
2026-08-18 14:28:43 -07:00
8eb5fbccf1 refactor: refactor unnecessary code from the network client
I have no idea why I complicated it so much yesterday, I had a brain
fart or something
2026-08-18 23:24:31 +02:00
Szymon
de8deccfda Remove id-token permission from tests workflow 2026-08-18 22:35:23 +02:00
f78603007c chore: update workflow permissions 2026-08-18 22:30:56 +02:00
Szymon
8d166a1d9f Merge pull request #2 from szymon-jozef/feat/settings
feat/settings
2026-08-18 13:23:59 -07:00
ab018bcbc2 fix: formatting 2026-08-18 22:22:35 +02:00
48ecaa907b refactor: remove unused imports 2026-08-18 22:18:53 +02:00
2c489ea5e3 docs: some stupid comments 2026-08-18 22:18:21 +02:00
058cf69c19 feat: remove max_connections from server config 2026-08-18 22:13:39 +02:00
a6cc7109b3 feat: add saving client settings to file 2026-08-18 22:08:15 +02:00
894c4c1cfb feat: add saving and reading server setting from config file 2026-08-18 21:55:30 +02:00
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