10-11-2021, 12:48 PM | #46 | |
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
Quote:
Can you describe your concerns a little bit more detailed, like in a bug report? Something like "I have a cell with pencil marks 145. I short-click the cell. It gets fully selected. I then do this ... XYZ then happens, but it would be better if ABC happened ..." |
|
10-11-2021, 01:19 PM | #47 |
Zealot
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
* Start Solo
* Tap on any empty cell to select it - The cell is select for entering a number * Tap on the "Pencil Mark" icon - The icon is highlighted - I expected the cell to change from completely highlighted to just the top left corner to be highlighted * Tap on a number - The number is entered * I expected a pencil mark to be entered Regarding the other proposal: When you are in "enter mode" the numbers on the bottom, the ones you tap when entering them should be bigger. When entering pencil marks, not only the icon should be highlighted but the number on the bottom a bit smaller as well. I think this would improve the UI a bit. But I'm not sure. I have yet to find out how I could change the code to try it on my own. |
Advert | |
|
10-11-2021, 04:19 PM | #48 | ||
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
Quote:
Strictly speaking, this button is not a "pencil mark" button. Its function is rather to switch the GUI processing of a short press into that of a long press, and vice versa. So when this button is activated, a short press on the screen is then transformed internally into a long press. In Solo, a short press into a cell marks it in full, a long press marks it with the pencil mark triangle. Anyway, I'm indeed considering your proposal, have to think a little bit about it. What would speak against it is that this then deviates in handling from the Android app; from where I adapted this button. Quote:
For the automatic switch of highlighted cells with the 'short/long swap' button, I can give you some hints, I will write something in the Developers Corner thread. |
||
10-12-2021, 06:09 AM | #49 | ||
Zealot
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Quote:
Quote:
Being used to other Sudoku apps, to me it was intuitive, that there would be a "pencil" and "ink" mode. As the swap button (to) me, acted this way (never ever considering there a long press could be an option), it was the "pencil-button" for me Thanks for that. I already had a look and at first glance it seems quite complicated. I'm not (yet) a C-Programmer Most times my "programs" are written in Perl, Javascript, Shellscripts or, only recently started, Go. |
||
10-15-2021, 06:05 PM | #50 |
Zealot
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Hi Steffen.
I think I read somewere that the Solo puzzles were too hard for some. For me the hardest 9×9 are too easy I think it'll break the API but I would be glad would there be a way to load my "own" sudokus. I once created a wrapper for PocketBook's Sudoku which allowed me to do that. The downside is: Every Sudoku counts as a "book" and thus floods the books database. I'm thinking about writing a wrapper for SGTPuzzles which would pre-fill the state-file with a Sudoku and then start SGTPuzzles. |
Advert | |
|
10-18-2021, 12:17 PM | #51 | |
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
Quote:
Of course, this does not allow to save certain games into game files or build a library of individual sudoku games. But it should be sufficient to transcribe a challenging sudoku from an external source for playing on the eReader. There are interfaces in the original code to serialize / deserialize games, and this is used to save the current game state into system/state/sgtpuzzles.cfg. Unfortunately, the puzzle collection uses a very compact format to encode games, which need a little bit of effort to understand. An example of a solo game description would be this: "3x3:7a6c5a4_5_9_1_7a3h2c4_5b3b1d4a7d3b1b5_8c1h9a4 _1_8_3_1a4c9a5" This format is necessary, as not only regular sudokus need to be encoded, but also 'jigsaw' or 'killer' mode sudokus. Furthermore, the configuration file sgtpuzzles.cfg not only saves the game description, but the whole game state as a hex-encoded binary, which is then even more complicated to generate. So writing a wrapper would be theoretically possible, but I would not recommend it, as it might get quite complicated. |
|
10-18-2021, 04:59 PM | #52 |
Zealot
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Hi Steffen.
I already had a look at the format and the game description is quite easy to understand:
The AUXINFO, when decoded, also seems quite simple as it is just the list of digits for the solved game, separated by commas. So the thing to copy would be the obfuscation, or to put in an easier obfuscation as an alternative. For a wrapper I wouldn't need to encode any notes. Just the pure, empty game and, maybe, its solution. But before attacking that, I'm currently trying to figure out how to write a CMakeList.txt for STPuzzles and have a proper build environment as dockerfile. Since I never ever wrote Makefiles let alone CMakeLists, it's a bit of learning for me. Last edited by Skeeve; 10-19-2021 at 01:54 AM. |
10-27-2021, 05:24 AM | #53 |
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
V 0.7.9
https://github.com/SteffenBauer/Pock...master/release
Its been some months since I released 0.7.8. A lot of small changes accumulated, each of them not quite enough to make a new release. As I will start a new job next week, I now make release 0.7.9, as I probably won't work on the app for the next months. Most important changes:
Complete ChangeLog: https://github.com/SteffenBauer/Pock...r/ChangeLog.md |
10-29-2021, 04:45 AM | #54 | |
Zealot
Posts: 142
Karma: 669192
Join Date: Nov 2013
Device: Kindle 4.1.1 no touch
|
Quote:
Maybe you will find the time to look into my Pull Request when everything is settled. |
|
04-02-2022, 04:23 PM | #55 |
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
V 0.7.10
https://github.com/SteffenBauer/Pock...master/release
Been nearly half a year since I released the last version, a new release was overdue. Notable changes in this release: * Heavily optimized screen refresh. * New puzzle: CrossNum, an implementation of Kakuro, implemented by Anders Holst. * In the walls puzzle, paths and walls can now be placed by dragging along cells / cell borders. |
07-03-2022, 03:24 PM | #56 |
Zealot
Posts: 127
Karma: 87012
Join Date: Apr 2021
Device: Lux 5, Libra 2, PRS-T2N
|
This won't really help, but at one point I experienced two crashes in a row opening the "How to play" option with the Pearl puzzle. After that, trying again +-6 times, it didn't happen again.
Before the crash the help screen was drawn, with text IIRC, but it happened rather quickly. Sorry I can't be of more help. PS It had been a while since running the app. It was upgraded in the interim, so perhaps that played a role. |
07-04-2022, 08:48 AM | #57 | |
Connoisseur
Posts: 52
Karma: 66200
Join Date: Oct 2020
Location: Germany, Rhein-Main
Device: PocketBook Touch HD 3
|
Quote:
I also tried to show the How to Play screen from Pearl several times, no crashes. I also doubt very much that it is a bug in the app as the code for displaying the How to Play screen is basically just one line where a Dialog box is opened, so handling of this box is done more or less completely by the PocketBook OS. It would be interesting to know what version of the app this crash happened (from the 'About' box from the menu on the game chooser screen) |
|
07-05-2022, 02:52 AM | #58 | ||
Zealot
Posts: 127
Karma: 87012
Join Date: Apr 2021
Device: Lux 5, Libra 2, PRS-T2N
|
Quote:
Quote:
And, in a way, also a good one, as it's not in the app |
||
08-17-2024, 03:07 PM | #59 | |
ManiCala
Posts: 4
Karma: 10
Join Date: Aug 2024
Location: Spain
Device: pocketbook Ink 2 PB741
|
Quote:
Works in my PB743C InkPad Color 2 Thanks a lot. |
|
Tags |
puzzle game, puzzles, sgt puzzles |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Simon Tatham's portable puzzle collection? | Biep | Kobo Developer's Corner | 9 | 10-07-2024 03:01 PM |
Currently porting the SGT Puzzle collection, need some coding help | GerReader | PocketBook Developer's Corner | 39 | 10-21-2021 08:42 AM |
Calibre Portable - Shouldn't PORTABLE Viewer and PORTABLE Editor open WITH the ebook? | Highlighter | Calibre | 2 | 10-31-2020 06:48 AM |
Simon Tatham's Puzzles | brianinmaine | Kindle Developer's Corner | 12 | 11-05-2013 07:32 AM |