File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -361,6 +361,9 @@ int main(int argc, char** argv)
361361 setupConsole ();
362362 setBackgroundColorRGB (20 , 20 , 20 );
363363
364+ clearScreenToTop ();
365+ moveTo (0 , 0 );
366+
364367 supergridPrinter (supergrid , grid , winCoordinates );
365368 restoreConsoleMode ();
366369 printf ("Jogue jogador %i\n" , player );
@@ -426,6 +429,8 @@ int main(int argc, char** argv)
426429 winCoordinates [count ].col = (winVerifyerReturn .col - count );
427430 }
428431 }
432+ clearScreenToTop ();
433+ moveTo (0 , 0 );
429434 supergridPrinter (supergrid , grid , winCoordinates );
430435 printf ("Jogador %i venceu!" , player );
431436 win = true;
@@ -437,6 +442,8 @@ int main(int argc, char** argv)
437442 {
438443 if (tie == true)
439444 {
445+ clearScreenToTop ();
446+ moveTo (0 , 0 );
440447 supergridTied (supergrid );
441448 printf ("Empate!" );
442449 fgets (trashCan , 5 , stdin );
You can’t perform that action at this time.
0 commit comments