You will need to install and set up a SNES9X emulator that has Lua scripting functionality. This typically is labeled "rerecording" or something similar, and is usually the Windows version. If you are running Mac or Linux like I am, you will also need to install Wine. You will also need a ROM of Street Fighter II, or any other game of your choice.
I would link to the SNES emulator and the ROM directly, but that's technically illegal unless you own the console and games themselves in real life (I do). DM me for help if you can't find them elsewhere.
The code above are for the Flask app you'll need to run for the Twilio portion, and the Lua script you will have to run in the emulator.