Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thehxdev/goess
Simple number guessing game through TCP
https://github.com/thehxdev/goess
go golang network tcp
Last synced: 30 days 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 (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-07T23:55:03.000Z (about 1 month ago)
- Last Synced: 2024-12-08T00:25:17.119Z (about 1 month ago)
- Topics: go, golang, network, tcp
- Language: Go
- Homepage:
- Size: 0 Bytes
- 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 :)