diff options
| author | tslil clingman <tslil@posteo.de> | 2021-02-02 19:23:54 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | 40c6b1dafab4de169bac8a799e7953e85061218e (patch) | |
| tree | 99d86e8f90e8aa19b35875ea8ba624c50c467857 /src/ct1986.c | |
| parent | 11956b2e940f5e1839efab187d898092e819a766 (diff) | |
TEI interface working!
Diffstat (limited to 'src/ct1986.c')
| -rw-r--r-- | src/ct1986.c | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/ct1986.c b/src/ct1986.c index 2c2d875..aeff13a 100644 --- a/src/ct1986.c +++ b/src/ct1986.c @@ -84,9 +84,17 @@ handle_turn(char *line) { uint8_t new_win = (won == 0xFF); switch (do_ptn(line)) { // Errors - case PTN_INVALID: { lcd_put_line(L_SCROLL, "Invalid PTN."); break; } - case ACT_ILLEGAL: { lcd_put_line(L_SCROLL, "Illegal ply."); break; } - case ACT_OVERFLOW: { lcd_put_line(L_SCROLL, "Overflow."); break; } + case ACT_INVALID_PTN: { + lcd_put_line(L_SCROLL, "Invalid PTN."); + break; + } + case ACT_ILLEGAL: { + lcd_put_line(L_SCROLL, "Illegal ply."); + break; } + case ACT_OVERFLOW: { + lcd_put_line(L_SCROLL, "Overflow."); + break; + } // Game has ended case GAME_END: { // Did it end this turn? |
