scrobble.life
HiveDevs

Snapie Blocks: A 1v1 Game You Can Play Without an Account

Snapie cover: the Snapie Games page and the Snapie mobile feed, with the title "Snapie Blocks, Speed and an App"

Snapie has a new 1v1 game, and you don't need a Hive account to play it. Hit Quick match and you're paired with the next player in line for a falling-blocks battle.

That game is one piece of what I've been working on lately. Over the last two weeks, about 27 of my pull requests were merged into Snapie, the short-form "snaps" app built by @meno and the Mantequilla Soft crew. Here's what they added, in plain words.


Snapie Blocks

The Snapie Games page with six game cards: Snapie Quest, Snapie Blast, Snapie Rush, Snapie Blocks, Snapie Jump and Snapie: Information War The Games page on snapie.io today. Snapie Blocks is the one with a "Play" button for guests.

Snapie already had a nice games corner. Blocks is the new kid.

You and a random opponent each get a board. Clear lines and you send "garbage" rows over to their side, and their health bar drops. Last board standing wins. Arrow keys move, X and Z rotate, and space drops. If someone disconnects for more than a few seconds, the match counts as a forfeit, so nobody is left staring at a frozen board.

Guests can play the whole match. A guest win doesn't earn anything, though. Log in with Hive, and each win pays 20 Snapie Points, credited once per match on the server.

Three Snapie Blocks screens: the Quick match start screen, a match in progress with the health bar and a falling block, and the "YOU WIN" screen with the controls listed Quick match screen (top), a match in progress, and the win screen with the controls along the bottom.

Why guests? A while back I wrote that every Hive app should have a good "front door" for people who don't have an account yet. A game you can play in one click, with no keys to lose, is about as friendly as a front door gets. In my opinion, anyway. (#207, #211)


A faster feed on phones

Lots of Hivers browse on a phone, often on so-so mobile data. So a big chunk of the work went into getting the home feed on screen sooner.

Web folks call this Largest Contentful Paint (LCP). It's how long until the biggest thing on screen, usually the first photo in the feed, actually shows up.

The biggest change: the server now sends the first few snaps already filled in, instead of an empty page that loads them afterward (#205, #208). Snapie also picks a normal photo as the one to rush, not a multi-megabyte GIF or video (#162).

A few smaller things help too:

  • Images come through Snapie's own server, resized for the screen. (#150)
  • The site icon is now a tiny ~3 KB file, and the app's code waits until the first photo is painted. (#221)
  • Phones skip the desktop sidebars. (#245)
  • Lookups to Hive are grouped together, and each request goes to one API node instead of all of them. (#201, #160, #210)

Put together, the home feed gets on screen sooner, especially on phones.


Snapie on your home screen

Snapie is now installable. On a phone, use "Add to Home Screen". On desktop Chrome, click the install icon in the address bar. Snapie then opens in its own window with its own icon, like any other app.

It also respects the notch and the home bar on newer phones, so the header and bottom tabs don't hide under them. There's no offline mode. It just keeps Snapie one tap away. (#254)

Snapie running in its own desktop app window next to the Snapie mobile layout with the Latest feed Snapie in its own app window on desktop (left) and the mobile layout (right).


Under the hood

Snapie moved from Next 14 and React 18 to Next 15.5 and React 19. You won't notice it. But it keeps the code current, so new features land on a modern base. (#233)


Feedback, right inside the app

There's now a Feedback option in the desktop sidebar, in the mobile menu ("Send feedback"), and in Settings. Pick a category, type a note, and it becomes a GitHub issue for the Snapie team. Guests can use it too. Your email and IP are not attached. (#209)


Small stuff that adds up

Chat now shows "Today", "Yesterday" or a date above each day's messages (#244). When you switch channels or DMs, the chat opens on the newest message (#149).

Also:

  • Mutes apply right away in Latest, and animated GIF uploats keep their animation in the blog editor. (#154)
  • Short snaps keep their words in order when they mix a link with an @mention or #hashtag. (#256)
  • The Information War game page loads more smoothly. (#255)

Thanks

Big thanks to @meno and the Mantequilla Soft crew for reviewing and merging so quickly. Snapie is open source, so anyone can pitch in.

If you're curious why I keep coming back to guest-friendly features, I wrote about it in On Hive Onboarding and Safekeeping Keys. And in Bartle's Taxonomy - from MUD to Hive, I guessed most Hivers are socializers. A quick match against a stranger feels like a good fit for that crowd.

Play a quick match of Snapie Blocks: snapie.io/games/snapie-blocks

What should Snapie add next?

Onward, HT

Comments · 4

  • @nachoreyes412(50)· 41d

    Me parece que y la he usado @hivetreding

  • @angeluxx(75)· 42d

    It's not progressing; I think I'm having problems with my PC.

    image.png

  • @mortezayousefi(70)· 43d

    perfect

  • @rebet(71)· 43d

    twenty seven pull requests in two weeks is a serious output of code

    dropping the heavy gifs from the priority queue makes total sense for mobile data too