Inspiration
A conversation about tweets fighting one another. This turned into subreddits. It slowly evoloved into subreddits playing the fighting game themselves. Perhaps even as Pokemon trainers.
What it does
Parses a subreddit and uses the text from that subreddit to control an emulated Pokemon Red.
How I built it
Using Node.js to run some straightforward shell commands while running an emulator in the background.
Challenges I ran into
xdotools (the keyboard simulator used to control the emulator) is slow. Node.js, while not blindingly fast, is pretty speedy. Long story short, I had to slow my program down to about the time it takes to run a gameboy command. After that, it was a cinch.
Accomplishments that I'm proud of
Easy parsing of reddit. See above about the hellish xdotools mess. I figured it out. It took two hours and about nine characters.
What I learned
A lot about node.js. I'd never actually coded in it before this. A lot about emulators, xdotools, windows, and the like as well.
What's next for TwitchPlaysPokemonPlaysPokemon
The ability to pit subreddits against each other for the fastest time to completion.