diff --git a/textpong.c b/textpong.c index f36b88d..05a6369 100644 --- a/textpong.c +++ b/textpong.c @@ -25,8 +25,8 @@ int c = getchar(); locate(bx, by); printf(" "); locate( x, y); printf("o"); - locate(35, 0); printf("Sc: %04d", score); locate(bar_x, 21); printf(" ====== "); + locate(35, 0); printf("Sc: %04d", score); bar_x += (c == 'l')? +1: (c == 'h')? -1: @@ -44,8 +44,8 @@ if (y == 20) score++; } flag = 1 - flag; - usleep(100000); + usleep(60000); } - printf("GAME OVER\n"); + printf("\n**** GAME OVER ****\n"); return 0; }