C# Class Othello.Form1

Mostra file Open project: tanukizoba/Aguey-Agile

Public Properties

Property Type Description
AvailableMove ].int[
FirstPlayer bool
OpponentPiece int
TurnBlack bool
data ].int[
mode int
score int[]

Public Methods

Method Description
CheckWin ( ) : void
Click_table ( int x, int y ) : void
Form1 ( ) : System
Form1_Load ( object sender, EventArgs e ) : void
TurnAI ( ) : void
UpdateScore ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
BtPass_Click ( object sender, EventArgs e ) : void
BtReset_Click ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

PrintPiece ( ) : void
checkBoxAvailableMove_CheckedChanged ( object sender, EventArgs e ) : void
panel1_MouseClick ( object sender, MouseEventArgs e ) : void
panel1_Paint ( object sender, PaintEventArgs e ) : void

Method Details

CheckWin() public method

public CheckWin ( ) : void
return void

Click_table() public method

public Click_table ( int x, int y ) : void
x int
y int
return void

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Form1() public method

public Form1 ( ) : System
return System

Form1_Load() public method

public Form1_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

TurnAI() public method

public TurnAI ( ) : void
return void

UpdateScore() public method

public UpdateScore ( ) : void
return void

Property Details

AvailableMove public_oe property

public int[,] AvailableMove
return ].int[

FirstPlayer public_oe property

public bool FirstPlayer
return bool

OpponentPiece public_oe property

public int OpponentPiece
return int

TurnBlack public_oe property

public bool TurnBlack
return bool

data public_oe property

public int[,] data
return ].int[

mode public_oe property

public int mode
return int

score public_oe property

public int[] score
return int[]