Will an array of arrays work ?

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.
Generally, Array of Arrays will work in Swift. But it is hard to say if it works in your project or not.

Can you show more code which illustrates what you want to do?
(It can be some pseudo code that cannot be built with the current Swift compiler.)

Hi OOPer.
Good to hear from you again.

The link to the game scene is below. I have no idea what pseudo code is but I will look it up.

https://github.com/badgerstreak/Blackjack-in-the-House-copy/blob/main/Blackjackk/GameScene.swift

There are only two sets of arrays at the top of the game scene at the moment but there will be another 6 sets of arrays at least.
As far as I see your GameScene.swift, you can make some Arrays from let to var, and replace the contents of them on some appropriate events.
You can make the source of such replacement as an Array of Arrays, or you can choose other struct.

If you have something difficult to make it by yourself, please tell us.
Will an array of arrays work ?
 
 
Q