Create a function in MainActivity to restart the game.
[x] Full Lives
[x] Reset dot locations/UI
[x] Don't save score.
I think an end game function will also be needed so that when they exit to the home screen the threads and any extra memory is cleaned up. The restart game function could be created by combining clearGame and initGame functions. Or something similar.
Create a function in
MainActivity
to restart the game.I think an end game function will also be needed so that when they exit to the home screen the threads and any extra memory is cleaned up. The restart game function could be created by combining
clearGame
andinitGame
functions. Or something similar.