Nate's Work
- Used your example and the resource below to create a server and client guessing game utilizing the python socket library
- https://www.geeksforgeeks.org/socket-programming-python/
- example output:
>>> python client.py
hello, lets play a guessing game, pick a number 1-6
type your guess: 1
Guess 1: 1 Not correct!
type your guess: 2
Guess 2: 2 Not correct!
type your guess: 4
Guess 3: 4 Not correct!
type your guess: 5
Guess 4: 5 Not correct!
type your guess: 6
Guess 5: 6 Not correct!
type your guess: 3
You guessed correct! the number was 3, closing connection
>>> python server.py
Socket successfully created
socket binded to 12345
socket is listening
the number is 3