chore(fix): specify the player's turn in `naval_battle.c` (#1158)

This commit is contained in:
Yaduttam Pareek 2022-11-25 06:39:35 +05:30 committed by GitHub
parent a2b1983e57
commit 9a3d934705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -885,7 +885,7 @@ int main()
if (plays % 2 != 0)
{
printMessageScore(pts1, pts2);
printMessage("Player's turn 1");
printMessage("Player 1's turn");
printsTray(Player2, 1);
scanf("%d %c", &line, &column);
@ -911,7 +911,7 @@ int main()
else
{
printMessageScore(pts1, pts2);
printMessage("Player's turn 1");
printMessage("Player 2's turn");
printsTray(Player1, 1);
scanf("%d %c", &line, &column);