feat: GAME:WATCH:ACK:...
This commit is contained in:
@@ -561,6 +561,8 @@ async fn handle_connection(
|
|||||||
|
|
||||||
drop(clients_guard);
|
drop(clients_guard);
|
||||||
|
|
||||||
|
let _ = send(&tx, &format!("GAME:WATCH:ACK:{},{},{}", match_id, player1, player2));
|
||||||
|
|
||||||
for a_move in &the_match.ledger {
|
for a_move in &the_match.ledger {
|
||||||
if a_move.0 == Color::Red {
|
if a_move.0 == Color::Red {
|
||||||
let _ = send(&tx, &format!("GAME:MOVE:{}:{}", player1, a_move.1));
|
let _ = send(&tx, &format!("GAME:MOVE:{}:{}", player1, a_move.1));
|
||||||
|
|||||||
Reference in New Issue
Block a user