T
tonghhai
Unregistered / Unconfirmed
GUEST, unregistred user!
unit chBoard;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Menus, StdCtrls, MPlayer;
const
maxdimmense=10;//棋盘最大边长
type
//棋盘的边长类型
TDimmense=0..MAXDIMMENSE+1;
//选手类型,其中WALL表示棋盘边界
TPlayer=(None,Player1,Player2,Wall);
//棋盘数组类型,用以存放棋盘上的棋子信息
TBoard=array[tdimmense,tdimmense] of Tplayer;
//Tbitbtn控件数组类型
TbtnBoard=array[TDimmense,TDimmense] of TBitbtn;
//运行到上面一行出现错误提示:[Error] chBoard.pas(24): Undeclared identifier: 'TBitbtn'
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, Menus, StdCtrls, MPlayer;
const
maxdimmense=10;//棋盘最大边长
type
//棋盘的边长类型
TDimmense=0..MAXDIMMENSE+1;
//选手类型,其中WALL表示棋盘边界
TPlayer=(None,Player1,Player2,Wall);
//棋盘数组类型,用以存放棋盘上的棋子信息
TBoard=array[tdimmense,tdimmense] of Tplayer;
//Tbitbtn控件数组类型
TbtnBoard=array[TDimmense,TDimmense] of TBitbtn;
//运行到上面一行出现错误提示:[Error] chBoard.pas(24): Undeclared identifier: 'TBitbtn'