Malcolm wrote:
The OP didn't give a very good indication of his level of ability.
The advantage of an adventure is that it is something you can make
pretty simple or pretty complicated, depending on your ambitions. It
is also something you can give to your little brother to play, as
first fruits of your programming activity. It is much more difficult
to make a usable payroll program.
The fact that the question is asked almost certainly indicates a
beginner level in the language, at least in my experience.
However I do take Ben's point. The task maybe doesn't show off C's
strengths to the best.
I don't see how that follows. Yes, there are specialized programming
languages for text-adventure games, notably Inform and TADS. That
doesn't mean that C is ill-suited for the task. It works just fine.
Yes, if the goal is make a game, C is not the first choice. If the goal
is to do a project it C, a game is fine. Personally I feel that a
small, doable project, even one that is of no interest to anyone else,
is a better training method that the often-recommended business of
contributing to a sourceforge project.
So:
1. If you are skilled at C, and want to contribute to a project that
"matters" try one of the open-source projects.
2. If you are learning, and want a project to cut your teeth on, a
text-adventure game is a very good one.
3. If your goal is to make a text-adventure game, use a specialty
language.
Did I cover it all?
Brian