Git Product home page Git Product logo

beanbetbot's Introduction

BeanBetBot


Copyright 2019 Benjamin Massey

Summary

This is a bot that runs in a Twitch.tv stream's chat, taking bets from viewers. The streamer will decide some bet between option A and option B, at some stakes of points, with some related odds. Players will then bet on their preferred option with either !betA or !betB within the betting window. Then, determined by the odds, the winners and losers will be handled acoordingly based on which option the streamer chooses has won.

Viewer Interaction

The whole point of this is to increase viewer interaction by allowing them to bet on stream events. This betting is in context of "points". Every user starts out with 100 points, and can build up points through winning bets, or by simply watching. The extent to which they can earn points is up to the streamer, who sets the stakes, odds and frequency of bets.

Code

This particular project is essentially a modified version of another project I've made, BeanBoyBot. A large portion of the code is simply copied from there.

This project is all written in Java, using Pircbot as base: http://www.jibble.org/pircbot.php

Make sure to check out pircbot, it makes a lot of the silly Twitch interaction a whole lot easier.

You're going to need to have your own account setup to act as the Twitch bot, and figure out how to get an API key and whatnot for it. Google should make all that fairly easy.

Images

Image of the bot's interface:

Image of the bot's interface

Usage Example Screenshot:

Usage Example Screenshot:

Contact

Any and all questions should be directed to [email protected] - I'd love to talk about my silly little bot.

I also stream at https://www.twitch.tv/BeanSSBM and will use this bot sometimes - feel free to just hop in and ask questions, or send me a whisper.

beanbetbot's People

Contributors

benjaminmassey avatar

Watchers

James Cloos 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.