//--------------------------------------------------------------------------- #ifndef samH #define samH //--------------------------------------------------------------------------- #include #include #include #include //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TEdit *width; TEdit *height; TButton *Button1; TEdit *message; TLabel *Label1; TLabel *Label2; TCheckBox *firstturn; void __fastcall Button1Click(TObject *Sender); void __fastcall FormResize(TObject *Sender); void __fastcall FormPaint(TObject *Sender); void __fastcall FormMouseUp(TObject *Sender, TMouseButton Button, TShiftState Shift, int X, int Y); void __fastcall FormClick(TObject *Sender); private: // User declarations public: // User declarations __fastcall TForm1(TComponent* Owner); void paintboard( int x, int y); int w,h; char board[100][100]; int move; int humanthinking; bool gameinprogress; int turn; }; //--------------------------------------------------------------------------- extern TForm1 *Form1; //--------------------------------------------------------------------------- #endif