mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-05-18 00:58:19 -04:00
typo
This commit is contained in:
parent
51bf6bbff4
commit
16b1c58756
@ -364,7 +364,7 @@ void sink_announce(bool side){
|
|||||||
goto Next;
|
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
|
if( ( (1 << type) | sunk[!side] ) != sunk[!side] ){//if it is not yet announced as sunk
|
||||||
sunk[!side] |= (1 << type);
|
sunk[!side] |= (1 << type);
|
||||||
if(computer[side]){
|
if(computer[side]){
|
||||||
@ -518,9 +518,9 @@ void gameplay(bool side){//side is only there to feed header()
|
|||||||
mvprintw(3,0," **** THE GAMEPLAY ****");
|
mvprintw(3,0," **** THE GAMEPLAY ****");
|
||||||
attroff(A_BOLD);
|
attroff(A_BOLD);
|
||||||
move(4,0);
|
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("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();
|
getch();
|
||||||
erase();
|
erase();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user