Skip to content

Instantly share code, notes, and snippets.

View NtinosNG's full-sized avatar
🌍
Working from Anywhere!

Konstantinos Bazoukis NtinosNG

🌍
Working from Anywhere!
View GitHub Profile
@NtinosNG
NtinosNG / aclient.py
Last active July 24, 2019 12:08
A python client-server guessing game by implementing sockets. Admin-Client
####
# A python client-server guessing game by implementing sockets. Written by Konstantinos Bazoukis. More info @ https://kbazoukis.com
####
# Admin client implementation
# Import necessary modules
import socket
@NtinosNG
NtinosNG / pclient.py
Last active July 24, 2019 12:09
A python client-server guessing game by implementing sockets. Player-Client
####
# A python client-server guessing game by implementing sockets. Written by Konstantinos Bazoukis. More info @ https://kbazoukis.com
####
# Player Client Implementation
# Import necessary modules
import socket
import re
@NtinosNG
NtinosNG / server.py
Last active July 24, 2019 12:08
A python client-server guessing game by implementing sockets.
####
# A python client-server guessing game by implementing sockets. Written by Konstantinos Bazoukis. More info @ https://kbazoukis.com
####
# Server Implementation
# Import necessary modules
import socket
import select
import random