diff options
-rw-r--r-- | sirtet.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -224,6 +224,7 @@ void sirtet(int H, int W, int P) { } if (!has_placeable) { // game over + printmap(map, 1, 1, H, W); mvprintw(7, 2 * W + 8, "Game over"); mvprintw(8, 2 * W + 8, "Press any key to exit"); refresh(); @@ -245,6 +246,10 @@ void sirtet(int H, int W, int P) { // end ncurses endwin(); + + // print game stats + printf("SIRTET\n"); + printf("You scored %d points\n", points); } int main(int argc, char *argv[]) { |