diff -r 78b580bfde33 -r eef745ba3774 src/game.c --- a/src/game.c Wed Aug 26 12:59:30 2015 +0200 +++ b/src/game.c Wed Aug 26 14:46:42 2015 +0200 @@ -72,6 +72,10 @@ } static void draw_board(GameState *gamestate, uint8_t perspective) { + char fen[90]; + compute_fen(fen, gamestate); + mvaddstr(0, 0, fen); + for (uint8_t y = 0 ; y < 8 ; y++) { for (uint8_t x = 0 ; x < 8 ; x++) { uint8_t col = gamestate->board[y][x] & COLOR_MASK; @@ -109,7 +113,7 @@ /* move log */ // TODO: introduce window to avoid bugs with a long move log - uint8_t logy = 0; + uint8_t logy = 1; const uint8_t logx = boardx + 30; int logi = 1; MoveList *logelem = gamestate->movelist;