Show HN: I made a Mahjong browser game
61–70 of 88 posts
Re: Show HN: I made a Mahjong browser game
#62Nice work. BTW It wasn't clear to me (until I clicked 'hint') that you can match different flower tiles.
Re: Show HN: I made a Mahjong browser game
#63Re: Show HN: I made a Mahjong browser game
#64Earlier quoted context omitted.
> Can you add an indicator so that people will know to scroll down for rules and stuff. It's called a "scrollbar" and shown in the browser.
You're right, there is something called a "scrollbar", but many people don't see it because they are using macOS which for some reason hides the scrollbars by default. Also phones/touchpads don't see scrollbars I think.
My desktop Mac never hides the scrollbar, as it uses a normal mouse, however when I was using a Magic Trackpad the scrollbar would indeed hide unless I was actively scrolling.
Odd behavior.
Re: Show HN: I made a Mahjong browser game
#65Re: Show HN: I made a Mahjong browser game
#66I played one hand, and it needed to shuffle towards the end because there were no legal moves, and then I won. Can every hand be won without a shuffle?
Re: Show HN: I made a Mahjong browser game
#67I didn't even know that was possible, and also it's annoying me that it's possible. Maybe it's the "Pointer Lock" JavaScript API?
Re: Show HN: I made a Mahjong browser game
#68Hey, Nice Game! One suggestion - Can you add an indicator so that people will know to scroll down for rules and stuff. I figured this out really late and by then, I had already googled all the rules.
> Can you add an indicator so that people will know to scroll down for rules and stuff. It's called a "scrollbar" and shown in the browser.
Re: Show HN: I made a Mahjong browser game
#69Possibly a stupid question: is it possible not to win this? Is it just for the purposes of relaxing, or is there a strategy? I played one hand, and it needed to shuffle towards the end because there were no legal moves, and then I won. Can every hand be won without a shuffle?
Since there are four tiles (two pairs) of each tile set, you can play in such a way that you’re deadlocked because of a previous choice.
Imagine, for example, there are two matching tiles with one stacked on top of the other. If you already removed the other two matches for that same tile set, then you’re stuck, since the only way to remove the top one is to match it with another match — but you can’t get to the only remaining matching tile since it’s covered by that tile.
Re: Show HN: I made a Mahjong browser game
#70Earlier quoted context omitted.
You're right, there is something called a "scrollbar", but many people don't see it because they are using macOS which for some reason hides the scrollbars by default. Also phones/touchpads don't see scrollbars I think.
macOS does indeed show the scrollbar at all times when a input device other than a touchpad is attached. My desktop Mac never hides the scrollbar, as it uses a normal mouse, however when I was using a Magic Trackpad the scrollbar would indeed hide unless I was actively scrolling. Odd behavior.
System Preferences > General > Show scroll bars
• Automatically based on mouse or trackpad
• When scrolling
• Always (because I remember when smart phones didn't exist)
I keep mine at option 3 because I'm a dinosaur