Multiplayer tic-tac-toe in Python. Taken from NeuralNine: https://youtu.be/s6HOPw_5XuY
To play with a person outisde of your LAN, the server should be hosted on the server's private IP address (i.e. IPv4), and the other player (client) should connect on the server's public IP address. Enter these IP addresses in the host_game() and connect_to_game() functions.