Text-based game characters (types)

I am currently in the process of learning how to make my first text-based game. I was wondering how to make different types of characters, i.e warrior, stealth, etc. I can't find a good way of describing it for a search so, if there is someone who can describe it or if there's a page for it, that would be much appreciated.
Last edited on
closed account (j3Rz8vqX)
Are you talking about characters as in ascii/images or characters as in object/data?

If your talking about the later, then I'm assuming you talking about organizing/managing your characters data; its design.

You can do so using objects with class/structures, reading/writing from files, using vectors/arrays to associate with characters, and or even namespaces for characteristic grouping.

Preferably the more advance your container/collection is, the easier it'll be to add new data.

If what you want are image characters, then it would do you best to learn an external graphics libraries; as what LB mentioned.
Topic archived. No new replies allowed.