mirror of
https://github.com/TheAlgorithms/C
synced 2025-02-16 13:34:20 +03:00
chore(fix): specify the player's turn in naval_battle.c
(#1158)
This commit is contained in:
parent
a2b1983e57
commit
9a3d934705
@ -885,7 +885,7 @@ int main()
|
|||||||
if (plays % 2 != 0)
|
if (plays % 2 != 0)
|
||||||
{
|
{
|
||||||
printMessageScore(pts1, pts2);
|
printMessageScore(pts1, pts2);
|
||||||
printMessage("Player's turn 1");
|
printMessage("Player 1's turn");
|
||||||
printsTray(Player2, 1);
|
printsTray(Player2, 1);
|
||||||
scanf("%d %c", &line, &column);
|
scanf("%d %c", &line, &column);
|
||||||
|
|
||||||
@ -911,7 +911,7 @@ int main()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
printMessageScore(pts1, pts2);
|
printMessageScore(pts1, pts2);
|
||||||
printMessage("Player's turn 1");
|
printMessage("Player 2's turn");
|
||||||
printsTray(Player1, 1);
|
printsTray(Player1, 1);
|
||||||
scanf("%d %c", &line, &column);
|
scanf("%d %c", &line, &column);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user