Nokia's memory game. Ish. You need to link it against ncurses, or you could include slcurses or even just plain old curses. Yes, link. It's in that scary C stuff.
I made a makefile, but you don't want that.
Additional: I fixed the segaults. It took all of a minute. You can see the differences if you look at the old version. But you'd not be that boring, would you? I couldn't give a crap at one time, but got bored one night. Still, phones are cheap. Buy one of them, and don't come back.