Jason Wright, Sima Mitra, and I recently built an FPGA-based (Field Programmable-Gate Array) AI that uses video input from an NES console to automatically play the Super Mario Brothers for our Advanced Microcontrollers final project. All of the video analysis and AI techniques are performed using Verilog-compiled hardware running on an Altera DE2 Cyclone board. The project combines NTSC decoding, VGA output, kernel-based pattern matching, real-time image manipulation, and NES controller emulation.
We launched a website that explains the workings of the system in extreme detail. Visit the website to get all the nitty-gritty technical details:
Visit my “Nintendo Ninja” portfolio page for more information and a link to the open source materials.
This video shows the AI beating World 1-1 of Super Mario Bros. without breaking a sweat: