Shelf Sort is a complete, ready-to-sell HTML5 item-sorting puzzle built entirely in vanilla HTML5, CSS3, and JavaScript — no engine, no build step, no external libraries. Open index.html directly, or upload the folder to any host, and it runs.
Players hold & drag goods between wooden shelf boxes, lining up 3 identical items to pack & clear them, and emptying every shelf before the timer ends. A cozy market world — winding level map, themed chapters, boss shelves, chained crates, frozen goods and broken slots — gives the puzzle real depth without a single external image file.
Every visual — icons, HUD, shelf scenery, level map — is hand-drawn in code (inline SVG + open-license emoji), so there are no image files or icon packs to license. The display fonts (Lilita One, Nunito, Noto Color Emoji) are loaded via the Google Fonts CDN (fonts.googleapis.com) — they are not bundled locally. An internet connection is needed on the first visit to fetch them from the CDN; without one, the browser falls back to a default system font and the game still runs normally.
How to Play
Hold & drag an item, drop it on another shelf. Items may only land on the same type or an empty shelf; 3 identical items pack & clear for coins. Tap/Click on the ice to remove it. Empty every shelf before the timer ends — fewer moves earn more stars.
Core Gameplay
- Drag & drop controls — touch and mouse both work, with green/red drop feedback.
- 3 obstacle types to plan around:
- Chained boxes — locked shelves; clearing other shelves breaks the chain.
- Frozen items — tap once to melt, then drag.
- Broken slots — hold nothing, reducing a shelf’s space.
- 600 levels across 10 themed chapters with a smooth easy→hard curve.
- 3 difficulty modes (Normal / Hard / Expert) that unlock as you progress.
- Boss levels every 20th level with bonus coin + gem rewards.
- 1–3 star rating per level based on move efficiency.
- Tools — Undo, Restart, Hint (glows the best move), and +Slot (adds a spare shelf).
Progression & Replayability
- Coin economy + Shop — 4 unlockable item themes and 3 permanent upgrades (extra Hint / Slot / Time).
- Daily Challenge — a seeded level that’s the same for everyone each day, with a 7-day streak.
- Chapter gifts — fill a chapter with stars to unlock a bonus gift.
- Audio — synthesized sound effects plus an optional nature ambience, both toggleable.
- Persistent save data via
localStorage.
Visual Presentation
- 4 selectable item themes that reskin every item, swapped live from the Shop.
- 100% code-drawn visuals — inline SVG scenery/icons + open-license emoji; no image files.
- Google Fonts typefaces (Lilita One, Nunito, Noto Color Emoji) — loaded via Google Fonts CDN (third-party service; internet connection required on first load).
- Pause menu, settings sheet, and in-game How to Play guide.
- Fully responsive — scales correctly from small phones to wide desktop windows.
Technical Specifications
- Built with: Pure HTML5, CSS3, vanilla JavaScript (DOM rendering — no canvas required)
- Dependencies: None (game code is self-contained; Google Fonts are loaded from an external CDN — see Internet Requirement below)
- Responsive: Yes, across all devices
- Browser compatibility: All current versions of Chrome, Safari, Firefox, and Edge — desktop and mobile
- Internet requirement: An internet connection is needed once to load the Google Fonts CDN fonts (Lilita One, Nunito, Noto Color Emoji via
fonts.googleapis.com). These are third-party fonts served by Google — outside the author’s control. If unavailable, the browser falls back to a default system font and the game still runs normally. All game logic, visuals, and audio are generated in code with no other external calls.