Interface VI
- All Known Implementing Classes:
EDI
public interface VI
This interface encloses the decision-making part of the program; i.e., one
that receives information about the board state and is capable of deciding
a move.
This interface is named "VI," for "virtual intelligence," (borrowing the term from a videogame) purely because the term "AI" has become increasingly ambiguous following the obnoxious marketing from tech companies.
This interface is named "VI," for "virtual intelligence," (borrowing the term from a videogame) purely because the term "AI" has become increasingly ambiguous following the obnoxious marketing from tech companies.
-
Method Summary
Modifier and TypeMethodDescriptionintReturns the VI's recommended move.setColor(byte color) Tells the VI which color they should make decisions for; i.e., which player they should try to maximize the score for.setTimeLimit(int seconds) Imposes a time limit for each turn that the VI takes.
-
Method Details
-
consult
-
setColor
-
setTimeLimit
Imposes a time limit for each turn that the VI takes.- Parameters:
seconds- The number of seconds allotted.- Returns:
- The configured VI.
-