chrisboyle / sgtpuzzles

Android port of Simon Tatham's Puzzles
https://chris.boyle.name/puzzles
Other
591 stars 167 forks source link

Cube: show other faces #232

Open meghprkh opened 9 years ago

meghprkh commented 9 years ago

Can you show the other faces of the cube in the cube puzzle game?

You can show the other 3 hidden faces with colours on the side and the main board can remain the same

chrisboyle commented 9 years ago

Arguably it's part of the puzzle to remember the state of the hidden faces, but I've forwarded this to Simon in case he has any thoughts.

meghprkh commented 9 years ago

You can add this as a option so people with both needs will be satisfied.

-----Original Message----- From: "Chris Boyle" notifications@github.com Sent: ‎10-‎11-‎2014 17:02 To: "chrisboyle/sgtpuzzles" sgtpuzzles@noreply.github.com Cc: "Megh Parikh" meghjp@gmail.com Subject: Re: [sgtpuzzles] Cube: show other faces (#232)

Arguably it's part of the puzzle to remember the state of the hidden faces, but I've forwarded this to Simon in case he has any thoughts. — Reply to this email directly or view it on GitHub.=

chrisboyle commented 9 years ago

Well, Simon could, as he's considering an options mechanism for all platforms. I generally don't want Android to be different in any aspect of the actual rules of the games / available information.

chrisboyle commented 9 years ago

Simon replies:

This request, like several others you've sent me recently, is one of those where I agree in principle that it would be nice, but the hard part is working out a user interface that's intuitively clear and not hideously ugly.

[...]

I'm uncertain of what's meant by 'colours on the side' here - it could mean round the edges of the cube itself, or on the very outside of the whole board. Neither one really seems to me to pass the 'not hideously ugly' test, and also it's difficult to imagine how either could work in the octahedron or icosahedron modes, where there are more hidden faces to deal with, and in particular not all the hidden faces share an edge with the visible part of the solid.

An approach I'd be happier with would be to have a UI action that would render the front of the solid temporarily transparent so you could see the back faces, but I'm not entirely sure what UI action that ought to be, because it ought to be hard to leave enabled by mistake. If the framework supported mouseovers then mousing over the solid would be one option, but of course you know very well that there are good reasons why it doesn't :-) I suppose the best option I can think of is to have an auxiliary keypress which toggles back-faces mode, and then to automatically reset it to off on every rolling action.

meghprkh commented 9 years ago

This is the interface I propose( will work for cube and tetrahedron, but don't know for octahedron and icosahedron)

meghprkh commented 9 years ago

In the image the bottom face is coloured while other faces are not coloured. Sorry but I edited image on phone.

chrisboyle commented 9 years ago

(reposting image from meghprkh's comment to embed)

qtm3prt

goyalyashpal commented 2 years ago

Arguably it's part of the puzzle to remember the state of the hidden faces, ....

i am on that side, but still. How about UV map of the object? That should pass the ugliness test, stay in 2D, present all info needed without any unambiguity as well.

goyalyashpal commented 2 years ago

For example

links for: [cube game] | 🔍 UV map for [cube] , [tetrahedron], [octahedron], [icosahedron] [cube]: https://duckduckgo.com/?q=cube+uv+map&t=vivaldi&iax=images&ia=images [tetrahedron]: https://duckduckgo.com/?q=tetrahedron+uv+map&t=vivaldi&iax=images&ia=images [octahedron]: https://duckduckgo.com/?q=octahedron+uv+map&t=vivaldi&iax=images&ia=images [icosahedron]: https://duckduckgo.com/?q=icosahedron+uv+map&t=vivaldi&iax=images&ia=images [cube game]: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/cube.html