// 例題5 包囲ゲーム // move.h 手のデータ定義 #ifndef _MOVE_H_ #define _MOVE_H // 手を表す線形リスト定義 typedef struct move { Point from,to; const struct move *next; } Move; // プロトタイプ宣言 bool isresign(Move m); void input_move(Move*,const Board*); void show_move(const Move *mp); void update_board(const Move*,Board*); #endif