12 KiB
12 KiB
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
</head>
The documentation for this class was generated from the following files:
Generated by 1.9.8 </html>
LogDoctor 3.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
|
Loading...
Searching...
No Matches
CrissCross Class Reference
#include <game.h>
Inheritance diagram for CrissCross:
Private Member Functions | |
void | endTurn () |
Ends the current turn. | |
void | nextTurn () |
Switches to the next turn. | |
bool | checkVictory () |
Checks whether somebody won or not. | |
bool | gameDraw () const |
Checks whether the game is draw or not. | |
void | victory () |
Someone won, process the victory. | |
void | draw () |
The match is over but nobody won, the game is draw. | |
void | AI_playTurn () |
Main function for the AI to play its turn. | |
void | AI_updateWeights () |
Updates the weights of the tiles. | |
unsigned | AI_makeChoice () const |
Makes the choice depending on the weights. | |
Detailed Description
Player vs AI criss-cross game
Member Function Documentation
◆ AI_makeChoice()
|
private |
◆ AI_updateWeights()
|
private |
Updates the weights of the tiles.
- See also
- AI_playTurn();
The documentation for this class was generated from the following files:
- logdoctor/games/crisscross/game.h
- logdoctor/games/crisscross/game.cpp
Generated by 1.9.8 </html>