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
209
Comments
16
Last update

More entries in Personal Blogs

More entries from HamBone41801

General chit-chat
Help Users
    SylverReZ @ SylverReZ: @salazarcosplay, Good.