Commit graph

95 commits

Author SHA1 Message Date
Christopher Beckmann
1b31b5cfe2 Added some Layouts for landscape ordientation as well as some for high density screens.
Also made the arrows in the main menu clickable.
2016-01-30 12:38:26 +01:00
Christopher Beckmann
65e5dbe5fc Solved Issue #3, #2 and fixed an Android 6.0 specific bug, that would prevent the UI from updating when changes to the gameboard were made.
Also corrected the keyboard layout.
2016-01-28 19:37:22 +01:00
Gongxter
b25b55afb7 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java
#	app/src/main/res/values/strings.xml
2016-01-21 16:55:24 +01:00
Gongxter
4724612c1e stats reworked fixed a bug 2016-01-21 16:52:08 +01:00
Christopher Beckmann
e975d9277a Runnable again. Fixed imports. 2016-01-21 16:50:20 +01:00
Christopher Beckmann
f24a0866e4 Russian added as well. Translation following soon. 2016-01-21 16:44:23 +01:00
Christopher Beckmann
cd1b9ece7b Merge remote-tracking branch 'origin/master' 2016-01-21 16:36:23 +01:00
Christopher Beckmann
7b84ce0232 Updated language files and added new ones for Spanish and Chinese. 2016-01-21 16:36:08 +01:00
Gongxter
3d110b57c5 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java
#	app/src/main/res/drawable/standalone_button.xml
2016-01-21 16:12:57 +01:00
Christopher Beckmann
8db2f6ec91 Added some strings and HintListener 2016-01-21 16:08:48 +01:00
Gongxter
8b98f2531d timer now always counts in stats 2016-01-21 15:39:00 +01:00
Christopher Beckmann
06deb5b439 Fixed Issue#6 and fixed an activity stack bug, that caused the app to have multiple main menus in the stack. 2016-01-21 14:26:59 +01:00
Gongxter
01b3e37ce1 keyboard now with linear layout 2016-01-21 13:55:46 +01:00
Gongxter
b6787846e6 Merge remote-tracking branch 'origin/master' 2016-01-20 09:43:53 +01:00
Gongxter
48535eedd6 small changes 2016-01-20 09:43:23 +01:00
Christopher Beckmann
92c035f860 Fixed a lot of stuff.. and added ... stuff....... yay. 2016-01-19 15:15:47 +01:00
Christopher Beckmann
29028c39f5 Symbol Map selectable in settings. 2015-12-20 16:26:41 +01:00
Christopher Beckmann
0d4a222cfc Value and Note Highlighting with settings done. Also you can now select values and put them in that way. 2015-12-19 19:00:41 +01:00
Gongxter
f205532ed4 added DialogeFragment for WinScreen 2015-12-11 14:48:27 +01:00
Gongxter
97becd93e5 edit the notes location in a cell to an dynamic one added rotation for the drawable pen in note button Blue TU Theme should now be finished 2015-12-10 13:37:04 +01:00
Gongxter
3714a321d9 Blue TU Theme added and drawables with first attempt to add animation to drawable 2015-12-07 14:29:37 +01:00
Gongxter
1a58a9b7cc designs updated to Blue TU Theme 2015-12-02 14:23:17 +01:00
Gongxter
7242345a21 Edit Buttons and slideshow with arrows 2015-11-30 18:02:00 +01:00
Gongxter
f28217bf46 Stats: Changed Average time and min time per difficulty to only games without Hints used 2015-11-26 14:21:25 +01:00
Gongxter
5e8c1bd2b1 Stats added 2015-11-26 13:21:44 +01:00
Christopher Beckmann
ab152917d1 Renamed some files. 2015-11-25 00:32:29 +01:00
Christopher Beckmann
31144449c7 Undo/Redo Feature added. States are not saved through sessions. They build up for every play session you start. 2015-11-24 23:59:52 +01:00
Christopher Beckmann
d2bed7b2a5 You can now delete entries in the continue game screen by long clicking them. 2015-11-24 12:32:36 +01:00
Christopher Beckmann
e2ecfe9292 Redesigned the Continue Game Screen. Also the list is now sorted and only the top 10 recent played games are saved. All the others are deleted. 2015-11-24 11:06:39 +01:00
Christopher Beckmann
7d2ec4abae Now pre generating levels in the background when starting the app, so when the user chooses a level it will be loaded instantly.
We are storing up to 5 levels per gametype and difficulty and whenever the user picks a level we start generating the next ones already.
Since generating a 12x12 level can take a very long time. This is the workaround we have so far. If we still run into the problem of having to wait for 12x12 levels to generate. I will consider removing the 12x12 Gamemode alltogether.
2015-11-23 18:48:04 +01:00
Christopher Beckmann
b875a66ab5 Generator now works for every Difficulty and GameType. I had to change the generator for the 12x12 Generation to leave more clues because it had a very hard time generating levels for the "easy" difficulty level.
It's not very pretty but it works in a reasonable time. Before it would just turn black and stay that way for half an hour.
2015-11-22 17:45:17 +01:00
Christopher Beckmann
606625d08b Generator now works for 6x6.. Working on 12x12 now... thought I might have fixed both at the same time, but 12x12 is not working. 2015-11-22 15:57:41 +01:00
Christopher Beckmann
afc39b78e0 QQWing Solver now works for 6x6. Still a lot of work left. 2015-11-22 14:34:07 +01:00
Christopher Beckmann
2a652c7e12 Tried to integrate the QQGenerator. It's somehow working for 9x9 Games, but all the others are not working yet. Have to look at that at again. 2015-11-21 21:29:23 +01:00
Christopher Beckmann
fc992778a0 Timer is now being saved when loading a game. 2015-11-20 21:57:34 +01:00
Gongxter
b4fb350fa0 Timer now in GameController and saves 2015-11-20 14:42:14 +01:00
Gongxter
87ec3902a0 Timer and GameDescription added 2015-11-19 15:38:50 +01:00
Christopher Beckmann
327f9a6c66 Bugfix. Runnable again. 2015-11-19 15:33:29 +01:00
Christopher Beckmann
86581ffd8e Added an IGameSolvedListener. The GameActivity now listens for it. 2015-11-19 14:38:41 +01:00
Christopher Beckmann
643c45070f Removed ISolver since we are not implementing different solvers.
Corrected GameController listening to GameCells.
2015-11-19 14:31:18 +01:00
Gongxter
8089adf862 Changed GameType Enum to hold al the relevant information for that GameType. Added Timer to the GameView. 2015-11-19 14:15:54 +01:00
Christopher Beckmann
c7e7f1d88c Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/java/tu_darmstadt/sudoku/controller/Symbol.java
2015-11-19 13:41:33 +01:00
Christopher Beckmann
02419e1028 Added Game Difficulty Enum. The Difficulty Selection now checks the enum for valid difficulty types and sets itself automaticly. Added IModelChangeListeners to the GameCells. 2015-11-19 13:41:01 +01:00
Gongxter
ad5a873bf9 Button sizing fixed added timer 2015-11-19 11:19:32 +01:00
Christopher Beckmann
f1ef933963 Solved a Bug in the Solver. When solving Levels that have multiple solutions it would set wrong values. (Off by 1 error) 2015-11-18 13:15:29 +01:00
Christopher Beckmann
07ea26114e HighscoreInfoContainer hinzugefügt. 2015-11-18 12:06:01 +01:00
Christopher Beckmann
4c00ffec1c Bugfix 2015-11-18 11:46:26 +01:00
Christopher Beckmann
40aab36624 Hint Button is now working and will reveal the selected cell for you.
Not sure if I should check the board for errors as well.
2015-11-18 04:22:35 +01:00
Christopher Beckmann
cc92454cc6 Implemented the backtracking strategy for the Sudoku Solver.
JUnit tests are running. Still need to add more logic strategies.
2015-11-18 03:54:33 +01:00
Christopher Beckmann
6ad5832538 Game is now saved every time the model is changed. 2015-11-17 15:47:24 +01:00