| 966 } |
966 } |
| 967 |
967 |
| 968 static void game_review(GameState *gamestate) { |
968 static void game_review(GameState *gamestate) { |
| 969 const unsigned page_moves = 10; |
969 const unsigned page_moves = 10; |
| 970 GameState viewedstate = {0}; |
970 GameState viewedstate = {0}; |
| |
971 // TODO: think about if viewedmove should refer to the index in the array |
| |
972 // or to the actual half move (considering the start offset) |
| 971 unsigned viewedmove = gamestate->movecount; |
973 unsigned viewedmove = gamestate->movecount; |
| 972 bool redraw = true; |
974 bool redraw = true; |
| 973 |
975 |
| 974 noecho(); |
976 noecho(); |
| 975 int c; |
977 int c; |