Commit graph

477 commits

Author SHA1 Message Date
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
1bb1d96171 Merge remote-tracking branch 'origin/master' 2015-11-18 03:54:53 +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
8875a2ce38 Create LICENSE.md 2015-11-17 23:19:33 +01:00
Christopher Beckmann
4e9da8dfc8 Create README.md 2015-11-17 23:07:34 +01:00
Christopher Beckmann
6ad5832538 Game is now saved every time the model is changed. 2015-11-17 15:47:24 +01:00
Christopher Beckmann
0370fdad4e Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/res/layout/activity_main_menu.xml
2015-11-17 15:43:32 +01:00
Christopher Beckmann
328cc583cc Added the LoadGame Activity.
Added a Symbol Map to solve issues with saving 2 digit values to file.
LoadGame Activity is now also working.
2015-11-17 15:42:32 +01:00
Gongxter
f8ab4d7cce Boderless Style removed again 2015-11-17 15:12:56 +01:00
Gongxter
4bfdf01a9a Bordeless Style added and Still not figured out how to set Text Size correct 2015-11-17 14:53:20 +01:00
Gongxter
d3abad12a2 Buttons rearanged and and Note High low size added 2015-11-17 13:53:29 +01:00
Christopher Beckmann
ca73b34f3a Added new icons for the main menu. 2015-11-17 06:16:56 +01:00
Christopher Beckmann
5ba2ee98a1 LevelLoad from File implemented.
LevelSave to File implemented.
We can now continue a saved level.
Choice of GameType and difficulty is now saved through App restarts.
2015-11-17 05:43:59 +01:00
Christopher Beckmann
93cf408ea5 Bugfix in MainActivity. 2015-11-16 23:32:35 +01:00
Christopher Beckmann
e640ae9b31 Added File Manager. Not working yet. 2015-11-16 23:26:28 +01:00
Christopher Beckmann
1e482e68f5 Reworked Main menu. 2015-11-16 18:02:31 +01:00
Gongxter
7feef3cf65 merged 2015-11-15 13:16:45 +01:00
Gongxter
08a16160e0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
2015-11-15 13:15:37 +01:00
Christopher Beckmann
6629c3d9a6 Corrected Keyboard to always take the remaining space available.
Fixed Delete button.
2015-11-15 13:14:14 +01:00
Gongxter
fddd7d742b Hotfix für Fixed Button Row now only available buttons are shown height fixed by Chris 2015-11-15 13:10:29 +01:00
Gongxter
8a170f88bf Hotfix für Fixed Button Row 2015-11-15 12:50:12 +01:00
Gongxter
45ed0fc2da Merge remote-tracking branch 'origin/master' 2015-11-15 12:38:28 +01:00
Christopher Beckmann
e18dd1062c Bugfix 2015-11-15 12:38:15 +01:00
Gongxter
b3ddbb8d31 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
2015-11-15 12:36:03 +01:00