readable play board names

このコミットが含まれているのは:
ninya9k 2023-11-15 15:23:55 +00:00
コミット 79be4652d3
1個のファイルの変更1行の追加1行の削除

2
uttt.c
ファイルの表示

@ -271,7 +271,7 @@ void ut_bmvch(void *arg, int y, int x, char c)
int dtiles_line;
void ut_cursdraw(const struct ut_state *state)
{
ut_cursprintf("Turn: %c Play board: %d\n", (int)state->player, state->playBoard);
ut_cursprintf("Turn: %c Play board: %s\n", (int)state->player, PLAY_BOARDS[(state->playBoard + 10) % 10]);
dtiles_line = curs_line;
ut_drawTiles(ut_cursmvchc, NULL, state, false, -1, -1); // TODO some kind of move history to know the last move
curs_line += DTILES_Y;