diff --git a/sources/battleship.c b/sources/battleship.c index 40f41df..741f01a 100644 --- a/sources/battleship.c +++ b/sources/battleship.c @@ -525,6 +525,7 @@ int main(void){ printw("Choose type of the game:\n"); printw("1 : Single Player*\n"); printw("2 : Multi Player\n"); + refresh(); input=getch(); if(input == '2'){ multiplayer=1; diff --git a/sources/checkers.c b/sources/checkers.c index 8dcc5fb..0bd4a2d 100644 --- a/sources/checkers.c +++ b/sources/checkers.c @@ -515,6 +515,7 @@ int main(int argc,char** argv){ keypad(stdscr,1); int input ; printw("Dark plays first.\nChoose type of the dark player(H/c)\n" ); + refresh(); input=getch(); if(input=='c'){ computer[0]=dpt; @@ -525,6 +526,7 @@ int main(int argc,char** argv){ printw("Human.\n"); } printw("Choose type of the light player(h/C)\n"); + refresh(); input=getch(); if(input=='h'){ computer[1]=0; diff --git a/sources/reversi.c b/sources/reversi.c index 4f26292..f25cf76 100644 --- a/sources/reversi.c +++ b/sources/reversi.c @@ -285,6 +285,7 @@ int main(int argc , char** argv){ int input; printw("Black plays first:\n"); printw("Choose type of the white player (H/c)\n"); + refresh(); input=getch(); if(input == 'c'){ computer[0]=depth; @@ -294,7 +295,9 @@ int main(int argc , char** argv){ computer[1]=0; printw("Human.\n"); } + refresh(); printw("Choose type of the black player(h/C)\n"); + refresh(); input=getch(); if(input == 'h'){ computer[1]=0; diff --git a/sources/sos.c b/sources/sos.c index 895c30d..d396156 100644 --- a/sources/sos.c +++ b/sources/sos.c @@ -278,6 +278,7 @@ int main(int argc, char** argv){ cbreak(); keypad(stdscr,1); printw("Black plays first.\n Choose the type of the blue player(H/c)\n" ); + refresh(); input=getch(); if(input=='c'){ computer[0]=dpt; @@ -287,7 +288,9 @@ int main(int argc, char** argv){ computer[0]=0; printw("Human.\n"); } + refresh(); printw("Choose the type of the yellow player(h/C)\n"); + refresh(); input=getch(); if(input=='h'){ computer[1]=0;