[HN Gopher] Show HN: Exponentile - A match 3 game mixed with 2048
___________________________________________________________________
Show HN: Exponentile - A match 3 game mixed with 2048
Hi HN, I made this small game in my spare time. It's quite
addictive, I spent a lot of hours playing instead of polishing it.
My own highscore is 96,792. Source code is at
https://github.com/MikeBellika/tile-game. It's made with react,
tailwind, and framer motion. Hope you enjoy!
Author : MikeBellika
Score : 11 points
Date : 2024-04-01 18:04 UTC (4 hours ago)
(HTM) web link (www.bellika.dk)
(TXT) w3m dump (www.bellika.dk)
| novariation wrote:
| This is nice ! Lots of these games I honestly don't feel like
| playing, but for some reason I liked yours. It's simple and the
| animations are good !
|
| I'm curious by the way, how do you handle the randomness of
| starting positions and additional bricks to make sure there's
| always a valid move possible ?
|
| Maybe it's just basic combinatorics (enough possibilities that
| not having any valid move on the board is impossible ?)
| MikeBellika wrote:
| Thank you so much! I think the starting board could
| theoretically be an instant game over but there always seem to
| be a lot of possible moves. For new bricks, sometimes there
| won't be any more valid moves in which case the game will end.
| mdaniel wrote:
| Congratulations on your game, and thanks for making the source
| available!
|
| Please do consider adding a license file to indicate what rights
| you grant to others
| MikeBellika wrote:
| Thank you! I will add a license to the repo when i get back to
| my pc tomorrow. I think ill go with MIT.
| mdaniel wrote:
| I think I am not following some nuance; given: 4
| 4 2 16 8 8 4 2
|
| pulling that 4 up into its friends yields ? ? 8
| 16 8 8 2 2
|
| which after seeing that behavior across several combinations (2 2
| 2 -> 4) I'm now guessing the actual rules are "The more tiles in
| the match, the higher the resulting tile will be, PROVIDED IT IS
| A POWER OF 2". So, one must join at least 3, but only the power-
| of-2 pairs _count_ , the other tile just evaporates
| MikeBellika wrote:
| I'm not a 100% sure i follow but i'll try to explain. The tiles
| can only be powers of two. Matching 3 tiles will make the
| matching tile the next power of two. So 2-2-2 will make 4,
| 4-4-4 will make 8, 8-8-8 will make 16, etc. If you match more
| tiles, it will go to higher powers of two. 2-2-2-2 will make 8,
| 2-2-2-2-2 will make 16. Only one tile per match will be turned
| into the higher tile. When swapping a tile this will be the
| swapped tile. When part of a combo, it will be the tile with
| most matches. If multiple tiles have the same amount of matches
| it will be the left/top most tile. The other tiles do indeed
| "evaporate". I hope this makes some sense, wrote it from my
| phone.
| aappleby wrote:
| 30,020 first try. Game seems less likely to get permastuck that
| it looks at first.
___________________________________________________________________
(page generated 2024-04-01 23:01 UTC)