This is an explanation and demo of software I wrote that learns how to play a Nintendo Entertainment System game and then automatically plays it. This is real.
Research paper published in SIGBOVIK 2013: "The first level of Super Mario Bros. is easy with lexicographic ordering a and time travel ...after that it gets a little tricky."
http://tom7.org/mario/mario.pdf
Follow-up video with more games: http://www.youtube.com/watch?v=YGJHR9Ovszs
And episode 3: http://www.youtube.com/watch?v=Q-WgQcnessA
For more info and source code, see: http://tom7.org/mario/