From 16b1c587560e16a1c03daa5d0e709aa48e6da518 Mon Sep 17 00:00:00 2001 From: Your Name Date: Wed, 5 May 2021 22:08:36 +0430 Subject: [PATCH] typo --- battleship.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/battleship.c b/battleship.c index 963d16f..e44d828 100644 --- a/battleship.c +++ b/battleship.c @@ -364,7 +364,7 @@ void sink_announce(bool side){ goto Next; } } - //there is no instance of 'type' in the opponet's board + //there is no instance of 'type' in the opponent's board if( ( (1 << type) | sunk[!side] ) != sunk[!side] ){//if it is not yet announced as sunk sunk[!side] |= (1 << type); if(computer[side]){ @@ -518,9 +518,9 @@ void gameplay(bool side){//side is only there to feed header() mvprintw(3,0," **** THE GAMEPLAY ****"); attroff(A_BOLD); move(4,0); - printw("Guess the location of your opponet's\n"); + printw("Guess the location of your opponent's\n"); printw("ships and sink them! The player\n"); - printw("who sinks all the opponet's ships wins."); + printw("who sinks all the opponent's ships wins."); getch(); erase(); }