Show HN: Block Sort, a mobile/PWA puzzle game without ads (matthijsgroen.github.io)
To counter this I made my own puzzle game, as a progressive web app. This means you can install it on your mobile or desktop as an application, and play offline.
After the game is offline ready, no requests should be outgoing except checking for updates of the game. So there is no tracking/reporting going on. This also means I rely on old fashion email to get feedback!
The game is build in React + Typescript + Vite, and is open-source at: https://github.com/matthijsgroen/block-sort
Challenges:
- I wanted to make the game using open web standards such as HTML + CSS. The game actually features one image, the rest is done in pure CSS (the cubes, buffers and placement stacks);
- All animation is done through CSS animations;
- All levels are randomly generated, and then proven playable by a solver before a player gets the level on screen. To remove loading times for the high difficulty levels, a process was made to generate these levels offline, and the game only contains the random seeds to reproduce them (and then they are still solved by the game first before offering)
- The entire game is statically hosted, so there is no backend involved. This proved challenging for data transfer capabilities. The game now generates a QR Code image containing all encrypted/compressed game data, that can be loaded into another instance of the game.
13 comments
[ 3.4 ms ] story [ 28.5 ms ] threadI really enjoyed this.
Working flawlessly in Berry Browser on Android. Animation is great, music is pleasant.
My only nitpick would be that the button to start the level is labeled as level number, so it is not entirely clear is it a button or is it an indicator. Just adding a word "START" as a second row would solve that.
Thanks.
One suggestion I have is to make the game more challenging by having a target number of moves the player should stay under and award points based on that.
- There is a slow victory animation.
- I need to click.
- There is a scrolling on the level screen. (Skipable but it isn't obvious and you need to click a moving button to do so).
- Click start.
The level entry is at least quite fast.
Maybe it would be good to have a "next puzzle" button at the end of the level. And speeding up the victory animation or making the "next" button appear quickly while the animation is still playing would really help to move from level to level smoothly.
One bit of feedback, you could have a next level button rather than returning to the main screen.
One the first level, it would be nice to point to the tutorial overlay you have on your main page or perhaps create a demonstration animation. It was easy enough to figure out but might be nice to route new users there. I only saw it after completing 10 levels. Your could also add a small explanation when new mechanics are introduced in the level itself.
Overall, great work!