This commit is contained in:
2025-11-25 18:50:04 +05:30
parent d3e3036d20
commit 1af186783f

View File

@@ -130,19 +130,19 @@ async def main():
# 6) Play a quick winning game for P1 (X) # 6) Play a quick winning game for P1 (X)
# P1: (0,0) # P1: (0,0)
await send_move(ws1, match_id, 0, 0) await send_move(ws1, match_id, 0, 0)
await asyncio.sleep(1.5) await asyncio.sleep(0.3)
# P2: (1,1) # P2: (1,1)
await send_move(ws2, match_id, 1, 1) await send_move(ws2, match_id, 1, 1)
await asyncio.sleep(1.5) await asyncio.sleep(0.3)
# P1: (0,1) # P1: (0,1)
await send_move(ws1, match_id, 0, 1) await send_move(ws1, match_id, 0, 1)
await asyncio.sleep(1.5) await asyncio.sleep(0.3)
# P2: (2,2) # P2: (2,2)
await send_move(ws2, match_id, 2, 2) await send_move(ws2, match_id, 2, 2)
await asyncio.sleep(1.5) await asyncio.sleep(0.3)
# P1: (0,2) -> X wins by top row # P1: (0,2) -> X wins by top row
await send_move(ws1, match_id, 0, 2) await send_move(ws1, match_id, 0, 2)