If you want to have a go at participating in an open-source game project, then may I suggest Battle for Wesnoth. It's a fairly popular open source game with nice graphics and clean code base (from what little I remember. I haven't hacked on it, but I skimmed the code a few years ago).
It's written in C++ and Lua.