diff --git a/README.md b/README.md index b1d111d..e0012d0 100644 --- a/README.md +++ b/README.md @@ -8,3 +8,5 @@ I might make a GUI in Pygame, depends if i cbs todo list: 3 gamemodes total. ~~player vs player on the same device~~, ~~player vs player lan~~, and player vs computer + +remember last ip you played against. stop multiple ppl from joining a game lmao. make it so when ppl leave the game ends instead of just crashing. \ No newline at end of file diff --git a/main.py b/main.py index 9866daf..0d55b30 100644 --- a/main.py +++ b/main.py @@ -138,6 +138,7 @@ def play_lan_server(): lambda p, b: send_and_return_local_move(p, b, conn), lambda p, b: socket_receive_move(conn) ) + def play_lan_client(): while True: