Commit graph

414 commits

Author SHA1 Message Date
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
c749d99c0e Turn the star, trophy and undo png icons into vector graphics 2020-05-31 17:50:30 +02:00
uykek
c0faeacce8 Let AppTheme extend DayNightTheme and add a new actionbar style with the attributes the AppTheme previously inherited from DarkActionBar. 2020-05-30 11:02:37 +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
ErikWaegerle
644358ced8 Adjustment of the layout by adding the TextView from list_entry_layout.xml
Is responsible for displaying the games already completed in Daily Sudoku.
2020-05-27 21:41:40 +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
b41ff4b238 Changes to the layout
1.) Increase the number of stars to 4
2.) Creation of the button "Start DailySudoku"
3.) Positioning of the individual elements in the layout
2020-05-26 01:13:13 +02:00
ErikWaegerle
5d620829c4 1.) Creating the class DailySudokuActivity
2.) Implementing the onCreate() method
2020-05-25 20:21:12 +02:00
ErikWaegerle
f9744bc894 Embedding a vector graphic for the tab "Daily Sudoku" in the NavigationDrawer menu 2020-05-25 20:16:16 +02:00
ErikWaegerle
dd9a66eb8c 1.) Creating a Daily Sudoku Activity XML
2.) Adaptation of the layout
3.) Inserting the app and toolbar into the layout
4.) Use the layout of fragment_stats.xml
5.) Adaptation and modification of the layout see Mockup 3
2020-05-25 20:12:50 +02:00
ErikWaegerle
e10746822d Extension of the method goToNavigateItem() with dailySudoku Item. Adds NavigationDrawer functionality. 2020-05-25 20:04:02 +02:00
ErikWaegerle
514750650d Inserting a new activity in the Manifest
for the Daily Sudoku.
2020-05-25 19:47:34 +02:00
ErikWaegerle
5ed7b5542a Customization of the icon in the NavigationDrawer menu 2020-05-25 19:42:42 +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
6dbf66cb7f The menu item Daily Sudoku was added to the navigation drawer 2020-05-20 12:45:21 +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
Erik Waegerle
2a92374f12 removed not necessary permisson 2020-05-19 21:50:23 +02:00
uykek
25e92172f0 Fix mistake which caused impossible imported sudokus to be saved to database. 2020-05-19 18:23:41 +02:00
Erik Waegerle
064fcd9971 Extension of the GameAcitivity with an Intent Filter in the Manifest.xml
Intent-Filter is responsible for DeepLinking
2020-05-16 20:13:33 +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
8f3371b38d Enable data binding 2020-05-09 13:44:37 +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
uykek
c1a37d3341 Update gradle to include ConstraintLayouts and create layout for the board-sharing dialog. 2020-05-09 12:19:56 +02:00
uykek
e14581d62a Add new item titled 'Share Board' to the menu drawer of the GameActivity and a few Strings necessary for new the board-sharing feature in both English and German. 2020-05-09 12:13:08 +02:00
Christopher Beckmann
fd4cefd296 v2.2.1 2020-04-30 11:50:30 +02:00