https://github.com/thehxdev/goess
Simple number guessing game through TCP
https://github.com/thehxdev/goess
go golang network tcp
Last synced: 4 months ago
JSON representation
Simple number guessing game through TCP
- Host: GitHub
- URL: https://github.com/thehxdev/goess
- Owner: thehxdev
- Created: 2024-12-07T23:47:05.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-12-07T23:55:03.000Z (7 months ago)
- Last Synced: 2025-02-06T16:57:45.746Z (5 months ago)
- Topics: go, golang, network, tcp
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Goess
Simple number guessing game through TCP.
Just to practice and learn network programming.## Run
To run the server:
```bash
go run .
```## Connect to server
To connect as clinet use netcat (`nc` command):
```bash
nc 127.0.0.1 8000
```Then server responds with:
```
Welcome to goess game!
Guess a number between 1 and 100 (Both ends are included)
You only have 10 guesses!Guess 1 =>
```Happy gaming :)