-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain_Display.fxml
More file actions
166 lines (163 loc) · 12.3 KB
/
Copy pathMain_Display.fxml
File metadata and controls
166 lines (163 loc) · 12.3 KB
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.ColumnConstraints?>
<?import javafx.scene.layout.GridPane?>
<?import javafx.scene.layout.RowConstraints?>
<?import javafx.scene.shape.Rectangle?>
<?import javafx.scene.text.Font?>
<?import javafx.scene.text.Text?>
<AnchorPane prefHeight="525.0" prefWidth="646.0" xmlns="http://javafx.com/javafx/8.0.141" xmlns:fx="http://javafx.com/fxml/1">
<children>
<GridPane fx:id="boardGui" gridLinesVisible="true" layoutX="25.0" layoutY="50.0" prefHeight="450.0" prefWidth="450.0">
<columnConstraints>
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
</columnConstraints>
<rowConstraints>
<RowConstraints fx:id="board_gui" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
</rowConstraints>
<children>
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="#803d0d" strokeType="INSIDE" width="57.0" GridPane.columnIndex="3" GridPane.rowIndex="1" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="1" GridPane.rowIndex="1" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="5" GridPane.rowIndex="1" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="7" GridPane.rowIndex="1" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="2" GridPane.rowIndex="2" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="4" GridPane.rowIndex="2" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="6" GridPane.rowIndex="2" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="1" GridPane.rowIndex="3" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="3" GridPane.rowIndex="3" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="5" GridPane.rowIndex="3" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="7" GridPane.rowIndex="3" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="2" GridPane.rowIndex="4" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="4" GridPane.rowIndex="4" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="6" GridPane.rowIndex="4" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="1" GridPane.rowIndex="5" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="3" GridPane.rowIndex="5" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="5" GridPane.rowIndex="5" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="7" GridPane.rowIndex="5" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="2" GridPane.rowIndex="6" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="4" GridPane.rowIndex="6" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="6" GridPane.rowIndex="6" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="1" GridPane.rowIndex="7" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="3" GridPane.rowIndex="7" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="5" GridPane.rowIndex="7" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="7" GridPane.rowIndex="7" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="2" GridPane.rowIndex="8" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="4" GridPane.rowIndex="8" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="6" GridPane.rowIndex="8" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="0" GridPane.rowIndex="2" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="0" GridPane.rowIndex="6" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.columnIndex="0" GridPane.rowIndex="8" />
<Rectangle arcHeight="5.0" arcWidth="5.0" fill="#2f2f2f" height="58.0" stroke="BLACK" strokeType="INSIDE" width="57.0" GridPane.rowIndex="4" />
</children>
</GridPane>
<Button fx:id="undoBtn" layoutX="492.0" layoutY="438.0" mnemonicParsing="false" text="Undo" />
<Text layoutX="483.0" layoutY="197.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Difficulty:" wrappingWidth="63.13671875" />
<Button fx:id="easyBtn" layoutX="489.0" layoutY="210.0" mnemonicParsing="false" text="Easy" />
<Button fx:id="mediumBtn" layoutX="484.0" layoutY="245.0" mnemonicParsing="false" text="Medium" />
<Button fx:id="hardBtn" layoutX="488.0" layoutY="281.0" mnemonicParsing="false" text="Hard" />
<Text fx:id="evalWhiteText" layoutX="485.0" layoutY="333.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Evaluation after last move by White:" wrappingWidth="156.13671875" />
<Text fx:id="evalBlackText" layoutX="485.0" layoutY="367.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Evaluation after last move by Black:" wrappingWidth="156.13671875" />
<Text fx:id="evalWinningText" layoutX="482.0" layoutY="403.0" strokeType="OUTSIDE" strokeWidth="0.0" wrappingWidth="156.13671875" />
<Button fx:id="gameModeBtn" layoutX="196.0" layoutY="14.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="136.0" text="AI Mode" />
<Button fx:id="recommendMoveBtn" layoutX="485.0" layoutY="33.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="136.0" text="Recommend Move" />
<Text fx:id="pieceToMoveText" layoutX="485.0" layoutY="82.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Piece to Move: " wrappingWidth="156.13671875" />
<Text fx:id="rowToMoveToText" layoutX="485.0" layoutY="99.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Row to Move to: " wrappingWidth="156.13671875" />
<Text fx:id="columnToMoveToText" layoutX="485.0" layoutY="116.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Column to Move to: " wrappingWidth="156.13671875" />
<Text layoutX="11.0" layoutY="82.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="135.0" strokeType="OUTSIDE" strokeWidth="0.0" text="1">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="198.0" strokeType="OUTSIDE" strokeWidth="0.0" text="2">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="250.0" strokeType="OUTSIDE" strokeWidth="0.0" text="3">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="311.0" strokeType="OUTSIDE" strokeWidth="0.0" text="4">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="369.0" strokeType="OUTSIDE" strokeWidth="0.0" text="5">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="421.0" strokeType="OUTSIDE" strokeWidth="0.0" text="6">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="11.0" layoutY="478.0" strokeType="OUTSIDE" strokeWidth="0.0" text="7">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="47.0" layoutY="516.0" strokeType="OUTSIDE" strokeWidth="0.0" text="0">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="106.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="1">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="162.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="2">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="218.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="3">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="273.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="4">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="328.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="5">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="387.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="6">
<font>
<Font size="14.0" />
</font>
</Text>
<Text layoutX="444.0" layoutY="515.0" strokeType="OUTSIDE" strokeWidth="0.0" text="7">
<font>
<Font size="14.0" />
</font>
</Text>
</children>
</AnchorPane>