OneHitWonder
06-07-2010, 00:23
Hi everyone,
I am interested in trying to make a simple text based adventure game.
I need to store alot of variables how would I go about doing so?
Thanks,
OneHitWonder
ErosOlmi
06-07-2010, 00:29
There can be many ways depending on what you need to store with your variable.
Arrays, matrix, structures, arrays of structures, dictionaries, hash tables, linked lists, ...
What kind of data do you need to store?
Do you want index (numeric) keys or named keys (like hash tables)?
Ciao
Eros
OneHitWonder
06-07-2010, 01:15
I have no idea what I need, I need to sort certain characters (NPC) statistics, e.g strengh, speed, health ect...
Hope this helps.
OneHitWonder
Michael Clease
06-07-2010, 09:48
Have a look at this.
http://community.thinbasic.com/index.php?topic=3229.0