Left block is for initialize x,y value with random number. When ball collision is happened with goal, then right side methods will be called. This method check how many chance is left, and change the chance score board to red and X mark. If there is no more chance is left, then call game over method.
No comments:
Post a Comment