Coder Social home page Coder Social logo

arabacibahadir / pokitch Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 5.0 452 KB

Pokitch - Interactive Twitch chat game

Home Page: https://pokitch.app

License: MIT License

JavaScript 3.36% TypeScript 96.58% CSS 0.06%
twitch game nextjs overlay typescript chat-game supabase tmijs twitch-overlay

pokitch's Introduction

Pokitch

Pokitch is an interactive Twitch chat game that streamers can add as an overlay to their live streams.

Homepage: pokitch.app

Online overlay demo: pokitch.app/overlays/:id

Features

  • Twitch Bot
  • Stream overlay

Demo video

demo_pokitch.mp4

Instructions

Step 1: Copy the overlay url

Go to homepage and login. Copy the link we gave you after you signed in.

Step 2: Open your broadcasting tool

Open your broadcasting tool and add a new browser source. Paste the overlay link into the URL field.

Step 3: Set up the sizes

Width: 256, Height: 76. The dimensions should be set to 256x76.

Step 4: Assign as moderator role

In order to use the bot properly, you must assign it as a 'mod' role: /mod pokitch_bot

Step 5: And done!

demo_obs.mp4

Brief

How did we use Supabase Realtime function?

We used Supabase Realtime for inserts and updates of poke's in our database. We used the event:"UPDATE" to check the realtime data of the active poke on the Twitch channel and update the overlay in realtime when its health is low. We used the event:"INSERT" to check if the active poke has been caught and swapped with the new random poke, and update the overlay with if there is the new data.

How did we use Supabase Database?

Supabase Database is where we keep track of viewer poke collections and when on which Twitch channel they caught them.

Tech-Stack

Work in progress

  • Inventory/Collection showcase
  • Support Trade/Gift system
  • Store for Twitch channel loyalty points
  • Brawl
  • World Boss
  • And more!

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.