Commit graph

82 commits

Author SHA1 Message Date
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
Christopher Beckmann
0019663aa7 Merge remote-tracking branch 'origin/master' 2017-06-29 14:34:32 +02:00
Christopher Beckmann
7a3347718a Fixed #22. 2017-06-29 14:34:08 +02:00
Christopher Beckmann
7c651ae351 Added presaved levels for 12x12 easy difficulty 2017-06-25 22:36:45 +02:00
Karola Marky
ca7cc3bb03 Version number automatic 2017-06-25 21:50:51 +02:00
Christopher Beckmann
f7edfbb34b Settings and Toolbar update 2017-06-25 21:10:55 +02:00
Christopher Beckmann
1aa5500c64 Generator Changes and reworked the Saved Level Structure 2017-06-25 20:14:34 +02:00
Karola Marky
268c4da61c Splash Screen added and gitignore update 2016-11-07 11:45:48 +02:00
Christopher Beckmann
44833dd8c0 Minor String changes and welcome screen now links to the help page. 2016-10-18 14:27:23 +02:00
Christopher Beckmann
f9cb4be89b Updated to new design and fixed a timer issue. 2016-10-15 22:17:18 +02:00
Christopher Beckmann
7e3f4f28ba Fixed Issue#9 . Now correctly works on RTL locals. 2016-03-29 18:37:25 +02:00
Christopher Beckmann
1362f3bbed Added more pregenerated levels, so that no new levels have to be generated when starting the App for the first time. 2016-03-29 18:04:21 +02:00
Gongxter
eb6fa74151 scrren keep on fixed 2016-02-29 15:16:11 +01:00
Christopher Beckmann
74f4bf1c0d Fixed another crash occuring when changing the screen orientation when a dialog is opened. 2016-02-20 23:11:25 +01:00
Christopher Beckmann
b3218873fe Fixed a crash with the WelcomeDialog. Also merged. 2016-02-20 21:53:44 +01:00