Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Top-Ranger committed Feb 22, 2015
1 parent 8032080 commit a730a78
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ Currently avaiable are:
* Tutorial: A player that tries to teach basic strategies
* Adaptive Tree AI: A variant of the Tree AI which tries to guess your next moves
* Control AI: An AI that tries to control the board by conquering key positions
* Assembly AI: An AI which uses several small entities to determine the best play
* Neural Network AI: An AI using a neural network

---

HOWTO implement an own AI/Player:
1. Inhert Player
2. Overwrite doTurn(), isHuman(), getBoard(Gameboard board), humanInput(int x, int y)
2. Overwrite doTurn(Gameboard board), isHuman(), humanInput(int x, int y)
3. Add new AI to Gamemaster::initialise(QString player1, QString player2, int bonus)
4. Add new AI to UI

---

HOWTO use a rule:
1. Use the "applicable(Gameboard board, int player)" method
2. Only when you get true use the "doTurn(Gameboard board, int player)" method

Failure to do so will result in undefined behaviour

0 comments on commit a730a78

Please sign in to comment.