Package test.gameTest
Class RandomAiTest
- java.lang.Object
-
- test.gameTest.RandomAiTest
-
public class RandomAiTest extends java.lang.Object
Class for testing the random AiThis class tests basic functions of the randomAi in its main method. (see also
RandomAIPlayer
)- Author:
- Benni
-
-
Constructor Summary
Constructors Constructor Description RandomAiTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Firstly this method makes all essentials for the board.
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
Firstly this method makes all essentials for the board. Then it constructs a board. (Here with only 1 player) Then it uses the debug constructor from RandomAIPlayer to construct an RandomAIPlayer. (see alsoRandomAIPlayer
) It lets the AI-Player make some amount of moves and prints out the move and the board after each turn.- Parameters:
args
- command line arguments (have no effect)
-
-