Commit graph

184 commits

Author SHA1 Message Date
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
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
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
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
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
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
1e482e68f5 Reworked Main menu. 2015-11-16 18:02:31 +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
Christopher Beckmann
e18dd1062c Bugfix 2015-11-15 12:38:15 +01:00
Christopher Beckmann
94f183f95b Added the NewGame screen. No real settings available yet. 2015-11-15 12:18:22 +01:00
Christopher Beckmann
54b9de3e22 Merged. Also Added an Enum for Button Types.
Extended the GameController with additional functions for the view.
2015-11-15 10:33:17 +01:00
Gongxter
163e64810e Added KeyBoard and is now Playable 2015-11-14 20:18:20 +01:00
Gongxter
e8428751f1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
#	app/src/main/java/tu_darmstadt/sudoku/ui/view/SudokuCellView.java
2015-11-13 14:43:04 +01:00
Gongxter
81ddad4745 UI KeyBoard 2015-11-13 13:45:09 +01:00
Christopher Beckmann
f43803ad46 Added a new solve strategy to the Solver.
Added new settings that will work across the app.
Cleaned up code.
Added about page.
2015-11-13 13:43:58 +01:00
Gongxter
96a0b1d7ba UI KeyBoard 2015-11-13 13:40:36 +01:00
Christopher Beckmann
8566f4341c Added Cell Selection and Highlighting of Connected Cells. 2015-11-12 14:18:42 +01:00
Christopher Beckmann
a8486fe5a2 Cleaned up code and made GameView prettier. :) 2015-11-12 11:24:16 +01:00
Christopher Beckmann
f4ea6bf66b GameView can now show the GameBoard correctly. Interactions are not yet possible. 2015-11-12 01:50:38 +01:00
Gongxter
add419fa01 UI changes. 2015-11-11 18:20:02 +01:00
Gongxter
b2f9cd215b Multilanguage for german English
First GUI samples
2015-11-11 14:28:24 +01:00
Christopher Beckmann
b5dc145bb7 Redesigned a bit of the model.
Added JUnit Tests for GameController.
Added a GameView, that doesn't show the game yet though.
2015-11-10 03:21:02 +01:00
Christopher Beckmann
b4a651a332 First Commit. Adding some Source code. 2015-11-09 12:41:46 +01:00