Bug 153242

Summary: Katomic should accept mirrored molecules as correct.
Product: [Applications] katomic Reporter: David <DavidLBarbour>
Component: generalAssignee: Dmitry Suzdalev <dimsuz>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: sandormathe
Priority: NOR    
Version: 3.0   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: an example

Description David 2007-12-01 21:55:39 UTC
Version:           3.0 (using KDE KDE 3.95.0)
Installed from:    Mandriva RPMs
OS:                Linux

If the player constructs the molecule correct, but mirrored. Katomic should accept it as correct.
Comment 1 David 2007-12-01 21:56:18 UTC
Created attachment 22273 [details]
an example
Comment 2 Dmitry Suzdalev 2007-12-01 22:03:05 UTC
Hmm. I guess this makes sense :)
Then it needs to check for horizontal and vertical mirroring.
How about diagonal one? Joking ;)

I'll see how complex it will be to implement this.
Your wish recorded :)
Comment 3 Dmitry Suzdalev 2007-12-14 22:24:50 UTC
*** Bug 150384 has been marked as a duplicate of this bug. ***
Comment 4 David 2008-01-08 19:15:47 UTC
There should be a checkbox in the settings to check for mirrored solutions.
And there are some levels which would then be solved at start, so the game should check at it at the start of a level, and if that's such a level, checking for mirrored solutions should be disabled for that level.
OR
Levels would need another property, whether to allow mirrored checking. That would probably be better, in case the level would be TOO easy if mirrored.
But probably it would be better if both was implemented.
I hope this is understandable.
Comment 5 Dmitry Suzdalev 2008-01-09 17:29:16 UTC
Yes, you're understandable :)
Thanks for suggestions, I'll see what I can do.
Not sure that I'll do this *very-very* soon, but I hope to get my hands on it in near future.
Comment 6 GnuShi 2008-04-12 11:27:48 UTC
Hi!

I don't see a simple and fast solution to find out, if a molecule has mirors.

This is because some molecules can theoretically be mirrored but not with katomic (eg H--Cl vs -ClH- ) and some mirrors are very hard to detect like Styrene, wich has a symmetrie over two axis (top-left vs. bottom-right). So the connectors for each atom must be reviewed by the function. 

As a suggestion, I would like to append a "mirrored structure" to some level files and add support for them in PlayField::checkDone(). 

Comment 7 Dmitry Suzdalev 2008-05-12 10:10:22 UTC
We discussed this wish with other devs (see GnuShi's comment above) and we came to a conclusion that apart being not very clear on how to implement mirrored molecules support for all levels, this feature might really confuse users as it requires even some chemical background - the user need to know about isotopes and such. he might even get confused if suddenly mirrored molecule gets accepted (not the one he sees on preview area).

That's why I'm setting a WONTFIX to this bug.