Not asking for much are you? You figure out what game you want to code, and then you write the code. Post code and such here when you have run into problems. Sorry, but we don't do your work (or homework) for you!
One of my all time favorite Unix was called Rogue. We spent hours searching for old fruits, picking up tokens, trying different weapons & armor. You could become a wizard if you were clever enough and then banish all the other players to the dungeons. So any D&D game with monsters & swords works for me.