Not a game, per se, but demos got me interested in programming.
http://en.wikipedia.org/wiki/Demoscene for the young.
http://en.wikipedia.org/wiki/Demoscene for the young.
Making fire, water, a seemingly spinning flubber effect, all of them are just a few lines of code if you just know the trick. So rewarding and gratifying to see something cool happen because of something so simple.