Hi, Looking for some guidance on the best way to approach putting a feature in a card game app. Its a straight forward blackjack app that plays a set of sound files randomly.
There are 7 arrays of sounds that contain 6 sound files in each. Each array contains files that are relevant to different game scenarios. The 6 sound files in each array play randomly when triggered.
This all works fine. The next stage is to change the 7 arrays to another 7 arrays when the player score reaches 20 and then again at 40, 60 and so on.
I tend to work slowly as I am a newby and was trying to avoid spending days or weeks heading down the wrong path for a solution.
My experience is limited to tutorials I have watched. I am thinking an array of arrays might work but there might be another solution I havent come across yet.Any advice would be appreciated.
There are 7 arrays of sounds that contain 6 sound files in each. Each array contains files that are relevant to different game scenarios. The 6 sound files in each array play randomly when triggered.
This all works fine. The next stage is to change the 7 arrays to another 7 arrays when the player score reaches 20 and then again at 40, 60 and so on.
I tend to work slowly as I am a newby and was trying to avoid spending days or weeks heading down the wrong path for a solution.
My experience is limited to tutorials I have watched. I am thinking an array of arrays might work but there might be another solution I havent come across yet.Any advice would be appreciated.