Code Monkey home page Code Monkey logo

chat-plays-hs's Introduction

About

"Chat plays HS" is an overlay, that allows streamers (currently only on Twitch) become the ultimate victims of chat backseating.

Demo

mulligan

card

target

emote

emote suboption

Twitch bot

twitch

Setup

Find the latest release, and unzip it somewhere (the contents should be all laying as they are in the .zip file).

PowerLog

TL;DR: Press the big blue button Enable Power Log in the settings tab.

This app works using the logs from HS itself, like any deck tracker out there (currently only with standard installation paths). So it needs some options to be turned on before the game starts.

Setting up Twitch Client

Go Here and generate the ACCESS TOKEN with bot priveleges.

Add the contents of ACCESS TOKEN to the secrets.toml file that is bundled with the release.

Before:

TWITCH_ACCESS_TOKEN = '...'

After:

TWITCH_ACCESS_TOKEN = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'

In the UI itself, go to the settings tab, put url of your channel in the box and press Connect.

Back to setup

Currently that's it, click around and, I hope you would understand whats happening in the UI.

Start playing the game, press Start vote button and see what's happening from there!

For advanced users

If you have innate fear of binaries, or want to start it up on your own, then you should have these installed:

  • python version>=11
  • pip
  • venv

Setup

in the repo root

  • initialize virtual env (recommended!)
python -m venv venv
.\venv\Scripts\activate
  • install dependencies
pip install -r requirements.txt

Startup

  • run app
python -m cph.app.main

debug and tools

  • debug ui
python -m cph.app.main_ui
  • debug qrc
python -m cph.tests.app.debug_resources
  • run tests
python -m pytest tests
  • update card collection
python -m cph.cli.download_card_names
  • and some other cli utils
python -m cph.cli.name_of_script

Distribution

pyinstaller .\chat_plays_hs.spec

chat-plays-hs's People

Contributors

usatiynyan avatar

Watchers

 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.