diff --git a/Main/src/META-INF/MANIFEST.MF b/Main/src/META-INF/MANIFEST.MF new file mode 100644 index 0000000..37197ef --- /dev/null +++ b/Main/src/META-INF/MANIFEST.MF @@ -0,0 +1,3 @@ +Manifest-Version: 1.0 +Main-Class: Main + diff --git a/Main/src/core/board/Board.java b/Main/src/core/board/Board.java index 7f28c91..5ad5929 100644 --- a/Main/src/core/board/Board.java +++ b/Main/src/core/board/Board.java @@ -39,7 +39,7 @@ public Board() { // (some calculations to generate the game content) final int SIZE = 2; int size = (SIZE * 2) + 3; - int countEnemies = 1; + int countEnemies = 2; int countBlocks = (SIZE * (SIZE + 1)) + ((SIZE + 1) * (((SIZE * 2) + 3) - 2)); int countWalls = ((countBlocks - 9) > 0) ? (countBlocks - countEnemies - 9)/2 : 0; diff --git a/Main/src/core/board/block/blocks/moving/Enemy.java b/Main/src/core/board/block/blocks/moving/Enemy.java index bfb8a7f..5dca8e5 100644 --- a/Main/src/core/board/block/blocks/moving/Enemy.java +++ b/Main/src/core/board/block/blocks/moving/Enemy.java @@ -57,7 +57,7 @@ public void live() { // repeat if is not game over if (!Board.isGameOver()) { try { - Thread.sleep(1000); + Thread.sleep(500); this.live(); } catch (Exception e) { System.out.println(e.getMessage()); diff --git a/demo/Main.jar b/demo/Main.jar new file mode 100755 index 0000000..87a8af9 Binary files /dev/null and b/demo/Main.jar differ