Method | Description | |
---|---|---|
GameForm ( ) : System |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
OnPaint ( PaintEventArgs e ) : void | ||
OnResize ( |
Method | Description | |
---|---|---|
GameForm_MouseClick ( object sender, MouseEventArgs e ) : void |
Fills in the square that the human clicked on, gets the AI's response, and checks for a winner.
|
|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
endGame ( string message ) : void |
Ends the game and displays a pop-up message to the player.
|
|
getComputerOpponentMove ( ) : void |
Gets the next move from the AI.
|
|
loadGenomeFromFile ( bool readFunctionIds ) : void | ||
loadHyperNEATPlayerToolStripMenuItem_Click ( object sender, |
||
loadNEATPlayerToolStripMenuItem1_Click ( object sender, |
||
neatPlayerToolStripMenuItem_Click ( object sender, |
||
newGameToolStripMenuItem_Click ( object sender, |
Resets the board and starts a new game.
|
|
oToolStripMenuItem_Click ( object sender, |
Sets the human's square type to O and the AI's square type to X.
|
|
optimalPlayerToolStripMenuItem_Click ( object sender, |
||
randomPlayerToolStripMenuItem_Click ( object sender, |
||
xToolStripMenuItem_Click ( object sender, EventArgs e ) : void |
Sets the human's square type to X and the AI's square type to O.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnResize ( |
||
e | ||
return | void |