0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Scoring of points and misses is complete. It’s time to log the results.</p>
1
<p>Scoring of points and misses is complete. It’s time to log the results.</p>
2
<p>Log game results in the console: you win or you lose. Let’s also log the statistics, including the number of collected points and the number of misses.</p>
2
<p>Log game results in the console: you win or you lose. Let’s also log the statistics, including the number of collected points and the number of misses.</p>
3
<p>How to determine if the player won or lost? If after the loop the number of points is greater than or equal to one hundred, then the player won. Otherwise, the player lost.</p>
3
<p>How to determine if the player won or lost? If after the loop the number of points is greater than or equal to one hundred, then the player won. Otherwise, the player lost.</p>
4
<p>That’s all, the program is ready to be used!</p>
4
<p>That’s all, the program is ready to be used!</p>
5
<p>And remember: even an infinite loop must always end!</p>
5
<p>And remember: even an infinite loop must always end!</p>