Archived
1
0
Fork 0
A stream game in a terminal https://twitch.tv/outfrost
This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2022-06-07 14:30:21 +02:00
src Add viewer instructions 2021-09-06 06:42:27 +02:00
.gitignore Initial commit 2021-09-04 22:33:26 +02:00
Cargo.lock Bump tokio from 1.11.0 to 1.13.1 2022-06-06 19:48:53 +00:00
Cargo.toml Bump tokio from 1.11.0 to 1.13.1 2022-06-06 19:48:53 +00:00
LICENSE Add LICENSE 2021-09-04 22:38:08 +02:00
README.md Update README.md 2021-09-06 06:52:36 +02:00
rustfmt.toml fmt 2021-09-05 01:18:26 +02:00
todo.md Update README.md 2021-09-06 06:49:20 +02:00

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

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://<server address>: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.