๐ŸŽฎ All 30 games ยท $19

โฌข Hexa sort ยท HTML5 game code

Hex Stacks HTML5 game source code

Hex Stacks is a hexa-sort puzzle. Drag a stack of coloured hex tiles from the tray onto the honeycomb; next to a stack with the same top colour, the tiles flip across one by one and merge. A run of 10 of one colour pops for points and uncovers colours that can merge again for chain combos. Reach the level's target before the board fills up, while locked hexes open as your score grows.

  • 120levels
  • 3Dhex stacks
  • 6themes
  • 2boosters

One-time payment ยท source code + Android APK with AdMob ยท reskin & publish under your own brand ยท free builds for 30 days, then $1

Hex Stacks HTML5 game running on a phone

Hex Stacks screenshots

Hex Stacks menu on a phone
Hex Stacks gameplay on a phone

Hex Stacks game features

Drop hex stacks on the honeycomb, merge colours and pop runs of 10.

๐ŸŽฎ Controls

Drag a stack from the tray onto an empty hex, or tap a stack and then a hex. Desktop: mouse, P/Esc to pause.

๐Ÿ’ฐ Ad placements (AdMob ready)

  • Interstitial every 3 wins
  • Rewarded: clear 4 stacks to continue
  • Rewarded: free boosters
  • Rewarded: double coins

๐ŸŽจ Reskin in minutes

  • Tile colours, board themes and the pop size (10) are in config.js
  • Board shapes, targets, colours per level and lock thresholds are values
  • UI colours, title and logo text come from config.js

๐Ÿ“ฆ What's included

  • Complete Hex Stacks source code (HTML, CSS, JavaScript)
  • Bundled OFL fonts and synthesized audio
  • README with setup, reskin and ad instructions
  • Asset spec for custom graphics
  • Ad adapter for AdMob (Android) and web portal SDKs

Hex Stacks as an Android app is included

Hex Stacks is part of our $19 pack of all 30 games. It includes the source code and an Android build with your name, icon and AdMob ads (signed APK + AAB for Google Play). Rebuild as often as you like, free for 30 days, then $1 each.

๐ŸŽ Get all 30 games ยท $19 How it works

Hex Stacks game code FAQ

Is every level winnable?

Yes. A smart bot that tries every move clears 97โ€“100% of the levels in every band, and the tray always deals playable stacks.

What makes a combo?

When a pop uncovers a colour that matches its neighbours, they merge again. Each pop in the chain raises the combo.

Do you have free HTML games code?

Yes. The Free Games section has 21 complete HTML, CSS and JavaScript games (Snake, Tetris, Minesweeper, Tic Tac Toe, Pac-Man style, Flappy Bird, Pong and more), each one file you can copy and paste, with a live demo. The premium games add levels, shops, AdMob ads and an Android APK.

What do I get for $19?

All 30 games in one pack, and two things for each game. First, the complete source code as a ZIP: HTML, CSS and JavaScript, bundled offline fonts, a README with setup and reskin instructions, an asset spec for custom art, and any tools (level generators, simulators) that game uses. Second, a ready Android app: a signed APK and a Google Play AAB with your app name, icon and package name, and AdMob banner, interstitial and rewarded ads using your own AdMob IDs. No subscription and no watermark.

How much do extra APK builds cost?

Nothing for the first 30 days: every app in your game pack comes with a month of free APK and AAB builds, as many as you need. After that, each build is $1. Reskinned the game, changed the name or icon, got new AdMob IDs or released an update? Change it in the builder and build again for a fresh signed APK and AAB.

More HTML5 game templates