meikpiep / gauguin

Gauguin is a Sudoku-like game for Android where you solve grids via calculation and logic.
GNU General Public License v3.0
110 stars 6 forks source link

Suboptimal use of space in large puzzles #81

Closed mccartney closed 8 months ago

mccartney commented 9 months ago

Consider this screenshot from 0.20: Screenshot_20240212-195923.jpg

Observe:

I think on top of that one possibly might consider a layout where the cells are not rendered as squares, but vertically stretched rectangles. At the expense of keypad. I think it might be more readable.

meikpiep commented 9 months ago

The idea with non-square cells (let's say on none-huge display like tablets) is brilliant!

Can you supply your display metrics and/or your phone type so that I can analyze why the huge keypad is being used.

mccartney commented 9 months ago

This screenshot was taken on OnePlus6, which as far as I can see sports a 1080x2280 display.

meikpiep commented 9 months ago

Thanks. I could not see if and why these dimensions lead to such huge keypad buttons at first sight.

meikpiep commented 9 months ago

These are actually the regular keypad buttons - there look huge, because of the large grid leading to small cells.

So, the problem is that the keypad is quite too large in such a case as you need as much space as you can get for the grid itself to use the complete width of the screen.

The idea with the rectangular cells is another point, as this can only use the space which is not obtained by other UI elements.

I think about how to supply a variant of the keypad which is dependent not only of the screen size but of the cell size, too, to ensure a better scree estate than seen via your screenshot.

meikpiep commented 9 months ago

@mccartney do you agree that some kind of smaller keypad buttons with the common three buttons in a row sound better than putting more buttons in a row and differ from the 1,2,3-4,5,6-... pattern?

meikpiep commented 9 months ago

I mean something like this: grafik

mccartney commented 9 months ago

do you agree that some kind of smaller keypad buttons with the common three buttons in a row sound better than putting more buttons in a row and differ from the 1,2,3-4,5,6-... pattern?

It's hard to have an opinion on the layout without trying it in practice (even looking at a drawing might not be enough). But when I think about it - I don't think the 123-456 pattern is something important. With 11 it's artificial anyway (doesn't resemble keyboard/phone keypads anyway).

An argument can be made that is is a logical puzzle game, not some arcade. So usability of the number buttons is not the most important factor (within reason).

mccartney commented 9 months ago

I mean something like this:

I like this because it uses the whole width for the actual grid. So solves the first bullet which I think is a recent regression.

meikpiep commented 9 months ago

I get your point, thanks!

The regression of the width was a result to put some space between the '?' button and the keypad.

meikpiep commented 8 months ago

@mccartney and others: I'm on this and like to share a screenshot of the first prototype:

grafik

Looks kind of promising for me, but will need some kind of fine tuning (e.g. font sizes, avoiding the pencil numbers to overlap with the cage math and so on).

But my point is: I'm thinking about

And there are two things: First, the rectangular grid, second the compact key pad buttons with a two row layout.

Would you couple both options or should there be two individual ones?

mccartney commented 8 months ago

Thanks for working on this.

I think I like what I see in the screenshot.

use all display space for grid if it contains more than 9x9 cells

Sounds like a good idea.

Re landscape mode - I don't use it, so hard for me to share my opinion.

meikpiep commented 8 months ago

I just merged a new option to enable a rectangular grid shape. The changes were rather huge as the custom grid view never calculated its size correctly.

Feel free to give feedback if anything seems odd. I did not fine tune the sizes of the pencil marks etc., but they look quiet good for me.

And thanks for the idea and sharing your needs, it's much appreciated!

meikpiep commented 8 months ago

Version 0.23.0 https://github.com/meikpiep/gauguin/releases/tag/v0.23.0 got released just now.

As regular, it will be available via Play Store in ~1 day, F-Droid will need ~3-6 days.

mccartney commented 7 months ago

I like it Screenshot_20240327-203623.jpg

Thank you