/* 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, " | |");
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");
- }
-} */
-
void print_coordinates(coordinates_t coordinates_array[], int base_y, int base_x);
/* non ncurses printing */
-/* void printf_result(unsigned player, unsigned round); */
#endif /* DISPLAY_H */