Code Monkey home page Code Monkey logo

scramble's Introduction

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.

scramble's People

Contributors

dependabot[bot] avatar outfrost avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.