I was bored so I wrote some shitty code.

it’s one of those “twitch plays” bots. I don’t really plan on using it all that much, but it’s still on from testing, so if you’d like, you can play.

The current game is Pokemon red.

Currently, it requires 10 votes to do an action, although it should probably just be on a timer. Use lowercase A, B, U, D, L, R to vote. If there is more than one character in your comment, then your vote won’t count.

Also, I don’t know if upper case letters even work. (Like I said, shitty code)

www.twitch.tv/hambone41801
  • Like
Reactions: 2 people

Comments

when you say it needs ten votes, then does that mean that nothing happens if there are only 9 people watching?
 
No, that just means that ten votes need to be cast. You can vote as many times as you would like. However, I switched it over to execute an action on every vote.

@dionicio yea, I fixed that shortly after I posted.
 
How hard would it be to add a scaling algorithm? Something like counting the number of votes per minute and if it exceeds a certain threshold then it starts doing 10 votes per command, 100 votes, etc?
 
Not too difficult, but at most, three people have shown up at a time, so there really isn’t much of a point. Also, if I did that, I would probably do it in java instead.
 

Blog entry information

Author
HamBone41801
Views
219
Comments
16
Last update

More entries in Personal Blogs

More entries from HamBone41801

General chit-chat
Help Users
  • impeeza @ impeeza:
    @Xdqwerty yes, when you are installing Windows on the first steps you are asked for your current location, you MUST to select «international» so no bloatware is installed, because the bloatware is location based. if this night I have some time I will setup a VM and take screenshots.
    +2
  • BigOnYa @ BigOnYa:
    User Gates "Disliked" your answer.
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    Damn cleaned up 348GB's of crap I wasn't using with that lol
    +2
  • BigOnYa @ BigOnYa:
    But can it completely remove RealPlayer? Lol jk
    +3
  • Psionic Roshambo @ Psionic Roshambo:
    I remember at one point it being pretty much labeled as malware lol
  • Psionic Roshambo @ Psionic Roshambo:
    I think my favorite one was that dancing purple gorilla... I uninstalled that thing from sooo many machine people would be like "Why is my computer so slow?" lol because this thing is using like 30% of your system resources.....
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    This one lady... her son kept installing Kazaa... OK no problem the issue is he would download DBZ movies and they where amazing usually like 2-8KB in size lol can't remember how many times I had to format and reinstall windows over his stupidity. I even explained to him about file sizes multiple times...
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    yeah Bonzi buddy was malware sort of... It was borderline lol
  • Psionic Roshambo @ Psionic Roshambo:
    At minimum it was nothing anyone should have ever installed lol
    +1
  • SylverReZ @ SylverReZ:
    @BigOnYa, RealPlayer is spyware too.
    +1
  • SylverReZ @ SylverReZ:
    @Psionic Roshambo, Yeah, BonziBuddy was both spyware and ad-ware. It collected children's personal information without consent as well as display fake Windows popups.
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast bonzi got discontinued
    +2
  • SylverReZ @ SylverReZ:
    @Xdqwerty, The people who created Bonzi now owns a company called 2KDirect; an advertising firm. https://www.ipromote.com/
    +1
  • Xdqwerty @ Xdqwerty:
    @SylverReZ, atleast they get slightly cleaner money
    +1
  • BakerMan @ BakerMan:
    guys, hot take
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    So Bonzi buddy was an evil version of Alexa lol
    +2
  • BakerMan @ BakerMan:
    the legal drinking age here in the US is 21, as some of you may know, but i think either it should be 18 or the age you're an adult should be 21.
    +2
  • BakerMan @ BakerMan:
    and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging an 18 year old would be illegal?"
    first of all, being in a relationship with someone who's 18 is technically ok, as long as it started when they were 18, but the age gap is still weird depending on how old you are. besides, the age of consent differs between different states
    BakerMan @ BakerMan: and i know what you may be thinking, "why become an adult at 21? doesn't that mean that banging...