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
ErikWaegerle
af812f6bed
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-05-26 21:59:36 +02:00
uykek
88a7f7813e
Add methods which generate a fixed sudoku based on the current date
2020-05-26 20:15:33 +02:00
uykek
01888989a3
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-05-26 20:14:07 +02:00
ErikWaegerle
b863c7a88c
Implementing/adding the functionality of the "Menu Button" and the "Back Button" in the ActionBar.
2020-05-26 16:43:18 +02:00
ErikWaegerle
5d620829c4
1.) Creating the class DailySudokuActivity
...
2.) Implementing the onCreate() method
2020-05-25 20:21:12 +02:00
ErikWaegerle
e10746822d
Extension of the method goToNavigateItem() with dailySudoku Item. Adds NavigationDrawer functionality.
2020-05-25 20:04:02 +02:00
uykek
a2c52f0891
Reserve maximum id to identify daily sudoku within app, add method which saves a sudoku to the daily sudoku data base using the current date as its id
2020-05-25 16:53:34 +02:00
uykek
9c31f0d869
Update database version
2020-05-22 14:50:59 +02:00
uykek
8b8f72b2e7
Add methods to fetch and save daily sudokus to the DatabaseHelper class
2020-05-21 12:33:32 +02:00
uykek
472f691695
Add DailySudokuColumns and DailySudoku classes, which extend LevelColumns and Level by adding the attributes "hints used" and "time needed", for the daily sudoku database table
2020-05-20 18:21:09 +02:00
uykek
c4136f40d2
Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0
2020-05-20 14:32:22 +02:00
Erik Waegerle
eb5aa197f0
The database will be extended by DailySudokus. A new table was created for this purpose
2020-05-20 12:32:41 +02:00
uykek
c36badaf18
Add setter for QQWing's Random attribute that lets you initialize it with a seed
2020-05-19 22:36:24 +02:00
uykek
25e92172f0
Fix mistake which caused impossible imported sudokus to be saved to database.
2020-05-19 18:23:41 +02:00
uykek
26d5cab369
Notify user if a sudoku they tried to import is impossible to solve and close app afterwards.
2020-05-15 19:07:50 +02:00
uykek
a1b13a49e5
Compute difficulty of sudokus which are imported via deeplink
2020-05-14 10:31:25 +02:00
uykek
385959d9eb
Expand GameActivity so that it accepts a string containing an enconded sudoku board (for now with default difficulty 'easy')
2020-05-13 23:24:03 +02:00
uykek
c0743f7a08
Make a few improvements on the implementation of the 'copy to clipboard' button.
2020-05-09 19:37:57 +02:00
uykek
9c9a0c1221
Implement the functionality of the 'share' button of the ShareBoardDialogFragment, which is to share a board's code with other apps.
2020-05-09 18:37:00 +02:00
uykek
5a098d8ac5
Add methods to generate the code necessary for sharing a specific sudoku board
2020-05-09 18:36:22 +02:00
uykek
4134013fe9
Change implementation of of ShareBoardDialogFragment to use databinding instead of 'findViewById'
2020-05-09 14:05:43 +02:00
uykek
43f8d10745
Add a subclass of DialogFragment using the previously added layout to GameActivity and a new interface to be implemented by all listeners for the subclass.
2020-05-09 13:14:46 +02:00
Christopher Beckmann
ca76ef164a
Fixed a bug that would prevent errors from being highlighted.
2020-04-30 11:49:37 +02:00
Christopher Beckmann
aa4c615598
Migrated to AndroidX. Performance improvements. Adaptive Icon added.
...
Fixes #51 , Fixes #38 , Fixes #8
2020-04-23 12:02:06 +02:00
Christopher Beckmann
7cc9c8538c
Fixes #34 . Worked on Issue #18 . The lines are now drawn correctly.
2017-12-31 15:10:19 +01:00
Christopher Beckmann
84995affe5
Fixed #32 and added the Tutorial to the NavigationDrawer. Some string files still need to be translated.
2017-06-29 16:57:29 +02:00
Karola Marky
8298506d51
Old Welcome removed
2017-06-29 15:25:16 +02:00
Karola Marky
cb24d47868
Tutorial updated
2017-06-29 15:23:34 +02:00