Live data from Hacker News

Show HN: 3D Mahjong, Built in CSS

voxjong.com

21–30 of 62 posts

Re: Show HN: 3D Mahjong, Built in CSS

#21

It is a nice UX, but with a fatal flaw: Tiles are supposed to be free when there is a side free, but you instead have it coded to be free when the top or bottom is free. Your app, your rules, so if you intended to do that, cool. It is just a fundamental divergence from how other implementations do it.

> Tiles are supposed to be free when there is a side free

No.

According to wikipedia[1]: "A tile is said to be open or exposed if it can be moved either left or right without disturbing other tiles.". Also look at the photo in the wikipedia article[2]. This implementation looks correct to me.

[1]: https://en.wikipedia.org/wiki/Mahjong_solitaire

[2]: https://en.wikipedia.org/wiki/Mahjong_solitaire#/media/File:...

Re: Show HN: 3D Mahjong, Built in CSS

#22
post #5

It is a nice UX, but with a fatal flaw: Tiles are supposed to be free when there is a side free, but you instead have it coded to be free when the top or bottom is free. Your app, your rules, so if you intended to do that, cool. It is just a fundamental divergence from how other implementations do it.

Thanks for mentioning this. I played a little bit and I felt like it was the opposite of what I'd remembered. I do like that the inaccessible tiles are faded somewhat so that I don't inadvertently try to match them.

[deleted]

Re: Show HN: 3D Mahjong, Built in CSS

#27
There are some super weird bugs, sometimes only one of the two pieces are removed and sometimes the field goes blank? Also on every move the faves change?! iOS here. And yeah, no majiang, but still super cool! Nostalgic vibes waiting for my fries and playing the Photo Play touch screen gambling machine (after unlocking it by tapping the words photo and play on the logo with two different fingers and entering the code)

Re: Show HN: 3D Mahjong, Built in CSS

#28
I think this is a good example of what CSS can do and probably was not easy to make but I will likely stick with Mahjong that comes with most Linux distributions as they follow rules that people I may end up playing against would know and they have many layouts. I could see this being applied to other things however such as games that require building or repairing something. Or something similar to Minecraft?

Impressive work!

Re: Show HN: 3D Mahjong, Built in CSS

#30
post #9

Nice! Wish the supported rotation was bigger, maybe +- 90 instead of only 90 deg?

Maybe it was done this way so that they don't have to sort the tiles by depth?

Would it just be the opposite depth of the current sorting once you pass 180 degrees?
Post reply on HN