Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayehia0/hangman
Online hangman through ssh!
https://github.com/ayehia0/hangman
Last synced: about 1 month ago
JSON representation
Online hangman through ssh!
- Host: GitHub
- URL: https://github.com/ayehia0/hangman
- Owner: AYehia0
- Created: 2023-10-06T16:37:28.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-20T13:13:22.000Z (about 1 year ago)
- Last Synced: 2024-10-09T16:23:17.557Z (2 months ago)
- Language: Go
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hangman
Play hangman online through SSH!
## Setup
### Running the server
To run the server, make sure to `go run .` from the root of the project. Then open another terminal window and `ssh -p 1337 localhost` to connect to it.### SSH Configs
Add the following to your `~/.ssh/config` to avoid having to clear out localhost entries in your `~/.ssh/known_hosts` file:
```
Host localhost
UserKnownHostsFile /dev/null
```## TODO
- [X] Create a simple ssh server that you can connect to that returns "Hello, from server!".
- [X] Create the game handler middleware!
- [ ] Game logic : create the game using bubbletea for single player first!
- [X] Game logic : use API for fetching words ?
- [ ] Online multiplayer part : use redis or some database for holding score and other stuff ?
- [ ] Online multiplayer part : handle many connections ?
- [ ] Online multiplayer part : room creation for others to join.