uykek
515e922260
Use 'QQWing.hasUniqueSolution()' method instead of 'QQWing.solve()' method for the custom sudoku and import verification
2020-07-05 12:52:29 +02:00
uykek
2af00fd31c
Replace hardcoded URL schemes in GameActivity and CreateSudokuActivity with constants
2020-07-01 18:45:53 +02:00
uykek
47b83dc316
Add Intent to GameActivity to onFinalizeDialogPositiveClick() method of CreateSudokuActivity
2020-07-01 18:35:06 +02:00
uykek
060b2c5740
Fix bug that caused the IFinalizeDialogFragmentListener to be called twice once the FinalizeDialogFragment is attached
2020-06-30 21:13:14 +02:00
uykek
360847f99d
Set GameType text view in CreateSudokuActivity
2020-06-30 15:33:27 +02:00
uykek
bf4f839cae
Replace hardcoded Strings in the CreateSudokuActivity and the CreateSudokuSpecialButtonLayout with string attributes.
2020-06-30 11:24:04 +02:00
uykek
e420b1b558
Add a FinalizeDialogFragment using the CreateSudokuActivity as an IFinalizeDialogFragmentListener to the CreateSudokuSpecialButtonLayout class. The DialogFragment is called when the user clicks on the 'finalize' button.
2020-06-30 11:07:37 +02:00
uykek
3bbb6576f9
Rename verify() method of CreateSudokuActivity so that it implements the onFinalizaDialogPositiveClick() method of the previously added interface and add the onDialogNegativeClick() method.
2020-06-30 10:48:24 +02:00
uykek
8d19a2239d
Add a listener interface for the finalization dialog of the CreateSudokuActivity
2020-06-30 10:42:09 +02:00
uykek
83a148887f
Delete CreateGameActivity dummy class.
2020-06-30 10:34:57 +02:00
uykek
c41ca657fd
Replace placeholder layout in CreateSudokuActivity with the CreateSudokuActivity layout
2020-06-30 10:22:51 +02:00
uykek
bc047addea
Add private verification method to CreateSudokuActivity
2020-06-30 10:14:30 +02:00
uykek
caf3bf3f9f
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-06-30 10:07:17 +02:00
ErikWaegerle
8d72312575
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-06-30 00:14:10 +02:00
ErikWaegerle
66a620f5f8
Creating the dummy class CreateGameActivity
...
Utility class to display the layout and not to have to customize GameActivity.
Can be deleted!
2020-06-30 00:07:07 +02:00
ErikWaegerle
0e4a03c94a
Create the CreateSudokuButtonLayout class.
...
Is identical to the SudokuSpecialButtonLayout slight modification to cover different cases.
Provides the display of the different button types.
2020-06-30 00:00:52 +02:00
ErikWaegerle
ff8b9b9559
Creating the CreateSudokuSpecialButton class
...
Modification for CreateSudokuButtonType.
2020-06-29 23:49:54 +02:00
ErikWaegerle
0bf7e70e28
Creating the CreateSudokuButtonType
...
The class contains the button types that are needed for the CreateSudoku.
The hint button was removed from the list and the finalize button was added.
2020-06-29 23:45:55 +02:00
ErikWaegerle
e832e6c4ac
Adjustment of the MainActivity, so that DarkTheme is still active with the activated battery or system status option. Dark Theme will remain if the app is closed.
2020-06-29 15:33:10 +02:00
ErikWaegerle
38a708821a
Adjusting the Settings Activity
...
Implementation of the case distinction for manual modification of the Dark Theme. It is possible to adjust the Dark Theme according to battery status or system settings.
2020-06-29 15:25:19 +02:00
uykek
abc34b899c
Implement onCreate method of CreateSudokuActivity (for now using the button layouts of the GameActivity)
2020-06-25 16:17:28 +02:00
uykek
b30ae90237
Override the onResume() and onBackPressed() methods of the CreateSudokuActivity
2020-06-24 19:18:45 +02:00
uykek
9b9670c965
Add new activity for creating custom sudokus
2020-06-24 19:02:35 +02:00
ErikWaegerle
50f7260717
Adaptation of the GameActivity
...
Dark Theme remains activated
In case the GameActivity is loaded first by clicking a sudoku:// link
2020-06-24 18:47:01 +02:00
ErikWaegerle
73e7fa3958
Adaptation of the MainActivity
...
is loaded in Main Activity, that the dark theme remains activated when the app is opened again
2020-06-24 18:36:33 +02:00
ErikWaegerle
1106ee84bb
Adjusting the SettingsActivity
...
Case discrimination with AppCompatDelegate to cover both cases.
2020-06-24 16:37:59 +02:00
uykek
0f5ef95c01
Fix problem with previously added method that caused the generation of a challenge sudoku as the daily sudoku to be more, rather than less, likely
2020-06-22 10:22:04 +02:00
uykek
f2aa3460ff
Modify NewLevelManager's loadDailySudoku() method so that the probability of the daily sudoku's difficulty being 'challenge' is only 10%
2020-06-17 18:33:59 +02:00
ErikWaegerle
c115b6c990
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-06-15 18:44:15 +02:00
ErikWaegerle
652095f975
Move the DailySudokuActivity to org.secuso.privacyfriendlysudoku.ui package
2020-06-15 13:55:49 +02:00
uykek
87a80de4b5
Change launchmode of GameActivityto 'singleTask' and add onNewIntent method to GameActivity
2020-06-15 09:05:56 +02:00
ErikWaegerle
c8a6385e64
Adaptation of the GameActivity and Manifest.xml to include deeplinking
...
Links of the following format
"http://sudoku " also accepted and loaded as game field
2020-06-13 20:16:51 +02:00
uykek
a8629fc75c
Adjust GameInfoContainer and GameActivity so that importing a sudoku containing an invalid fixed value (e.g. a 9x9 sudoku containing an 'A' as a fixed value) no longer causes an exception.
2020-06-13 15:56:37 +02:00
uykek
8dfa0f5317
Change onCreate() method of DailySudokuActivity so that the difficulty of the daily sudoku is only calculated once a day
2020-06-07 11:40:45 +02:00
uykek
05cc8aec51
Add new dialog style to all AlertDialog instances within the app
2020-06-07 10:34:23 +02:00
uykek
d76c4b7b50
Fix bug which causes vector graphics which receive their color from theme attributes to appear invisible when placed on an image button.
2020-06-06 12:51:39 +02:00
uykek
c6262b3789
Change method which rotates 'ic_create_black_48dp' drawable so that it is capable of rotating the new vector drawable
2020-06-02 18:36:14 +02:00
ErikWaegerle
a8c8280dc4
Modification of the onCreate() method
...
1.) Display of the current difficulty of the DailySudokus
Modification of the getView() method
1.) Calculation and display of the Daily Sudoku data
2020-06-01 01:22:15 +02:00
ErikWaegerle
236be00504
Modification of the onCreate() method
...
1.) Display and output of the cumulated number of required hints
2.) Display and output of the game time from the DailySudokus
3.) Display and output of the cumulated total playing time of DailySudokus
2020-05-31 18:15:32 +02:00
uykek
91f7cc6d2b
Add method which calculates the amount of seconds that were needed to solve a DailySudoku object based on its "timeNeeded" attribute
2020-05-28 00:25:12 +02:00
uykek
a015bd5597
Calculate difficulty of daily sudoku after sudoku has been generated instead of assigning a difficulty pre-generation
2020-05-28 00:18:01 +02:00
uykek
861015ae66
Stop player from playing the daily sudoku again if they have solved it already.
2020-05-27 23:22:26 +02:00
uykek
94b7b82bb4
Only calculate the daily sudoku once a day; after the DailySudokuActivity's floating action button has been pressed for the first time a day, load the daily sudoku from the 'saves' directory
2020-05-27 23:09:09 +02:00
uykek
2a90d403cb
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-05-27 22:11:38 +02:00
ErikWaegerle
f179518f5a
Adding the onClick() method, the SudokuListAdapter() and the getView() method
...
This adds functionality to the button and the customization/implementation to display the completed DailySudoku in list form.
2020-05-27 21:58:32 +02:00
uykek
29933c01eb
Allow eleven (instead of ten) sudokus to be saved by the GameStateManager if one of them is the daily sudoku
2020-05-27 21:44:11 +02:00
uykek
56db7277ca
Exclude daily sudoku from the sudokus displayed in the LoadGameActivity
2020-05-27 20:50:42 +02:00
uykek
e1ded11056
Fix bug that caused an exception if the app tries to upgrade the database
2020-05-27 20:36:58 +02:00
ErikWaegerle
1dc60679d3
Modify the onCreate() method to ensure that only in case of the DailySudoku the DailySudoku is loaded
2020-05-27 20:15:28 +02:00
ErikWaegerle
9f999b5512
Added the method loadNewDailySudokuLevel.
...
Is responsible for loading the DailySudoku.
2020-05-27 20:04:08 +02:00