Black FridayGame templates at Black Friday pricesEnds in See the deals

Puzzle · HTML5

Cosmic Block Puzzle

HTML 5 Block Puzzle Game with a Special Power

by Polar GamesVersion 1.0.0Updated Nov 20, 2026

  • Source code
  • Live demo
  • Documented
Perpetual licence$49 $41.65 -15%Buy now
The main menu: Play, the daily challenge and the best score.A game: the 8x8 board, the tray of three pieces and the combo.The charge bar is full: the Nova Core is ready.Aiming the Nova Core: it clears the whole row and column.Settings in Japanese: vibration, less motion and 14 languages.Game over, with the final score and the best score.

Cosmic Block Puzzle: HTML5 Block Puzzle Game

Drag glowing block pieces onto the board of a space station by a nebula, clear rows and columns, and charge the Nova Core to clear a whole row and column at once. Endless play and a daily challenge, in 14 languages, for phones, tablets and computers. Plain HTML, CSS and JavaScript modules, no framework, no dependencies, no build step.

Cosmic Block Puzzle: drag a piece onto the board and clear rows and columns

Easy to play, hard to put down

Drag one of the three pieces in the tray onto the 8x8 board. A full row or column clears; clearing several lines at once scores more, and clearing again within 3 moves builds a combo that multiplies the points. Emptying the whole board gives a Perfect bonus of 3,000. Every placement, clear and combo has its own sound, particles and a short narrator line.

The Nova Core

Some blocks carry a star. Clearing them fills a 6-segment charge bar, and a full bar gives the Nova Core: tap it, then tap any cell to clear its whole row and column at once. Up to 3 can be stored.

Cosmic Block Puzzle: the Nova Core clears a row and a column at once

Daily challenge

The same board for every player on the same day, with a score goal and a streak of consecutive days, saved in the browser.

Every screen, every language

Layouts for phones, tablets and computers in portrait and landscape. 14 languages: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese. Settings for vibration, less motion and language; separate music and effects volumes; fullscreen where the browser supports it.

Cosmic Block Puzzle: on phone, tablet and desktop, in 14 languages

Your template, your hosting

Upload the game folder to any static HTTP(S) host: no database, PHP, account or server code. Rules and numbers live in one commented file, src/config.js; every picture is a separate WebP and every sound a separate MP3, so a reskin is a matter of replacing files. The complete editable source is included, readable and formatted, with 15 tests, a local preview server and npm run build. An offline buyer guide in 14 languages and a step-by-step customization guide come in the package.

Technical details at a glance

  • Stack: HTML5, vanilla JavaScript modules, Canvas 2D and Web Audio, with no third-party game engine.
  • Files: HTML, CSS, JavaScript, WebP and MP3. Font: Baloo 2 (SIL Open Font License).
  • Languages: 14 interface languages; buyer guide in 14 languages.
  • Saves: the browser's local storage, with no account. No in-app purchases, no tracking and no external requests.
  • Editing the source: Node.js 26.13 or newer, npm ci, npm test and npm run build.

Screens from this edition

Captured from the edition sold here.

Included

  • Ready-to-host HTML 5 game folder
  • Complete editable source with tests, local server and build script
  • Rules and numbers in one commented file (config.js)
  • Art (WebP), sound effects, narrator lines and music (MP3)
  • Offline illustrated buyer guide in 14 languages and a customization guide
  • Baloo 2 font licence (OFL)

Not included in this edition

  • Native Android/iOS applications and store submissions
  • Online leaderboards, accounts and cloud saves
  • Ad, analytics or payment SDK integration
  • Hosting, provider accounts and custom development

What is in the ZIP

The real folder structure of the package you download, with names and sizes read from it.

cosmic-block-puzzle-1.0.0-complete.zip265 files · 8 MB
  • cosmic-block-puzzle-static-1.0.0/264 files · 8 MB
    • documentation/HTML guide, open it before you buy2 files · 801 KB
      • customization.html12 KB
      • index.html790 KB
    • game/Ready to host: upload this folder124 files · 3.6 MB
      • assets/Art, audio and fontsMP3 · TXT · WEBP · WOFF2 · 100 files · 3.3 MB
      • src/Source modulesJS · 21 files · 215 KB
      • DOCUMENTATION.txt1 KB
      • index.html16 KB
      • style.css38 KB
    • source/Readable source code132 files · 3.6 MB
      • assets/Art, audio and fontsMP3 · TXT · WEBP · WOFF2 · 100 files · 3.3 MB
      • src/Source modulesJS · 21 files · 215 KB
      • test/Automated testsMJS · 2 files · 12 KB
      • tools/Build and check scriptsMJS · 3 files · 4 KB
      • .prettierrc.json1 KB
      • index.html16 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md1 KB
      • style.css38 KB
    • THIRD-PARTY-LICENSES/Licence notices to keep with your game2 files · 5 KB
      • baloo-2-OFL.txt4 KB
      • README.txt1 KB
    • CHANGELOG.txtVersion history1 KB
    • CUSTOMIZATION.html1 KB
    • DOCUMENTATION.htmlOpens the guide1 KB
    • START-HERE.txtQuick start1 KB
  • POLAR-MARKETPLACE-START-HERE.txtStart here: licence, support and first steps1 KB

Item details

Edition
Buyer-hosted Browser Edition
Version
1.0.0
Released
Nov 20, 2026
Updated
Nov 20, 2026
Category
Puzzle
Languages
English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean, Simplified Chinese
Files included
HTML, CSS, JavaScript, WebP, MP3
Built with
Vanilla JavaScript (ES modules, no build), Canvas 2D, Web Audio, Node.js (optional tests and build, no packages)
Browsers
Modern browsers with WebGL2
Documentation
Documentation

Author

Polar Games

Brazilian studio making browser games. Every template here is a game we built and published.

See our games

Requirements

  • A current browser with ES modules and Web Audio
  • A static HTTP(S) web host; HTTPS recommended
  • Node.js 26.13 or newer only for the optional tests and build

Support covers technical questions and reproducible defects in the supplied game. Installation and customisation are separate services.

Changelog

  1. 1.0.0Nov 20, 2026

Questions

Do I have to compile the game?

No. Upload the game folder to any static host. Edit a file and reload: there is nothing to compile.

Can I change the theme?

Yes. Every picture is a separate WebP and every sound a separate MP3; replace them with files of the same name. The customization guide lists them all.

Does it work on phones?

Yes, in portrait and landscape, on phones, tablets and computers.

Which languages are included?

14: English, Portuguese, Spanish, French, German, Italian, Dutch, Polish, Turkish, Russian, Indonesian, Japanese, Korean and Chinese, all in one file you can edit.

Read the full licence, support, refund and privacy terms

Before you buy: guides and reviews

From Brazil to the world

Buyers in 25 countries

License a ready HTML5 game, with source code, for your website, app or brand.

  • 900+sales
  • 25countries
  • 2016selling since
Countries where we have sold: Brazil, United States, United Kingdom, Germany, Canada, Australia, France, India, Netherlands, Spain, Italy, Japan, South Korea, Poland, Mexico, Sweden, Switzerland, Singapore, United Arab Emirates, Saudi Arabia, Indonesia, Türkiye, Portugal, Philippines, Vietnam.
Cosmic Block Puzzle$49 $41.65 -15%
Buy now