Commit graph

446 commits

Author SHA1 Message Date
ErikWaegerle
e0e8d85005 PNG files replaced by vector graphics 2020-06-01 19:53:01 +02:00
ErikWaegerle
a7fc667289 Merge branch 'Sudoku-v3.0' of https://github.com/SecUSo/privacy-friendly-sudoku into Sudoku-v3.0 2020-06-01 19:44:49 +02:00
uykek
165ecbf7ce Replace the trophy vector graphic and delete the png files for which vector graphics have been added already 2020-06-01 18:13:57 +02:00
ErikWaegerle
87c2b09e18 Adjusting the activity_daily_sudoku.xml and the strings.xml
Change and adjustment of the layout see MockUp 3

1.) Enlarge the stars and the text difficulty of the "DailySudokus"
2.) Adjusting the layout and changing the padding
3.) hyphen has been reduced to a suitable size
4.) Modify/add the output text for played games in strings.xml
2020-06-01 16:43:51 +02:00
ErikWaegerle
c7f3db65f1 create for layout suitable string "daily_number_of_hints" to replace #used hints 2020-06-01 01:32:52 +02:00
ErikWaegerle
f471fce351 Inserting and translating "used hints" into strings.xml (de) 2020-06-01 01:29:33 +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
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
sleep-yearning
3bfffc8ae5 localized a remaining untranslated string value fixes #36 2020-05-20 14:24:50 +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
sleep-yearning
90172b3d57
Merge pull request #15 from lna91/master
Add Hungarian translation
2020-05-20 08:05:20 +02:00
sleep-yearning
0f7760cf43
updated hu translation 2020-05-20 08:04:24 +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
d6dfb8460b Update strings.xml 2020-05-07 13:06:50 +02:00
Waldemar Stoczkowski
87e2cfa1e3 Add files via upload 2020-05-07 13:06:50 +02:00
Waldemar Stoczkowski
6bd0276ea2 Delete values-pl 2020-05-07 13:06:50 +02:00
Waldemar Stoczkowski
64ccbb551c Create values-pl 2020-05-07 13:06:50 +02:00
Christopher Beckmann
fd4cefd296 v2.2.1 2020-04-30 11:50:30 +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
ad4bb2b129 Version increase to 2.2.0 2020-04-23 12:05:21 +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
hype11
58ddf2824c
Update strings.xml
Rechtschreibfehler behoben
2018-07-16 22:12:36 +02:00
Karola Marky
4d06281617 buildToolsVersion update 2018-01-19 17:52:35 +01:00
Christopher Beckmann
7cc9c8538c Fixes #34. Worked on Issue #18. The lines are now drawn correctly. 2017-12-31 15:10:19 +01:00
xin
23ad4a2e1a Update French translation 2017-09-28 11:18:28 +00:00
Karola Marky
037baf365d Average string shortened for highscore 2017-07-03 14:10:04 +02:00
Karola Marky
69167d48a9 Missing translations added 2017-06-29 17:15:47 +02:00
Karola Marky
891a2436bd Menu order updated, nav header updated 2017-06-29 17:10:23 +02: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
7a00ba4aaf Version update 2017-06-29 15:37:34 +02:00
Karola Marky
583f483f6f Clean up unused resources 2017-06-29 15:35:14 +02:00
Karola Marky
0f1f7049b0 Translations for Tutorial 2017-06-29 15:34:07 +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
naofum
77e25602ce updated japanese 2017-06-27 23:44:51 +09:00
Christopher Beckmann
7c651ae351 Added presaved levels for 12x12 easy difficulty 2017-06-25 22:36:45 +02:00
Karola Marky
3a0c7bc121 Placeholders added 2017-06-25 22:07:38 +02:00
Karola Marky
9df73f531b Version Code update 2017-06-25 21:59:27 +02:00
Karola Marky
ca7cc3bb03 Version number automatic 2017-06-25 21:50:51 +02:00
Karola Marky
116973865a Missing translations added 2017-06-25 21:37:45 +02:00
Karola Marky
59f66759f2 New menu icons 2017-06-25 21:29:56 +02:00
Christopher Beckmann
3d91bc1487 Merge remote-tracking branch 'origin/master' into GeneratorRework
# Conflicts:
#	app/app.iml
2017-06-25 21:14:59 +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
naofum
9df5547953 japanese translation 2016-12-22 23:10:15 +09:00
András Lengyel-Nagy
7937178288 Hungarian translation of strings.xml
Translated the English version into Hungarian, and removed the non-translatable strings.
2016-11-28 22:00:02 +01:00
Karola Marky
600996eee7 Changelog added 2016-11-27 15:17:14 +02:00
Karola Marky
e35e16a2d9 Header and version code update for some reason a release with 2 was missing on Github 2016-11-07 11:56:35 +02:00
Karola Marky
15abcb6559 Version Code Update and Cleanup 2016-11-07 11:47:39 +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
75ae94a163 Fixed a string and updated README.md 2016-10-15 22:46:53 +02:00
Christopher Beckmann
b26c6ee106 Merge remote-tracking branch 'origin/master' 2016-10-15 22:20:30 +02:00
Christopher Beckmann
f9cb4be89b Updated to new design and fixed a timer issue. 2016-10-15 22:17:18 +02:00
Agmagor
378b811c9c Update french translations
Lot of mistakes corrected, still requires changes for consistency (mainly "case" instead of "field")
2016-04-03 11:51:05 +02:00
Christopher Beckmann
ce95048034 Some more french corrections. 2016-03-29 22:59:41 +02:00
Christopher Beckmann
d6f8d58b84 Main menu arrows (choosing the gametype) should now also show correctly on RTL locales. 2016-03-29 21:45:33 +02:00
Christopher Beckmann
17f62f841d Added the fix for Issue#9 to every layout, that was missing it. 2016-03-29 21:22:11 +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
brainyperfect
291edbc015 Replacement of an insulting sentence in french 2016-03-28 05:14:18 +02:00
Christopher Beckmann
292a539aba Moved icon license 2016-03-18 11:38:08 +01:00
Christopher Beckmann
8b3c8143ff Added License files for the 2 icons. 2016-03-14 15:35:38 +01:00
Christopher Beckmann
e31506cb1f Minor layout fixes. 2016-03-14 14:43:26 +01:00
Christopher Beckmann
4323bbce2c Added the missing strings. 2016-03-14 14:27:29 +01:00
Gongxter
eb6fa74151 scrren keep on fixed 2016-02-29 15:16:11 +01:00
Christopher Beckmann
e8a6bef987 Oooops, forgot to push the new stars. 2016-02-22 16:01:33 +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
ee3784ca39 Added a landscape version for the welcome dialog. 2016-02-20 22:30:19 +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
Christopher Beckmann
5d9863bdee Merge remote-tracking branch 'origin/master'
Conflicts:
	app/app.iml
	app/src/main/res/values/strings.xml
2016-02-18 14:47:05 +01:00
Gongxter
4475d610b7 fixed some issues 2016-02-18 14:46:39 +01:00
Christopher Beckmann
86b29bc544 Fixed the SECUSO Logo to be higher resolution.
Also fixed some Stringfiles.
2016-02-18 14:45:29 +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
Gongxter
0fd676ffff about ScrollView added to make it scrallable if needed on small devices 2016-02-02 12:14:02 +01:00
Christopher Beckmann
0c50999860 Just fixed some warnings. 2016-02-02 04:55:16 +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
Christopher Beckmann
a88fbce439 Merge remote-tracking branch 'origin/master' 2016-02-01 17:22:19 +01:00
Christopher Beckmann
933918082b Language French added. Even though, we didn't need it. :) 2016-02-01 17:21:58 +01:00
Gongxter
d9d3b216d0 help page drawables added 2016-02-01 16:27:28 +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
Christopher Beckmann
65e5dbe5fc Solved Issue #3, #2 and fixed an Android 6.0 specific bug, that would prevent the UI from updating when changes to the gameboard were made.
Also corrected the keyboard layout.
2016-01-28 19:37:22 +01:00
Gongxter
b25b55afb7 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/org/secuso/privacyfriendlysudoku/controller/SaveLoadStatistics.java
#	app/src/main/res/values/strings.xml
2016-01-21 16:55:24 +01:00
Gongxter
4724612c1e stats reworked fixed a bug 2016-01-21 16:52:08 +01:00
Christopher Beckmann
e975d9277a Runnable again. Fixed imports. 2016-01-21 16:50:20 +01:00
Christopher Beckmann
f24a0866e4 Russian added as well. Translation following soon. 2016-01-21 16:44:23 +01:00
Christopher Beckmann
cd1b9ece7b Merge remote-tracking branch 'origin/master' 2016-01-21 16:36:23 +01:00
Christopher Beckmann
7b84ce0232 Updated language files and added new ones for Spanish and Chinese. 2016-01-21 16:36: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
Christopher Beckmann
d2bed7b2a5 You can now delete entries in the continue game screen by long clicking them. 2015-11-24 12:32:36 +01:00
Christopher Beckmann
e2ecfe9292 Redesigned the Continue Game Screen. Also the list is now sorted and only the top 10 recent played games are saved. All the others are deleted. 2015-11-24 11:06:39 +01:00
Christopher Beckmann
7d2ec4abae Now pre generating levels in the background when starting the app, so when the user chooses a level it will be loaded instantly.
We are storing up to 5 levels per gametype and difficulty and whenever the user picks a level we start generating the next ones already.
Since generating a 12x12 level can take a very long time. This is the workaround we have so far. If we still run into the problem of having to wait for 12x12 levels to generate. I will consider removing the 12x12 Gamemode alltogether.
2015-11-23 18:48:04 +01:00
Christopher Beckmann
b875a66ab5 Generator now works for every Difficulty and GameType. I had to change the generator for the 12x12 Generation to leave more clues because it had a very hard time generating levels for the "easy" difficulty level.
It's not very pretty but it works in a reasonable time. Before it would just turn black and stay that way for half an hour.
2015-11-22 17:45:17 +01:00
Christopher Beckmann
606625d08b Generator now works for 6x6.. Working on 12x12 now... thought I might have fixed both at the same time, but 12x12 is not working. 2015-11-22 15:57:41 +01:00
Christopher Beckmann
afc39b78e0 QQWing Solver now works for 6x6. Still a lot of work left. 2015-11-22 14:34:07 +01:00
Christopher Beckmann
2a652c7e12 Tried to integrate the QQGenerator. It's somehow working for 9x9 Games, but all the others are not working yet. Have to look at that at again. 2015-11-21 21:29:23 +01:00
Christopher Beckmann
fc992778a0 Timer is now being saved when loading a game. 2015-11-20 21:57:34 +01:00
Gongxter
b4fb350fa0 Timer now in GameController and saves 2015-11-20 14:42:14 +01:00
Gongxter
87ec3902a0 Timer and GameDescription added 2015-11-19 15:38:50 +01:00
Christopher Beckmann
327f9a6c66 Bugfix. Runnable again. 2015-11-19 15:33:29 +01:00
Christopher Beckmann
86581ffd8e Added an IGameSolvedListener. The GameActivity now listens for it. 2015-11-19 14:38:41 +01:00
Christopher Beckmann
643c45070f Removed ISolver since we are not implementing different solvers.
Corrected GameController listening to GameCells.
2015-11-19 14:31:18 +01:00
Gongxter
8089adf862 Changed GameType Enum to hold al the relevant information for that GameType. Added Timer to the GameView. 2015-11-19 14:15:54 +01:00
Christopher Beckmann
c7e7f1d88c Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/java/tu_darmstadt/sudoku/controller/Symbol.java
2015-11-19 13:41:33 +01:00
Christopher Beckmann
02419e1028 Added Game Difficulty Enum. The Difficulty Selection now checks the enum for valid difficulty types and sets itself automaticly. Added IModelChangeListeners to the GameCells. 2015-11-19 13:41:01 +01:00
Gongxter
ad5a873bf9 Button sizing fixed added timer 2015-11-19 11:19:32 +01:00
Christopher Beckmann
f1ef933963 Solved a Bug in the Solver. When solving Levels that have multiple solutions it would set wrong values. (Off by 1 error) 2015-11-18 13:15:29 +01:00
Christopher Beckmann
07ea26114e HighscoreInfoContainer hinzugefügt. 2015-11-18 12:06:01 +01:00
Christopher Beckmann
4c00ffec1c Bugfix 2015-11-18 11:46:26 +01:00
Christopher Beckmann
40aab36624 Hint Button is now working and will reveal the selected cell for you.
Not sure if I should check the board for errors as well.
2015-11-18 04:22:35 +01:00
Christopher Beckmann
cc92454cc6 Implemented the backtracking strategy for the Sudoku Solver.
JUnit tests are running. Still need to add more logic strategies.
2015-11-18 03:54:33 +01:00
Christopher Beckmann
6ad5832538 Game is now saved every time the model is changed. 2015-11-17 15:47:24 +01:00
Christopher Beckmann
0370fdad4e Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/res/layout/activity_main_menu.xml
2015-11-17 15:43:32 +01:00
Christopher Beckmann
328cc583cc Added the LoadGame Activity.
Added a Symbol Map to solve issues with saving 2 digit values to file.
LoadGame Activity is now also working.
2015-11-17 15:42:32 +01:00
Gongxter
f8ab4d7cce Boderless Style removed again 2015-11-17 15:12:56 +01:00
Gongxter
4bfdf01a9a Bordeless Style added and Still not figured out how to set Text Size correct 2015-11-17 14:53:20 +01:00
Gongxter
d3abad12a2 Buttons rearanged and and Note High low size added 2015-11-17 13:53:29 +01:00
Christopher Beckmann
ca73b34f3a Added new icons for the main menu. 2015-11-17 06:16:56 +01:00
Christopher Beckmann
5ba2ee98a1 LevelLoad from File implemented.
LevelSave to File implemented.
We can now continue a saved level.
Choice of GameType and difficulty is now saved through App restarts.
2015-11-17 05:43:59 +01:00
Christopher Beckmann
93cf408ea5 Bugfix in MainActivity. 2015-11-16 23:32:35 +01:00
Christopher Beckmann
e640ae9b31 Added File Manager. Not working yet. 2015-11-16 23:26:28 +01:00
Christopher Beckmann
1e482e68f5 Reworked Main menu. 2015-11-16 18:02:31 +01:00
Gongxter
7feef3cf65 merged 2015-11-15 13:16:45 +01:00
Gongxter
08a16160e0 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
2015-11-15 13:15:37 +01:00
Christopher Beckmann
6629c3d9a6 Corrected Keyboard to always take the remaining space available.
Fixed Delete button.
2015-11-15 13:14:14 +01:00
Gongxter
fddd7d742b Hotfix für Fixed Button Row now only available buttons are shown height fixed by Chris 2015-11-15 13:10:29 +01:00
Gongxter
8a170f88bf Hotfix für Fixed Button Row 2015-11-15 12:50:12 +01:00
Gongxter
45ed0fc2da Merge remote-tracking branch 'origin/master' 2015-11-15 12:38:28 +01:00
Christopher Beckmann
e18dd1062c Bugfix 2015-11-15 12:38:15 +01:00
Gongxter
b3ddbb8d31 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
2015-11-15 12:36:03 +01:00
Gongxter
d045a1a401 KeyBoard with fixed buttons added and fixed the allocation 2015-11-15 12:34:07 +01:00
Christopher Beckmann
94f183f95b Added the NewGame screen. No real settings available yet. 2015-11-15 12:18:22 +01:00
Christopher Beckmann
54b9de3e22 Merged. Also Added an Enum for Button Types.
Extended the GameController with additional functions for the view.
2015-11-15 10:33:17 +01:00
Gongxter
163e64810e Added KeyBoard and is now Playable 2015-11-14 20:18:20 +01:00
Christopher Beckmann
403522c5b3 Bug fix. I hate crashes :) 2015-11-13 14:56:32 +01:00
Gongxter
0a0febe781 Readded GameActivity. No idea why it was deleted from git. 2015-11-13 14:50:00 +01:00
Gongxter
f7ed0dd922 Bugfix so it is runnable. 2015-11-13 14:48:23 +01:00
Gongxter
74b1b0bbdd Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/AndroidManifest.xml
2015-11-13 14:44:06 +01:00
Gongxter
e8428751f1 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/tu_darmstadt/sudoku/ui/GameActivity.java
#	app/src/main/java/tu_darmstadt/sudoku/ui/view/SudokuCellView.java
2015-11-13 14:43:04 +01:00
Christopher Beckmann
8d2358b5aa Bug fix. 2015-11-13 14:40:58 +01:00
Gongxter
81ddad4745 UI KeyBoard 2015-11-13 13:45:09 +01:00
Christopher Beckmann
f43803ad46 Added a new solve strategy to the Solver.
Added new settings that will work across the app.
Cleaned up code.
Added about page.
2015-11-13 13:43:58 +01:00
Gongxter
96a0b1d7ba UI KeyBoard 2015-11-13 13:40:36 +01:00
Christopher Beckmann
fcf095c3dd Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/java/tu_darmstadt/sudoku/view/SudokuCellView.java
2015-11-12 14:29:10 +01:00
Christopher Beckmann
8566f4341c Added Cell Selection and Highlighting of Connected Cells. 2015-11-12 14:18:42 +01:00
Gongxter
1b6738f375 UI Notes added 2015-11-12 14:13:31 +01:00
Christopher Beckmann
a8486fe5a2 Cleaned up code and made GameView prettier. :) 2015-11-12 11:24:16 +01:00
Christopher Beckmann
f4ea6bf66b GameView can now show the GameBoard correctly. Interactions are not yet possible. 2015-11-12 01:50:38 +01:00
Gongxter
add419fa01 UI changes. 2015-11-11 18:20:02 +01:00
Christopher Beckmann
c7402d1196 Updated Model, Solver and GameController. 2015-11-11 16:02:13 +01:00
Christopher Beckmann
b9dcf4e2d2 Merge remote-tracking branch 'origin/master'
Conflicts:
	app/src/main/AndroidManifest.xml
2015-11-11 14:31:43 +01:00
Christopher Beckmann
b0dd182ffe Added basic Solver (not working yet)
updated GameController, GameCell and GameField - added functionality
2015-11-11 14:30:55 +01:00
Gongxter
b2f9cd215b Multilanguage for german English
First GUI samples
2015-11-11 14:28:24 +01:00
Christopher Beckmann
bd474e3280 Rewrote CellConflict Detection.
Added additional JUnit Tests
2015-11-10 10:53:16 +01:00
Christopher Beckmann
b5dc145bb7 Redesigned a bit of the model.
Added JUnit Tests for GameController.
Added a GameView, that doesn't show the game yet though.
2015-11-10 03:21:02 +01:00
Christopher Beckmann
351bb3bc2d Removed Errors, so it could be compiled. 2015-11-09 13:20:27 +01:00
Christopher Beckmann
b4a651a332 First Commit. Adding some Source code. 2015-11-09 12:41:46 +01:00