The last thing to add is the need to act to the game modes. We have three modes:
We want to direct and inform the player about what mode the game is in and how they can start it. Then if the victory conditions are achieved, we want to give a visual response.
modeMessage. If it is
0, then we can print this message. If we don't use such an approach, the message will be printed every time we call this method.
If modeMEssage = 0 Then
1and print a message: ...