X-Git-Url: https://git.piment-noir.org/?p=TD_C.git;a=blobdiff_plain;f=TP_13%2Fexo2%2Flib%2Fdisplay.c;h=c04b51b1feb5e4ae0dfebbd2d258503e362d3891;hp=21d85bb84cbece58dff339b217de62212d6cfb3a;hb=8f8629b25f848dcf37e4786e4c3d5af60e3de37f;hpb=a7ebbad77d79b05e88e3dc07ab844770419205bd diff --git a/TP_13/exo2/lib/display.c b/TP_13/exo2/lib/display.c index 21d85bb..c04b51b 100644 --- a/TP_13/exo2/lib/display.c +++ b/TP_13/exo2/lib/display.c @@ -23,6 +23,7 @@ /* in all print routine, y and x are the coordinates of the first character of the shape * which can be a space ' ' */ +/* FIXME: one can split this shape in building blocks and build it using them */ void print_board(int y, int x) { mvprintw(y, x, " | |"); @@ -97,19 +98,3 @@ void print_coordinates(coordinates_t coordinates_array[], int base_y, int base_x i++; } } - -/* void printf_result(unsigned player, unsigned round) { - char* result_msg = ""; - - if (round < MAX_COORDINATES + 1) { - if (player == 0) { - result_msg = "Joueur 1"; - } else { - result_msg = "Joueur 2"; - } - printf("%s gagne !\n", result_msg); - } else { - printf("Egalite !\n"); - } -} */ -