Reset array after playing the game?

后端 未结 2 1721
夕颜
夕颜 2021-01-24 08:35

I made a quiz in iOS with xcode, what i have now is a quiz that generates 20 random answers out of an array, it controls the text of the labels when a button is pushed to check

2条回答
  •  说谎
    说谎 (楼主)
    2021-01-24 08:58

    Either make a copy of arrEurope on game start and restore to it when the game is restarted or use some other array to mark a question as removed. I would personally try to use option 2.

提交回复
热议问题