Tip:
Highlight text to annotate it
X
RACHEL: So now I can start giving you tests that are a little more game programming oriented, ableit ascii based.
Arrays are important.
You don't want to store new variables for each NPC you have,
generally you want to put them in an array and iterate through each of them as you update or draw each one.
And the same for map tiles, and many other things.
For these prerequisite tests, I'm only expecting static arrays rather than dynamically sized ones.
If you know how to use vectors in the standard library, that's good, too.
But you should know how to use normal arrays.
There's more to arrays that you need to understand before you get into game programming.
Once you're familiar with pointers, you can create dynamic arrays.
You can also build data-structures like structs and queues, linked lists, and dictionary lookups.
Make sure you have a good foundation in C++ before jumping into game programming,
you can find some resources here.