Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/outfrost/scramble
A stream game in a terminal
https://github.com/outfrost/scramble
hyper-rs ncurses pain rust scrabble suffering
Last synced: about 2 months ago
JSON representation
A stream game in a terminal
- Host: GitHub
- URL: https://github.com/outfrost/scramble
- Owner: outfrost
- License: mit
- Created: 2021-09-06T04:54:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-07T12:30:22.000Z (over 2 years ago)
- Last Synced: 2023-03-06T17:57:24.251Z (almost 2 years ago)
- Topics: hyper-rs, ncurses, pain, rust, scrabble, suffering
- Language: Rust
- Homepage: https://twitch.tv/Outfrost
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# scramble
I am never touching ncurses again.
**scramble** is a scrabble-kind of thing, where Twitch chat can replace letters in the streamer's bank via HTTP, and the streamer has to create words. May involve thinking quickly enough for the letters to still be there to choose from.
## Building
```sh
cargo run
```Requires `libncurses`. Tested with `libncurses6`, but 5 should theoretically work too.
## How to play
You have a bank of letters. Make words using those letters.
Every time you enter a valid word, you get points, and the letters you've used from your bank are replaced with new, random ones.
**Give your viewers** the address of your server. Tell them to send HTTP GET requests of the form:
```
http://:8000/replace/a/with/z
```They can help you, or make you suffer :)
Make sure your terminal size is at least 90x29 or something like that. Enjoy!
## Notes
Feel free to look at the code on stream. Chances for increased suffering unknown.