#ifndef KALAHA_IO_H #define KALAHA_IO_H #include "kalaha.h" /* Show a kalaha state on the screen using ncurses. We make no assumptions * about the contents of the screen but we assume that ncurses is * initialized and that the window size is at least 24 lines and 80 columns. */ void drawstate (kalaha_state * state, int lastmove); /* Read a kalaha state from a file. */ int readstate (FILE * file, kalaha_state * state); #endif KALAHA_IO_H