Two fish going at it in Street Fighter 2 on Twitch – No Joke!

fish1 fish2

This is not a joke and you have to wonder how much time people have on their hands when you sit and watch two fish playing Street Fighter 2 on Twitch.

Here is how it works and you can watch the “fight” live on Twitch here.

Depending on which part of the tank a fish is in, it will send a different key press to the game. Aquarius sends key presses for Player 1, and Robert the Bruce sends key presses for Player 2.

As for the actual code used for color detection and key sending, I do all of it using AutoIt and some shoddy code I cooked up over the course of a few days.

Points of Interest:

  • There is a tiny delay between one player pressing their key and the other one. To compensate, a player is chosen at random each loop to be the first to press their key, so it balances out.
  • A fish can send multiple key presses at the same time if it is in multiple screen regions when the check is made.
  • Movement with the up/down/left/right arrows is evaluated first, and then the other key presses are sent. This allows for more combos to potentially happen (direction press + punch to throw).
  • Key presses in menus are handled slightly differently to ensure that the game continues smoothly.

2 thoughts on “Two fish going at it in Street Fighter 2 on Twitch – No Joke!

  1. street fighter 1

    My partner and I stumbled over here by a different website and
    thought I might check things out. I like what I see so now i am
    following you. Look forward to going over your web page repeatedly.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s