Skip to content
This repository has been archived by the owner on Jul 9, 2023. It is now read-only.

Commit

Permalink
[+] compiled .jar demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin-Peter Lakatos committed May 19, 2017
1 parent d55b326 commit 80e931d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions Main/src/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: Main

2 changes: 1 addition & 1 deletion Main/src/core/board/Board.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion Main/src/core/board/block/blocks/moving/Enemy.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
Binary file added demo/Main.jar
Binary file not shown.

0 comments on commit 80e931d

Please sign in to comment.