Skip to content

Commit 80bebc8

Browse files
committed
UTTT uploaded
1 parent acfbf10 commit 80bebc8

File tree

77 files changed

+9063
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+9063
-0
lines changed

bots.txt

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Drunken Bot
2+
Fungus foot
3+
Local Prioritised List Bot
4+
Lord Bagel Muncher
5+
Random Dude

build.xml

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="UTTTexample" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
2+
<description>Builds, tests, and runs the project UTTTexample.</description>
3+
<import file="nbproject/build-impl.xml"/>
4+
<!--
5+
6+
There exist several targets which are by default empty and which can be
7+
used for execution of your tasks. These targets are usually executed
8+
before and after some main targets. Those of them relevant for JavaFX project are:
9+
10+
-pre-init: called before initialization of project properties
11+
-post-init: called after initialization of project properties
12+
-pre-compile: called before javac compilation
13+
-post-compile: called after javac compilation
14+
-pre-compile-test: called before javac compilation of JUnit tests
15+
-post-compile-test: called after javac compilation of JUnit tests
16+
-pre-jfx-jar: called before FX SDK specific <fx:jar> task
17+
-post-jfx-jar: called after FX SDK specific <fx:jar> task
18+
-pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
19+
-post-jfx-deploy: called after FX SDK specific <fx:deploy> task
20+
-pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
21+
-post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
22+
-post-clean: called after cleaning build products
23+
24+
(Targets beginning with '-' are not intended to be called on their own.)
25+
26+
Example of inserting a HTML postprocessor after javaFX SDK deployment:
27+
28+
<target name="-post-jfx-deploy">
29+
<basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
30+
<property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
31+
<custompostprocess>
32+
<fileset dir="${jfx.deployment.html}"/>
33+
</custompostprocess>
34+
</target>
35+
36+
Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
37+
initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
38+
39+
<target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
40+
<echo message="Calling jar task from JavaFX SDK"/>
41+
<fx:jar ...>
42+
...
43+
</fx:jar>
44+
</target>
45+
46+
For more details about JavaFX SDK Ant tasks go to
47+
http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
48+
49+
For list of available properties check the files
50+
nbproject/build-impl.xml and nbproject/jfx-impl.xml.
51+
52+
-->
53+
</project>

build/built-jar.properties

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#Wed, 04 Mar 2020 19:14:32 +0100
2+
3+
4+
C\:\\Users\\PC\\Desktop\\UTTT\ WORKING\ GITHUB=

build/classes/UTTT/App.class

1.13 KB
Binary file not shown.
686 Bytes
Binary file not shown.
1.15 KB
Binary file not shown.

build/classes/UTTT/bll/bot/IBot.class

215 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
1.2 KB
Binary file not shown.
2.84 KB
Binary file not shown.
646 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
6.81 KB
Binary file not shown.
1.59 KB
Binary file not shown.
323 Bytes
Binary file not shown.
141 Bytes
Binary file not shown.
1.23 KB
Binary file not shown.
549 Bytes
Binary file not shown.
Binary file not shown.
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

build/classes/UTTT/gui/css/style.css

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
To change this license header, choose License Headers in Project Properties.
3+
To change this template file, choose Tools | Templates
4+
and open the template in the editor.
5+
*/
6+
/*
7+
Created on : 20 Feb 2020, 20:44:07
8+
Author : PC
9+
*/
10+
11+
.button {
12+
13+
-fx-background-color: transparent;
14+
15+
-fx-opacity: 0.7;
16+
17+
/*
18+
transition: 1s all;
19+
*/
20+
21+
22+
}
23+
24+
25+
.background{
26+
/* cyan color */
27+
-fx-background-color: linear-gradient(#14f2eb,#14f2eb);
28+
-fx-background-radius: 10px;
29+
30+
31+
}
32+
3.31 KB
Binary file not shown.

build/classes/UTTT/gui/view/BotvsBotScene.fxml

+233
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.geometry.Insets?>
4+
<?import javafx.scene.control.Button?>
5+
<?import javafx.scene.layout.BorderPane?>
6+
<?import javafx.scene.layout.ColumnConstraints?>
7+
<?import javafx.scene.layout.GridPane?>
8+
<?import javafx.scene.layout.RowConstraints?>
9+
10+
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="UTTT.gui.controller.MainSceneController">
11+
<center>
12+
<GridPane fx:id="macroBoard" alignment="CENTER" hgap="5.0" vgap="5.0" BorderPane.alignment="CENTER">
13+
<columnConstraints>
14+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
15+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
16+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
17+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
18+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
19+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
20+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
21+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
22+
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
23+
</columnConstraints>
24+
<rowConstraints>
25+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
26+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
27+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
28+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
29+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
30+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
31+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
32+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
33+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
34+
</rowConstraints>
35+
<children>
36+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" />
37+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" />
38+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" />
39+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" />
40+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" />
41+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" />
42+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" />
43+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="1" />
44+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="1" />
45+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="1" />
46+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="1" />
47+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="1" />
48+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="1" />
49+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="1" />
50+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="1" />
51+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="2" />
52+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="2" />
53+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="2" />
54+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="2" />
55+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="2" />
56+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="2" />
57+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="2" />
58+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="2" />
59+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="3" />
60+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="3" />
61+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="3" />
62+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="3" />
63+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="3" />
64+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="3" />
65+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="3" />
66+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="3" />
67+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="4" />
68+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="4" />
69+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="4" />
70+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="4" />
71+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="4" />
72+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="4" />
73+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="4" />
74+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="4" />
75+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="5" />
76+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="5" />
77+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="5" />
78+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="5" />
79+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="5" />
80+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="5" />
81+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="5" />
82+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="5" />
83+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="6" />
84+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="6" />
85+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="6" />
86+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="6" />
87+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="6" />
88+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="6" />
89+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="6" />
90+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="6" />
91+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="7" />
92+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="7" />
93+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="7" />
94+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="7" />
95+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="7" />
96+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="7" />
97+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="7" />
98+
<Button mnemonicParsing="false" text="-" />
99+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="7" />
100+
<Button mnemonicParsing="false" text="-" GridPane.rowIndex="8" />
101+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="1" GridPane.rowIndex="8" />
102+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="2" GridPane.rowIndex="8" />
103+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="3" GridPane.rowIndex="8" />
104+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="4" GridPane.rowIndex="8" />
105+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="5" GridPane.rowIndex="8" />
106+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="6" GridPane.rowIndex="8" />
107+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="7" GridPane.rowIndex="8" />
108+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" />
109+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="1" />
110+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="2" />
111+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="3" />
112+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="4" />
113+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="5" />
114+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="6" />
115+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="7" />
116+
<Button mnemonicParsing="false" text="-" GridPane.columnIndex="8" GridPane.rowIndex="8" />
117+
</children>
118+
<BorderPane.margin>
119+
<Insets />
120+
</BorderPane.margin>
121+
</GridPane>
122+
</center>
123+
</BorderPane>
+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.scene.layout.AnchorPane?>
4+
<?import javafx.scene.layout.ColumnConstraints?>
5+
<?import javafx.scene.layout.GridPane?>
6+
<?import javafx.scene.layout.RowConstraints?>
7+
8+
<AnchorPane id="AnchorPane" fx:id="Mpane" prefHeight="800.0" prefWidth="800.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="UTTT.gui.controller.MainSceneController">
9+
<children>
10+
<GridPane fx:id="Gpane" alignment="CENTER" gridLinesVisible="true" hgap="4.0" layoutX="-6.0" layoutY="6.0" prefHeight="800.0" prefWidth="800.0" vgap="4.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
11+
<columnConstraints>
12+
<ColumnConstraints hgrow="SOMETIMES" maxWidth="272.0" minWidth="10.0" prefWidth="267.0" />
13+
<ColumnConstraints hgrow="SOMETIMES" maxWidth="273.0" minWidth="10.0" prefWidth="251.0" />
14+
<ColumnConstraints hgrow="SOMETIMES" maxWidth="274.0" minWidth="10.0" prefWidth="274.0" />
15+
</columnConstraints>
16+
<rowConstraints>
17+
<RowConstraints maxHeight="269.0" minHeight="10.0" prefHeight="269.0" vgrow="SOMETIMES" />
18+
<RowConstraints maxHeight="259.0" minHeight="10.0" prefHeight="251.0" vgrow="SOMETIMES" />
19+
<RowConstraints maxHeight="274.0" minHeight="10.0" prefHeight="272.0" vgrow="SOMETIMES" />
20+
</rowConstraints>
21+
</GridPane>
22+
</children>
23+
</AnchorPane>

0 commit comments

Comments
 (0)