Skip to content

Commit

Permalink
Roboyard Android Version 9.0
Browse files Browse the repository at this point in the history
- Add Impossible Mode with at least 17 moves
- Beginner Levels may only take max one second to compute
- fix: Level setting was not saved, if "Beginner" was selected
- fix: LevelGame selection are not re-generated anymore, so they can be solved now
- Default Level is now "Beginner"
  • Loading branch information
rubo77 committed Dec 1, 2019
1 parent 7a5cd3a commit 99cd5f2
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGELOG
=========

### Version 9.0

- Add Impossible Mode with at least 17 moves
- Beginner Levels may only take max one second to compute
- fix: Level setting was not saved, if "Beginner" was selected
- fix: LevelGame selection are not re-generated anymore, so they can be solved now
- Default Level is now "Beginner"

### Version 8.1

- Popup messages moved to the bottom area
Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ android {
applicationId "de.z11.roboyard"
minSdkVersion 15
targetSdkVersion 26
versionCode 26
versionName "8.1"
versionCode 27
versionName "9.0"
}
buildTypes {
release {
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/java/roboyard/eclabs/GridGameScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class GridGameScreen extends GameScreen {
private int currentMovedSquares = 0;
private long prevTime;

private static String levelDifficulty="Advanced";
private static String levelDifficulty="Beginner";
private static ArrayList<GridElement> currentMap;

private int IAMovesNumber = 0;
Expand Down Expand Up @@ -90,7 +90,7 @@ public GridGameScreen(GameManager gameManager){
String ld=preferences.getPreferenceValue(gameManager.getActivity(), "difficulty");
if(ld.equals("")){
// default difficulty
ld="Advanced";
ld="Beginner";
preferences.setPreferences(gameManager.getActivity(),"difficulty", ld);
}
setDifficulty(ld);
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/roboyard/eclabs/SettingsGameScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class SettingsGameScreen extends GameScreen {
private GameButtonGeneral buttonSoundOn = null;
private int hs2;
private int ws2;
private String levelDifficulty="Advanced";
private String levelDifficulty="Beginner";
private Preferences preferences = new Preferences();

private float ratioW = ((float)gameManager.getScreenWidth()) /((float)1080);
Expand Down
Binary file not shown.

0 comments on commit 99cd5f2

Please sign in to comment.