diff options
author | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 12:56:59 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2022-06-01 12:56:59 +0800 |
commit | 90bff8fb828c99d8b1ef00fe783dd50887c81f70 (patch) | |
tree | b556188b89e107da9d342866b53ea0861f480564 /sirtet.c | |
parent | 8c2ba1b7f90ec1dce410d9e825a082df137a4a02 (diff) |
Game over indication
Diffstat (limited to 'sirtet.c')
-rw-r--r-- | sirtet.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -226,8 +226,10 @@ void sirtet() { } if (!has_placeable) { // game over - printw("Game over\n"); + mvprintw(3, 2 * W + 8, "Game over"); + mvprintw(4, 2 * W + 8, "Press any key to exit"); refresh(); + while (getch() == 0); over = true; } } |