152 |
152 |
153 static int domove_singlemachine(GameState *gamestate, GameInfo *gameinfo) { |
153 static int domove_singlemachine(GameState *gamestate, GameInfo *gameinfo) { |
154 |
154 |
155 const size_t buflen = 8; |
155 const size_t buflen = 8; |
156 char movestr[buflen]; |
156 char movestr[buflen]; |
|
157 movestr[0] = '\0'; |
157 |
158 |
158 int inputy = getmaxy(stdscr) - 6; |
159 int inputy = getmaxy(stdscr) - 6; |
159 while (1) { |
160 while (1) { |
160 draw_time(gamestate, gameinfo); |
161 draw_time(gamestate, gameinfo); |
161 move(inputy, 0); |
162 move(inputy, 0); |