MATLAB: I want to make a program that saves the high score of the game.How should I programme
high score
I want to make a program that saves the high score of the game.How should I code to do this? Thanks!
Best Answer
Is it the kind of game where the score can only increase? Or can it ever decrease? Actually, it doesn't matter. Let's say you have an array called scores that keeps track of all scores - whenever there is a new score you add an element. The high score is just
The timer function is exactly what you want. If it seems too complicated, start at the beginning of the MATLAB documentation and by the time you get to timers, it will make sense.
Best Answer