Skip to content

Commit

Permalink
Revert level start to 1 and fix pom warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
alfanhui committed Jan 5, 2022
1 parent 5f0174f commit 4c745bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@
</goals>
<configuration>
<headerType>gui</headerType>
<jar>${project.build.directory}/${artifactId}-${version}-shaded.jar</jar>
<outfile>${project.build.directory}/${artifactId}-${version}.exe</outfile>
<jar>${project.build.directory}/${project.artifactId}-${project.version}-shaded.jar</jar>
<outfile>${project.build.directory}/${project.artifactId}-${project.version}.exe</outfile>
<downloadUrl>http://java.com/download</downloadUrl>
<classPath>
<mainClass>${mainClass}</mainClass>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/uk/ac/dundee/SnakeGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public class SnakeGui implements ActionListener, KeyListener {
private static final int windowDimentionsX = 460;
private static final int windowDimentionsY = 500;

private int level = 4;
private int level = 1;
private final int numOfLevels = 5;
private int winTarget = 20;

Expand Down

0 comments on commit 4c745bb

Please sign in to comment.