//--------------------------------------------------------------------------- #ifndef ikosH #define ikosH //--------------------------------------------------------------------------- #include #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; TButton *Button2; TRadioButton *hh; TRadioButton *cc; TRadioButton *hc; TTimer *Timer1; TEdit *level; TLabel *Label3; TEdit *delay; TLabel *Label4; 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); void __fastcall Button2Click(TObject *Sender); void __fastcall hcClick(TObject *Sender); void __fastcall hhClick(TObject *Sender); void __fastcall ccClick(TObject *Sender); void __fastcall Timer1Timer(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; int mode; int elevel; }; //--------------------------------------------------------------------------- extern TForm1 *Form1; //--------------------------------------------------------------------------- #endif