Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fossephate/twitch-democracy
A Democratic “Twitch Plays” system originally designed for Hearthstone in Python and Node.js
https://github.com/fossephate/twitch-democracy
nodejs python3 twitch
Last synced: 3 months ago
JSON representation
A Democratic “Twitch Plays” system originally designed for Hearthstone in Python and Node.js
- Host: GitHub
- URL: https://github.com/fossephate/twitch-democracy
- Owner: fossephate
- Created: 2017-05-05T01:47:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-14T08:38:09.000Z (over 6 years ago)
- Last Synced: 2024-04-09T20:04:34.005Z (7 months ago)
- Topics: nodejs, python3, twitch
- Language: JavaScript
- Homepage: https://fosse.co/js/twitch-democracy/public/
- Size: 3.73 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HearthstoneTwitchDemocracy
A democratic twitch plays system written in Node.js and python
This is an older project that I might update in the future, and possibly adapt it for other games.
Here is how it works:
Votes can be entered in the chat, and only valid commands are accepted. Below the chat is the current votes displayed in a horizontal bar chart Unlimited votes per IP per voting cycle is currently on for testing purposes, but can be turned off later Multiple votes can (and should) be entered in a single line. The format is mostly the same as how you current represent the board.
An example vote (as rogue) (hero power, click hero, click face, end turn): PP HH FACE END would be a valid vote
There's an accompanying python script (for the person streaming) that works as follows:
Press I to take a screenshot with the overlay and send it to the website (which is much faster than the twitch stream delay)
Press U to press to play out the current top voted move set, and clear all votes Escape ends the program.