Implement direct P2P session scaffolding (#39)
CI / build-and-test (push) Successful in 1m10s

Closes #24

Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
This commit was merged in pull request #39.
This commit is contained in:
2026-09-17 15:04:39 +00:00
committed by EIREXE
parent 0454ca9e8a
commit e1d2253af5
6 changed files with 321 additions and 42 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
FIRST="cargo run -- --debug-match --players 2 --local-port 7000 \
--net-player 0=local --net-player 1=127.0.0.1:7001"
SECOND="cargo run -- --debug-match --players 2 --local-port 7001 \
--net-player 0=127.0.0.1:7000 --net-player 1=local"
(trap 'kill 0' SIGINT; $FIRST & $SECOND)