Sure. Of course, it depends on the EXACT games you want to play, but I'm sure you knew that already.
And the cords to hook it up to your TV? Well, if you read the specs on the computer, there at NewEgg, it details the video out connections available. Then, you examine the video IN connections to see what you need. Don't forget the audio as well. But I can't tell you what cables you need, without knowing what connections are on your TV. Sorry.
However, this computer will play LOTS of games nicely.