I want to hook my iPhone to the TV and play games and watch movies as if I was playing it on my iPhone.
You can use an iPhone HDMI adapter. It's not quite an app but it works quite well. Also, search for it on Amazon rather than Apple if you'd like the adapter a little cheaper.
You need an apple tv, ios5, and a 4s to achieve this. Then you can use airplay.
if it is jailbroken