cool dude.
yea, if you are serious about making this sort of game,
or in fact serious about becoming a game dev full stop
then just drop everything and go learn arrays and all the things they can do for you.
then you will be like "yea I wanna reverse time, that be easy....."
I never actually understood why arrays are even used at all, they just seem like a really confusing way to store data. Most of the information I've tried to digest about them is very beginner level, so the examples given on what you can do with them are always things that would be easier to keep track of with a labeled variable.
I do understand that arrays are "powerful" I just don't know why. Definitely have a lot of learning to do... Maybe I should search this forum for arrays so I can see what other people are using them for and why.