Commit graph

214 commits

Author SHA1 Message Date
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
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
Christopher Beckmann
a522f18d13 Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/java/org/secuso/privacyfriendlysudoku/ui/MainActivity.java
	app/src/main/res/drawable/ic_star_blue_48dp.png
	app/src/main/res/drawable/ic_star_grey_48dp.png
	app/src/main/res/drawable/ratingbar.xml
2016-02-20 21:01:21 +01:00
Christopher Beckmann
a0d5b66934 Fixed the dificulty stars on the main page for devices with an API level < 21. 2016-02-20 20:58:46 +01:00
Gongxter
d3d8839e3e Added dialog and text for dialog for the welcome screen 2016-02-20 15:06:55 +01:00
Christopher Beckmann
fa54fe0a87 Added the Welcome Dialog. Content still has to be done. 2016-02-20 13:36:20 +01:00
Christopher Beckmann
815b962fe8 Added an option, that will reset the timer when resetting the game board. 2016-02-19 19:09:29 +01:00
Christopher Beckmann
72786d070e Fixed a bug with the Hint button. When pressed when having notes activated, it would set notes instead of revealing the selected field.
Also added the sudoku ic_launcher icon.
2016-02-19 16:27:38 +01:00
Gongxter
4475d610b7 fixed some issues 2016-02-18 14:46:39 +01:00
Christopher Beckmann
763ea0b6e7 Found and fixed a bug, that would prevent the game from being deleted, when using the regular input method for the last number to solve the puzzle.
Also found and fixed a bug, where the game would not save the amount of hints used, when continueing a game.
2016-02-04 00:45:14 +01:00
Christopher Beckmann
6e96ee8904 ErrorList is now updated when the field is updated. 2016-02-03 20:14:13 +01:00
Christopher Beckmann
ad4eb476f9 Added Chinese language. All languages are now done. At least every langugage that we planned to support. 2016-02-02 23:16:51 +01:00
Gongxter
6aacff8e6a fixed arrowMarker for error dependencies 2016-02-02 17:36:10 +01:00
Christopher Beckmann
e5404acd4d Added Error Highlighting 2016-02-02 16:14:31 +01:00
Christopher Beckmann
ee617bc4c3 Added a custom style for the RatingBar. Fixed some layout issues with tablets and very small screens. 2016-02-02 04:50:05 +01:00
Gongxter
3819a4e006 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/res/xml/pref_help_general.xml
2016-02-01 16:25:18 +01:00
Gongxter
1e79a289df rating bar edited 2016-02-01 16:23:54 +01:00
Christopher Beckmann
1f64e2391d Languages German, Spanish, Russian done. Chinese still left.
Also fixed a bug with displaying the time when the game is finished and the screen is rotated.
2016-02-01 14:43:06 +01:00
Christopher Beckmann
b44e03fded Fixed a bug, where the GameUI would be unresponsive after starting another activity. 2016-01-31 16:58:47 +01:00
Gongxter
e680fc5a9a rating bar edited 2016-01-31 14:54:37 +01:00
Christopher Beckmann
a20ce17240 Merge remote-tracking branch 'origin/master' 2016-01-31 14:54:05 +01:00
Christopher Beckmann
00c029fbbc Renamed some stuff and fixed minor bugs. 2016-01-31 14:53:54 +01:00
Gongxter
9c3579d4af winscreen and helppage created fixed text size 2016-01-31 14:27:49 +01:00
Gongxter
06dd3fa9fa Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/secuso/privacyfriendlysudoku/ui/GameActivity.java
2016-01-31 14:24:53 +01:00
Christopher Beckmann
229f167c2e Fixed the Delete Button. It would not delete notes. 2016-01-31 14:10:33 +01:00
Christopher Beckmann
a4e7a693f9 Corrected Parceable Implementation. Wasn't aware that my code was not called. Had to force it to clear the app out of the memory. 2016-01-31 12:46:22 +01:00
Christopher Beckmann
54bf935685 Modified the Landscape GameView a bit. Looks a lot cleaner now. Not tested on smaller and bigger devices yet. Also added the landscape version of the stats page. 2016-01-31 01:06:34 +01:00
Gongxter
c4d2999680 winscreen and helppage created 2016-01-30 23:20:05 +01:00
Christopher Beckmann
91530e3efa Made the GameActivity Rotatable. (Sounds easy.... wasn't though) 2016-01-30 23:05:32 +01:00
Christopher Beckmann
1b31b5cfe2 Added some Layouts for landscape ordientation as well as some for high density screens.
Also made the arrows in the main menu clickable.
2016-01-30 12:38:26 +01:00
Gongxter
4724612c1e stats reworked fixed a bug 2016-01-21 16:52:08 +01:00
Gongxter
3d110b57c5 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java
#	app/src/main/res/drawable/standalone_button.xml
2016-01-21 16:12:57 +01:00
Christopher Beckmann
8db2f6ec91 Added some strings and HintListener 2016-01-21 16:08:48 +01:00
Gongxter
8b98f2531d timer now always counts in stats 2016-01-21 15:39:00 +01:00
Christopher Beckmann
06deb5b439 Fixed Issue#6 and fixed an activity stack bug, that caused the app to have multiple main menus in the stack. 2016-01-21 14:26:59 +01:00
Gongxter
01b3e37ce1 keyboard now with linear layout 2016-01-21 13:55:46 +01:00
Gongxter
b6787846e6 Merge remote-tracking branch 'origin/master' 2016-01-20 09:43:53 +01:00
Gongxter
48535eedd6 small changes 2016-01-20 09:43:23 +01:00
Christopher Beckmann
92c035f860 Fixed a lot of stuff.. and added ... stuff....... yay. 2016-01-19 15:15:47 +01:00
Christopher Beckmann
29028c39f5 Symbol Map selectable in settings. 2015-12-20 16:26:41 +01:00
Christopher Beckmann
0d4a222cfc Value and Note Highlighting with settings done. Also you can now select values and put them in that way. 2015-12-19 19:00:41 +01:00
Gongxter
f205532ed4 added DialogeFragment for WinScreen 2015-12-11 14:48:27 +01:00
Gongxter
97becd93e5 edit the notes location in a cell to an dynamic one added rotation for the drawable pen in note button Blue TU Theme should now be finished 2015-12-10 13:37:04 +01:00
Gongxter
3714a321d9 Blue TU Theme added and drawables with first attempt to add animation to drawable 2015-12-07 14:29:37 +01:00
Gongxter
1a58a9b7cc designs updated to Blue TU Theme 2015-12-02 14:23:17 +01:00
Gongxter
7242345a21 Edit Buttons and slideshow with arrows 2015-11-30 18:02:00 +01:00
Gongxter
f28217bf46 Stats: Changed Average time and min time per difficulty to only games without Hints used 2015-11-26 14:21:25 +01:00
Gongxter
5e8c1bd2b1 Stats added 2015-11-26 13:21:44 +01:00
Christopher Beckmann
ab152917d1 Renamed some files. 2015-11-25 00:32:29 +01:00
Christopher Beckmann
31144449c7 Undo/Redo Feature added. States are not saved through sessions. They build up for every play session you start. 2015-11-24 23:59:52 +01:00