2 |
3 |
4 |
5 |
6 | Deprecated List
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/script.js:
--------------------------------------------------------------------------------
1 | /*
2 | * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
3 | * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
4 | *
5 | *
6 | *
7 | *
8 | *
9 | *
10 | *
11 | *
12 | *
13 | *
14 | *
15 | *
16 | *
17 | *
18 | *
19 | *
20 | *
21 | *
22 | *
23 | *
24 | */
25 |
26 | var moduleSearchIndex;
27 | var packageSearchIndex;
28 | var typeSearchIndex;
29 | var memberSearchIndex;
30 | var tagSearchIndex;
31 | function loadScripts(doc, tag) {
32 | createElem(doc, tag, 'jquery/jszip/dist/jszip.js');
33 | createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js');
34 | if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 ||
35 | window.navigator.userAgent.indexOf('Edge/') > 0) {
36 | createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js');
37 | }
38 | createElem(doc, tag, 'search.js');
39 |
40 | $.get(pathtoroot + "module-search-index.zip")
41 | .done(function() {
42 | JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) {
43 | var zip = new JSZip(data);
44 | zip.load(data);
45 | moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText());
46 | });
47 | });
48 | $.get(pathtoroot + "package-search-index.zip")
49 | .done(function() {
50 | JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) {
51 | var zip = new JSZip(data);
52 | zip.load(data);
53 | packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText());
54 | });
55 | });
56 | $.get(pathtoroot + "type-search-index.zip")
57 | .done(function() {
58 | JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) {
59 | var zip = new JSZip(data);
60 | zip.load(data);
61 | typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText());
62 | });
63 | });
64 | $.get(pathtoroot + "member-search-index.zip")
65 | .done(function() {
66 | JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) {
67 | var zip = new JSZip(data);
68 | zip.load(data);
69 | memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText());
70 | });
71 | });
72 | $.get(pathtoroot + "tag-search-index.zip")
73 | .done(function() {
74 | JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) {
75 | var zip = new JSZip(data);
76 | zip.load(data);
77 | tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText());
78 | });
79 | });
80 | if (!moduleSearchIndex) {
81 | createElem(doc, tag, 'module-search-index.js');
82 | }
83 | if (!packageSearchIndex) {
84 | createElem(doc, tag, 'package-search-index.js');
85 | }
86 | if (!typeSearchIndex) {
87 | createElem(doc, tag, 'type-search-index.js');
88 | }
89 | if (!memberSearchIndex) {
90 | createElem(doc, tag, 'member-search-index.js');
91 | }
92 | if (!tagSearchIndex) {
93 | createElem(doc, tag, 'tag-search-index.js');
94 | }
95 | $(window).resize(function() {
96 | $('.navPadding').css('padding-top', $('.fixedNav').css("height"));
97 | });
98 | }
99 |
100 | function createElem(doc, tag, path) {
101 | var script = doc.createElement(tag);
102 | var scriptElement = doc.getElementsByTagName(tag)[0];
103 | script.src = pathtoroot + path;
104 | scriptElement.parentNode.insertBefore(script, scriptElement);
105 | }
106 |
107 | function show(type) {
108 | count = 0;
109 | for (var key in data) {
110 | var row = document.getElementById(key);
111 | if ((data[key] & type) !== 0) {
112 | row.style.display = '';
113 | row.className = (count++ % 2) ? rowColor : altColor;
114 | }
115 | else
116 | row.style.display = 'none';
117 | }
118 | updateTabs(type);
119 | }
120 |
121 | function updateTabs(type) {
122 | for (var value in tabs) {
123 | var sNode = document.getElementById(tabs[value][0]);
124 | var spanNode = sNode.firstChild;
125 | if (value == type) {
126 | sNode.className = activeTableTab;
127 | spanNode.innerHTML = tabs[value][1];
128 | }
129 | else {
130 | sNode.className = tableTab;
131 | spanNode.innerHTML = "" + tabs[value][1] + "";
132 | }
133 | }
134 | }
135 |
136 | function updateModuleFrame(pFrame, cFrame) {
137 | top.packageFrame.location = pFrame;
138 | top.classFrame.location = cFrame;
139 | }
140 |
--------------------------------------------------------------------------------
/pom.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 | 4.0.0
6 |
7 | com.abhyudayasharma
8 | tic-tac-toe
9 | 1.0-SNAPSHOT
10 |
11 | tic-tac-toe
12 | https://github.com/AbhyudayaSharma/tic-tac-toe
13 |
14 |
15 | UTF-8
16 | 11
17 | 11
18 | 5.5.2
19 |
20 |
21 |
22 |
23 | org.junit.jupiter
24 | junit-jupiter-engine
25 | ${junit.jupiter.version}
26 | test
27 |
28 |
29 | com.github.spotbugs
30 | spotbugs-annotations
31 | 4.0.0-beta3
32 |
33 |
34 |
35 |
36 |
37 |
38 | com.github.spotbugs
39 | spotbugs-maven-plugin
40 | 3.1.12.2
41 |
42 |
43 | package
44 |
45 | check
46 |
47 |
48 |
49 |
50 |
51 | org.apache.maven.plugins
52 | maven-jar-plugin
53 | 3.1.2
54 |
55 |
56 |
57 | true
58 | lib/
59 | com.abhyudayasharma.tictactoe.Main
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 | maven-clean-plugin
70 | 3.1.0
71 |
72 |
73 |
74 | maven-resources-plugin
75 | 3.1.0
76 |
77 |
78 | maven-compiler-plugin
79 | 3.8.1
80 |
81 |
82 | maven-surefire-plugin
83 | 2.22.2
84 |
85 |
86 | maven-jar-plugin
87 | 3.1.2
88 |
89 |
90 | maven-install-plugin
91 | 2.5.2
92 |
93 |
94 | maven-deploy-plugin
95 | 2.8.2
96 |
97 |
98 |
99 | maven-site-plugin
100 | 3.8.2
101 |
102 |
103 | maven-project-info-reports-plugin
104 | 3.0.0
105 |
106 |
107 | org.codehaus.mojo
108 | exec-maven-plugin
109 | 1.6.0
110 |
111 | com.abhyudayasharma.tictactoe.Main
112 |
113 |
114 |
115 |
116 |
117 |
118 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/package-use.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Package com.abhyudayasharma
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 | No usage of com.abhyudayasharma
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Overview
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
116 |
117 |
163 |
164 |
165 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/class-use/AppTest.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Class com.abhyudayasharma.AppTest
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 | No usage of com.abhyudayasharma.AppTest
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/class-use/Game.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Class com.abhyudayasharma.tictactoe.Game
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 | No usage of com.abhyudayasharma.tictactoe.Game
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/class-use/Main.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Class com.abhyudayasharma.tictactoe.Main
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 | No usage of com.abhyudayasharma.tictactoe.Main
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/package-tree.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | com.abhyudayasharma Class Hierarchy
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
104 |
105 |
106 | Class Hierarchy
107 |
108 | - java.lang.Object
109 |
110 | - com.abhyudayasharma.AppTest
111 |
112 |
113 |
114 |
115 |
116 |
117 |
163 |
164 |
165 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/class-use/MagicSquare.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Class com.abhyudayasharma.tictactoe.MagicSquare
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 | No usage of com.abhyudayasharma.tictactoe.MagicSquare
101 |
102 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/docs/allpackages-index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All Packages
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 |
123 |
124 |
170 |
171 |
172 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/package-summary.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | com.abhyudayasharma
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 |
101 |
102 | -
103 |
104 | Class Summary
105 |
106 | | Class |
107 | Description |
108 |
109 |
110 |
111 | | AppTest |
112 |
113 | Unit test for simple App.
114 | |
115 |
116 |
117 |
118 |
119 |
120 |
121 |
122 |
168 |
169 |
170 |
--------------------------------------------------------------------------------
/docs/constant-values.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Constant Field Values
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
106 |
107 |
108 |
109 |
110 | com.abhyudayasharma.*
111 |
112 | -
113 |
114 | com.abhyudayasharma.tictactoe.com.abhyudayasharma.tictactoe.Game
115 |
116 | | Modifier and Type |
117 | Constant Field |
118 | Value |
119 |
120 |
121 |
122 |
123 |
124 | private static final int |
125 | size |
126 | 3 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
181 |
182 |
183 |
--------------------------------------------------------------------------------
/docs/index-files/index-15.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | W-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
W
101 |
102 | - winningSum - Variable in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
The sum that gives a user his or her win.
105 |
106 |
107 |
A B C E F G H L M O P S U V W All Classes All Packages
108 |
109 |
155 |
156 |
157 |
--------------------------------------------------------------------------------
/docs/index-files/index-10.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | O-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
O
101 |
102 | - oppositeCorner() - Method in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
Finds the opposite corner for the move.
105 |
106 |
107 |
A B C E F G H L M O P S U V W All Classes All Packages
108 |
109 |
155 |
156 |
157 |
--------------------------------------------------------------------------------
/docs/index-files/index-13.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | U-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
U
101 |
102 | - userChar - Variable in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
The character assigned to the user; either 'X' or 'O'.
105 |
106 |
107 |
A B C E F G H L M O P S U V W All Classes All Packages
108 |
109 |
155 |
156 |
157 |
--------------------------------------------------------------------------------
/docs/index-files/index-8.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | L-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
L
101 |
102 | - leader - Static variable in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
String that stores the name of the current scoreboard leader
105 |
106 |
107 |
A B C E F G H L M O P S U V W All Classes All Packages
108 |
109 |
155 |
156 |
157 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/package-tree.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | com.abhyudayasharma.tictactoe Class Hierarchy
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
104 |
105 |
106 | Class Hierarchy
107 |
108 | - java.lang.Object
109 |
110 | - com.abhyudayasharma.tictactoe.Game
111 | - com.abhyudayasharma.tictactoe.MagicSquare
112 | - com.abhyudayasharma.tictactoe.Main
113 |
114 |
115 |
116 |
117 |
118 | Enum Hierarchy
119 |
120 | - java.lang.Object
121 |
122 | - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
123 |
124 | - com.abhyudayasharma.tictactoe.PlayerType
125 |
126 |
127 |
128 |
129 |
130 |
131 |
132 |
133 |
179 |
180 |
181 |
--------------------------------------------------------------------------------
/docs/overview-tree.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Class Hierarchy
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
105 |
106 |
107 | Class Hierarchy
108 |
109 | - java.lang.Object
110 |
111 | - com.abhyudayasharma.AppTest
112 | - com.abhyudayasharma.tictactoe.Game
113 | - com.abhyudayasharma.tictactoe.MagicSquare
114 | - com.abhyudayasharma.tictactoe.Main
115 |
116 |
117 |
118 |
119 |
120 | Enum Hierarchy
121 |
122 | - java.lang.Object
123 |
124 | - java.lang.Enum<E> (implements java.lang.Comparable<T>, java.io.Serializable)
125 |
126 | - com.abhyudayasharma.tictactoe.PlayerType
127 |
128 |
129 |
130 |
131 |
132 |
133 |
134 |
135 |
181 |
182 |
183 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/package-use.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Uses of Package com.abhyudayasharma.tictactoe
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 |
138 |
139 |
185 |
186 |
187 |
--------------------------------------------------------------------------------
/docs/index-files/index-2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | B-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
B
101 |
102 | - boxes - Variable in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
JPanel to display the buttons for the game
105 |
106 | - buttons - Variable in class com.abhyudayasharma.tictactoe.Game
107 | -
108 |
Clickable JButtons for user interactions.
109 |
110 |
111 |
A B C E F G H L M O P S U V W All Classes All Packages
112 |
113 |
159 |
160 |
161 |
--------------------------------------------------------------------------------
/docs/index-files/index-14.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | V-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
V
101 |
102 | - valueOf(String) - Static method in enum com.abhyudayasharma.tictactoe.PlayerType
103 | -
104 |
Returns the enum constant of this type with the specified name.
105 |
106 | - values() - Static method in enum com.abhyudayasharma.tictactoe.PlayerType
107 | -
108 |
Returns an array containing the constants of this enum type, in
109 | the order they are declared.
110 |
111 |
112 |
A B C E F G H L M O P S U V W All Classes All Packages
113 |
114 |
160 |
161 |
162 |
--------------------------------------------------------------------------------
/docs/com/abhyudayasharma/tictactoe/package-summary.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | com.abhyudayasharma.tictactoe
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 |
100 |
101 |
102 | -
103 |
104 | Class Summary
105 |
106 | | Class |
107 | Description |
108 |
109 |
110 |
111 | | Game |
112 |
113 | This class contains logic for the AI of the game and maintains the UI.
114 | |
115 |
116 |
117 | | MagicSquare |
118 |
119 | Generates a magic square of odd size.
120 | |
121 |
122 |
123 | | Main |
124 |
125 | Execution starts here.
126 | |
127 |
128 |
129 |
130 |
131 | -
132 |
133 | Enum Summary
134 |
135 | | Enum |
136 | Description |
137 |
138 |
139 |
140 | | PlayerType |
141 |
142 | Utility enum for checking the current player.
143 | |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
151 |
197 |
198 |
199 |
--------------------------------------------------------------------------------
/docs/index-files/index-12.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | S-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
S
101 |
102 | - shouldAnswerWithTrue() - Method in class com.abhyudayasharma.AppTest
103 | -
104 |
Rigorous Test :-)
105 |
106 | - size - Static variable in class com.abhyudayasharma.tictactoe.Game
107 | -
108 |
The size of the tic-tac-toe board = 3.
109 |
110 | - start() - Method in class com.abhyudayasharma.tictactoe.Game
111 | -
112 |
Execution starts here.
113 |
114 |
115 |
A B C E F G H L M O P S U V W All Classes All Packages
116 |
117 |
163 |
164 |
165 |
--------------------------------------------------------------------------------
/docs/index-files/index-1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | A-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
A
101 |
102 | - addOnClickListener(JButton, int, int) - Method in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
Adds listener to the button for user interaction which get fired when the button is clicked.
105 |
106 | - AppTest - Class in com.abhyudayasharma
107 | -
108 |
Unit test for simple App.
109 |
110 | - AppTest() - Constructor for class com.abhyudayasharma.AppTest
111 | -
112 |
113 |
A B C E F G H L M O P S U V W All Classes All Packages
114 |
115 |
161 |
162 |
163 |
--------------------------------------------------------------------------------
/docs/allclasses-index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | All Classes
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
40 |
43 |
44 |
101 |
102 |
103 |
106 |
107 |
108 | -
109 |
110 | All Classes Class Summary Enum Summary
111 |
112 | | Class |
113 | Description |
114 |
115 |
116 | | AppTest |
117 |
118 | Unit test for simple App.
119 | |
120 |
121 |
122 | | Game |
123 |
124 | This class contains logic for the AI of the game and maintains the UI.
125 | |
126 |
127 |
128 | | MagicSquare |
129 |
130 | Generates a magic square of odd size.
131 | |
132 |
133 |
134 | | Main |
135 |
136 | Execution starts here.
137 | |
138 |
139 |
140 | | PlayerType |
141 |
142 | Utility enum for checking the current player.
143 | |
144 |
145 |
146 |
147 |
148 |
149 |
150 |
196 |
197 |
198 |
--------------------------------------------------------------------------------
/docs/index-files/index-4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | E-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
E
101 |
102 | - elementCounter(List, int[]) - Method in class com.abhyudayasharma.tictactoe.Game
103 | -
104 |
Counts the number of elements common in an array and a List
105 |
106 | - emptyCorner() - Method in class com.abhyudayasharma.tictactoe.Game
107 | -
108 |
Finds an empty corner in the matrix
109 |
110 | - emptySide() - Method in class com.abhyudayasharma.tictactoe.Game
111 | -
112 |
Finds an empty side in the matrix
113 |
114 | - expectedSum - Static variable in class com.abhyudayasharma.tictactoe.MagicSquare
115 | -
116 |
117 |
A B C E F G H L M O P S U V W All Classes All Packages
118 |
119 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/docs/index-files/index-11.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | P-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
P
101 |
102 | - placeNextOdd(int, int, int[][], int, int) - Method in class com.abhyudayasharma.tictactoe.MagicSquare
103 | -
104 |
Recursive method for placing digits in the magic square.
105 |
106 | - PlayerType - Enum in com.abhyudayasharma.tictactoe
107 | -
108 |
Utility enum for checking the current player.
109 |
110 | - PlayerType() - Constructor for enum com.abhyudayasharma.tictactoe.PlayerType
111 | -
112 | - possWin(List, List) - Method in class com.abhyudayasharma.tictactoe.Game
113 | -
114 |
Checks if the winning is possible
115 |
116 |
117 |
A B C E F G H L M O P S U V W All Classes All Packages
118 |
119 |
165 |
166 |
167 |
--------------------------------------------------------------------------------
/docs/index-files/index-7.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | H-Index
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
17 |
18 |
19 |
20 |
21 |
22 |
34 |
37 |
38 |
95 |
96 |
97 | A B C E F G H L M O P S U V W All Classes All Packages
98 |
99 |
100 |
H
101 |
102 | - HUMAN - com.abhyudayasharma.tictactoe.PlayerType
103 | -
104 | - humanMoves - Variable in class com.abhyudayasharma.tictactoe.Game
105 | -
106 |
List of moves made by the user.
107 |
108 | - humanMovesList - Variable in class com.abhyudayasharma.tictactoe.Game
109 | -
110 |
Displayable list of moves made by the human user.
111 |
112 | - humanWin(List) - Method in class com.abhyudayasharma.tictactoe.Game
113 | -
114 |
Checks if the win for the human player is possible.
115 |
116 | - humanWins - Static variable in class com.abhyudayasharma.tictactoe.Game
117 | -
118 |
The number of wins made by the human player.
119 |
120 |
121 |
A B C E F G H L M O P S U V W All Classes All Packages
122 |
123 |
169 |
170 |
171 |
--------------------------------------------------------------------------------