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

More entries in Personal Blogs

More entries from HamBone41801

General chit-chat
Help Users
  • Psionic Roshambo @ Psionic Roshambo:
    Well hmm got that Eeros 6+ router working so no need for a new one for now lol
  • Psionic Roshambo @ Psionic Roshambo:
    Scratch!!! In broad daylight!!!
  • BakerMan @ BakerMan:
    guys, is it truly discrimination if you dislike everyone equally? like, if i dislike everyone, then am i racist, sexist, homophobic, transphobic, ableist, etc., or am i just a hater?
    +1
  • BigOnYa @ BigOnYa:
    All of the above...
  • K3Nv2 @ K3Nv2:
    You gotta be on Psis level and hate your own people
    +2
  • BakerMan @ BakerMan:
    i meant everyone, even my own people, and myself
  • BigOnYa @ BigOnYa:
    Oh, well thats ok then
  • BakerMan @ BakerMan:
    (i don't dislike people, it's just a hypothe- aaaaaand i'm banned aren't i?)
  • Psionic Roshambo @ Psionic Roshambo:
    Good good let your hate flow through you!!!
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Emperor Palpetine reveals that he is trans Jewish pro abortion and drives a Prius!
  • Psionic Roshambo @ Psionic Roshambo:
    Unlimited Power!!!
  • K3Nv2 @ K3Nv2:
    Hate fuels your cybertruck
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah this Eero router is way better than the one my ISP gave me, still might need to buy one but until then this one is better lol
  • Psionic Roshambo @ Psionic Roshambo:
    The one Comcast provided is apparently powered by a comadore 64 chip lol
  • Psionic Roshambo @ Psionic Roshambo:
    What's weird is that they both have about the same speed in bandwidth but the Comcast one feels laggy like click something and it takes a second to load, the Eero one is just instant lol
  • Xdqwerty @ Xdqwerty:
    why do i see some little songs at @shaunj66 's profile page?
  • Xdqwerty @ Xdqwerty:
    sonics*
  • fluff663 @ fluff663:
    hello
  • K3Nv2 @ K3Nv2:
    Maybe he likes sonic
  • rvtr @ rvtr:
    Hey all.
    rvtr @ rvtr: Hey all.