forked from JonathanFunk02/Pentago
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpentago v.2.uxf
111 lines (111 loc) · 2.29 KB
/
pentago v.2.uxf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<diagram program="umlet" version="14.3.0">
<zoom_level>10</zoom_level>
<element>
<id>UMLClass</id>
<coordinates>
<x>740</x>
<y>610</y>
<w>240</w>
<h>180</h>
</coordinates>
<panel_attributes>::GameTree
--
~thisBoard: GameBoard
~children: java.util.ArrayList
--
+GameTree(GameBoard): ctor
+populateNodeChildren(): void
+childNumber(): int
+getChildTrees(): java.util.ArrayList
+getBoard(): GameBoard
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>740</x>
<y>160</y>
<w>230</w>
<h>210</h>
</coordinates>
<panel_attributes>::Main
--
-depth: int
~board: GameBoard
~currentPlayer: int
--
+Main(): ctor
-parseInput(java.lang.String): void
-startGame(): void
-determineStarting(): void
+main(java.lang.String[]): void
~Main(): ctor
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>740</x>
<y>400</y>
<w>300</w>
<h>180</h>
</coordinates>
<panel_attributes>::AI
--
-maxBoard: GameBoard
-max: int
-depth: int
--
+AI(int): ctor
+getBoard(): GameBoard
+intelligentMove(int, GameTree, boolean): int
+randomMove(): java.lang.String
--
</panel_attributes>
<additional_attributes/>
</element>
<element>
<id>UMLClass</id>
<coordinates>
<x>460</x>
<y>160</y>
<w>250</w>
<h>460</h>
</coordinates>
<panel_attributes>::GameBoard
--
-slots: int[][]
-lastMove: java.lang.String
--
+GameBoard(): ctor
+GameBoard(int[][]): ctor
+setLastMove(java.lang.String): void
+makeMove(int, int, int): void
+isValidMove(int, int): boolean
~rotateClockwise(int[][]): int[][]
~rotateCounterClockwise(int[][]): int[][]
+getUtility(): int
+getChildren(): java.util.ArrayList
+printBoard(): void
-blankBoard(): void
+getLastMove(): java.lang.String
+rotate(java.lang.String): void
+rotateA(): void
+rotateB(): void
+rotateC(): void
+rotateD(): void
+rotatea(): void
+rotateb(): void
+rotatec(): void
+rotated(): void
+determineWinner(): int
--
</panel_attributes>
<additional_attributes/>
</element>
</diagram>