Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
1 change: 0 additions & 1 deletion .gitignore

This file was deleted.

2 changes: 1 addition & 1 deletion TheGame/.project → .project
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>frogger</name>
<name>Full Algorithm</name>
<comment></comment>
<projects>
</projects>
Expand Down
File renamed without changes.
105 changes: 0 additions & 105 deletions TheGame/src/Game.java

This file was deleted.

2 changes: 1 addition & 1 deletion TheGame/.classpath → _classpath.xml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10">
<attributes>
<attribute name="module" value="true"/>
</attributes>
Expand Down
17 changes: 17 additions & 0 deletions _project.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Full algorithm</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
12 changes: 12 additions & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/Activation.class
/Game$1.class
/Game$2.class
/Game.class
/GeneticAlgorithm.class
/Individual.class
/Keyboard.class
/Mario.class
/NeuralNetwork.class
/NeuralNetworkTester.class
/Neuron.class
/Trainer.class
Binary file added bin/Activation.class
Binary file not shown.
Binary file added bin/Game$1.class
Binary file not shown.
Binary file added bin/Game$2.class
Binary file not shown.
Binary file added bin/Game.class
Binary file not shown.
Binary file added bin/GeneticAlgorithm.class
Binary file not shown.
Binary file added bin/Individual.class
Binary file not shown.
Binary file added bin/Keyboard.class
Binary file not shown.
Binary file added bin/Mario.class
Binary file not shown.
Binary file added bin/NeuralNetwork.class
Binary file not shown.
Binary file added bin/NeuralNetworkTester.class
Binary file not shown.
Binary file added bin/Neuron.class
Binary file not shown.
Binary file added bin/Trainer.class
Binary file not shown.
Binary file added block.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions data
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1
0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1
0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1
0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1
0, 0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ary file added ground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added mario.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/Activation.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

public enum Activation {
Sigmoid, ReLu, Tanh, None
}
Loading