FranciscoAT / saltyboy

SaltyBet Betting Bot
https://salty-boy.com
MIT License
12 stars 5 forks source link

Really cool project! Few questions to clarify things, and potential bug. #40

Closed TheD0ct0r101 closed 1 year ago

TheD0ct0r101 commented 1 year ago

-Does the bot train itself based on what I, myself, watch on the stream? Or does it already come with a pre-trained database?

-The (?) question mark buttons that would normally provide a text-hint as to the function of a value-field dont seem to provide any info when hovering over them/clicking them.

FranciscoAT commented 1 year ago

Hey there!

-Does the bot train itself based on what I, myself, watch on the stream? Or does it already come with a pre-trained database?

So the bot itself is actually rather dumb. If you go through the README the project is three different parts. The first being a scraper that reads the Twitch SaltyBet chat and takes in the information from the waifu4u user who announces matches, who won / lost, etc.... This is then all written into a database hosted on the server.

The second part of the application is a simple REST API that allows users to interact with the data stored in the database on the server. This is currently hosted at https://salty-boy.com.

The last part of the application is the actual Chrome Extension itself. The chrome extension will do some cursory analysis of the saltybet.com web page. It will then determine when it should try to ask for the information from the webserver. This information is very cursory information which includes who the fighters are that are fighting, their entire match history which includes who won, the bet amounts, and some dates. The Chrome Extension itself will then take this information and run it through a user-selected algorithm to determine who the bot should bet for. You can view the current algorithms here: https://github.com/FranciscoAT/saltyboy/tree/master/extension/src/content_scripts/bet_modes.

I have considered actually throwing some level of ML at this on the server side of things. I mainly haven't done so as that wasn't the original intention of the project. However, I'm more than happy to read through PRs to include this on the server. There are a few other things I'd like to change but time is a luxury.

-The (?) question mark buttons that would normally provide a text-hint as to the function of a value-field dont seem to provide any info when hovering over them/clicking them.

That seems strange I feel like they should be working. I'm currently away from a computer I develop at for the next two weeks or so and only have access to some work laptops. I'll leave this issue open as a reminder for myself when I return to a computer I can develop at.

FranciscoAT commented 1 year ago

Closing this issue since there's been no action for quite a while. Feel free to re-open if there's anything you'd like to chat about more. :)