A real-time two-player collaborative whiteboard built with Python socket programming.
Run the server program first. The server will display its IP address in the terminal.
Open client.py and modify the server IP address to match the IP shown by the server.
Run one or two clients. Drawing actions between connected clients will be synchronized in real-time.
- Undo only reverts your own last drawing action
- It does NOT undo the other client’s drawing
- Clear will reset the canvas for both clients
- Only the client who pressed Clear can undo the clear action
- If a client disconnects and reconnects: -- It will synchronize to the current canvas state
- If no clients are connected: -- The canvas state will rese
- The server displays the IP address of connected clients