示例#1
0
 public Game1()
 {
     InitializeComponent();
     gomoku = new Gomoku(_Board);
     gomoku.DrawBoard();
     gomoku.InitArrayOco();
     NewSocket();
 }
示例#2
0
 public Board(Gomoku p, int width, int height)
 {
     this.gomoku = p;
     this.Width  = width;
     this.Height = height;
     this.Cells  = new Cell[width, height];
     this.turn   = 0;
 }
示例#3
0
 public void SetUp()
 {
     gomoku = new Gomoku(Size);
 }
示例#4
0
 private int Started = 0; //1-PVSP;2-PVSC
 public Gameoffline()
 {
     InitializeComponent();
     gameoffline = new Gomoku(Board);
 }