Black FridayGame templates at Black Friday pricesEnds in See the deals

Puzzle · HTML5

Memory Mansion

Halloween memory match game with 60 levels in 5 worlds

by Polar GamesVersion 1.0.0Updated Nov 11, 2026

  • Source code
  • Live demo
  • Documented
Perpetual licence$49 $41.65 -15%Buy now
Menu at the moonlit mansion with Wisp the little ghost: Play, Daily and Collection.Level map of Candy Kitchen: pumpkin stops with stars and the Treat Chest.Moonlit Manor: pairs found stay open and light up, with the Peek and Candle powers on the side.Candy Kitchen: find the pair shown in the bubble for a treat bonus.Cobweb Attic: cards caught in a cobweb come free when the pair next to them is matched.Whispering Garden: now and then a ghostly breeze swaps two cards.Midnight Tower: a late level with cobwebbed cards among the moon backs.Level complete: stars, score and moves.Collection album: 60 Spookies in five sets.Daily mode: one new board per day, with a calendar and a streak.

Memory Mansion: flip the cards, find the pairs, light up the mansion.

Memory Mansion is an HTML5 memory match template with full source code and a cute haunted-house theme that is cozy, never scary. Players flip the cards two at a time and look for the pairs; every pair found lights up with a warm glow. The edition has 60 levels in five worlds, Wisp the little ghost as mascot, two powers, a collection of 60 cute little monsters, a daily board, 14 interface languages and a ready-to-host game folder.

Memory Mansion: Wisp the little ghost cheers next to a glowing pair of cards with the same bat bunny.

Simple to learn, with a reason to play well

Each level has a move limit, never a timer, and gives up to three stars for fewer moves. Streaks of pairs raise the score and the musical note of each match. When the moves run out, a gentle "So close!" window offers five more moves once.

Flip, match, light up: two cards with the same broom mouse glow as a pair over a grid of cards.

Five worlds, a new rule in each

Moonlit Manor, Candy Kitchen, Cobweb Attic, Whispering Garden and Midnight Tower have twelve levels each, on a map with stars. Each world adds one rule with a short introduction card: Treat Requests (find the pair in the bubble for a treat bonus), Webbed Cards (cards caught in a cobweb come free when the pair next to them is matched), Ghost Swap (now and then a ghostly breeze swaps two cards) and Shadow Match (match each Spooky with its silhouette). Boards grow from 2 to 16 pairs.

The five worlds of Memory Mansion around Wisp: moonlit manor, candy kitchen, cobweb attic, whispering garden and midnight tower with a shadow match.

Powers, a Treat Chest and 60 Spookies

Peek turns every card face up for a moment and Candle shows where the twin of a card is. Charges come from three-star levels and from the Treat Chest, which opens every 9 stars; there is no shop and no currency. Every Spooky matched goes into the Collection album: 60 Spookies in five sets, from Pumpkin Cat to Wizard Toad. The Daily mode gives one new board per day, with a calendar and a streak.

Powers and rewards: the Peek eye with a moon, the Candle, the Treat Chest full of sweets and three stars.

14 languages, every screen size

The interface is translated into 14 languages and can be changed in the settings without reloading. The art exists for landscape and portrait, with wide backgrounds for ultra-wide monitors. The soundtrack has two original menu tracks and two level tracks that play alternately. Settings include music and effects volume, vibration and a Reduce motion option. A "Tap to start" screen unlocks sound on mobile browsers.

Your game, your hosting

Upload the contents of the game folder to static HTTP(S) hosting and open index.html. No database, PHP, account, server or Node.js runtime is needed, and normal play makes no requests to ranking, advertising or payment services. The package includes the editable project, an illustrated offline guide in English, Portuguese and Spanish, a separate step-by-step customization guide and the font licence notice.

Full source code, easy to reskin: a code window next to cards changing frame.

What this edition does not include

Native apps, hosting and custom development are not included, nor are online multiplayer, an online ranking, in-app purchases or an advertising SDK. The included translations are supplied as they are: have a native speaker review them before launching in a new market.

Technical details at a glance

  • Stack: HTML5, plain JavaScript modules and CSS, Canvas 2D for particles and Web Audio, with no third-party code and no game engine.
  • Files: HTML, CSS, JavaScript, PNG, WebP, MP3 and WOFF2.
  • Languages: 14 interface languages and a guide in English, Portuguese and Spanish.
  • Saves: the browser's local storage, with no account or cloud sync.
  • Tests: npm test checks the rules and plays every level through them. Node.js 26.13 or newer is only used for the tests, the local server and the copy command.

Screens from this edition

Captured from the edition sold here.

Included

  • 60 levels in 5 worlds (Moonlit Manor, Candy Kitchen, Cobweb Attic, Whispering Garden, Midnight Tower) with a new rule in each world, a level map per world, move limit and three stars, Peek and Candle powers, a Treat Chest, the +5 moves rescue, a Collection album of 60 Spookies and a Daily board. Two original menu tracks and two level tracks. 14 interface languages.
  • Ready-to-host game/ with local artwork, music, sound effects and fonts
  • Readable editable source in plain JavaScript modules and CSS (no dependencies, no build step), rule tests and the font licence notice
  • Illustrated offline buyer guide in English, Portuguese and Spanish, plus a step-by-step customization guide

Not included in this edition

  • Native apps, hosting and custom development
  • Online multiplayer, online ranking, in-app purchases and advertising SDK

What is in the ZIP

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

memory-mansion-1.0.0-complete.zip604 files · 59.2 MB
  • memory-mansion-static-1.0.0/603 files · 59.2 MB
    • documentation/HTML guide, open it before you buy32 files · 7.6 MB
      • img/JPG · PNG · 30 files · 7.4 MB
      • customization.html53 KB
      • index.html217 KB
    • game/Ready to host: upload this folder278 files · 25.8 MB
      • assets/Art, audio and fontsMP3 · TXT · WEBP · WOFF2 · 232 files · 25.5 MB
      • css/CSS · 4 files · 75 KB
      • src/Source modulesJS · 40 files · 200 KB
      • DOCUMENTATION.txt1 KB
      • index.html1 KB
    • source/Readable source code287 files · 25.8 MB
      • assets/Art, audio and fontsMP3 · TXT · WEBP · WOFF2 · 232 files · 25.5 MB
      • css/CSS · 4 files · 75 KB
      • src/Source modulesJS · 40 files · 200 KB
      • test/Automated testsJS · MJS · 3 files · 9 KB
      • tools/Build and check scriptsMJS · 3 files · 6 KB
      • .prettierrc1 KB
      • index.html1 KB
      • package-lock.json1 KB
      • package.json1 KB
      • README.md9 KB
    • THIRD-PARTY-LICENSES/Licence notices to keep with your game2 files · 5 KB
      • fredoka-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
Standalone Browser Edition
Version
1.0.0
Released
Nov 11, 2026
Updated
Nov 11, 2026
Category
Puzzle
Languages
English, Portuguese, Spanish, German, French, Italian, Dutch, Polish, Russian, Turkish, Japanese, Korean, Simplified Chinese, Indonesian
Files included
HTML, CSS, JavaScript, PNG, WebP, MP3, WOFF2
Built with
HTML5, JavaScript, Canvas 2D, Web Audio
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

  • Any current browser: Chrome, Edge, Firefox, Safari, Opera and other modern browsers
  • Static HTTP(S) hosting; no database or author account required

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

Changelog

  1. 1.0.0Nov 11, 2026

Questions

Do I need to build the game?

No. Upload the contents of game/ to HTTP(S) hosting. The source is plain JavaScript modules and CSS with no dependencies; the build command only copies the files to the output folder.

Which browsers does it support?

All current browsers, desktop and mobile: Chrome, Edge, Firefox, Safari (macOS, iPhone, iPad), Opera, Brave and Samsung Internet. Test on your target devices before publishing.

Where is progress saved?

Locally in the current browser, with no account or cloud sync.

What licence applies?

The Polar Games Marketplace terms shown at checkout apply.

How do I change the cards, the mascot or the difficulty?

CUSTOMIZATION.html in the package explains it step by step: which file draws every part of each screen, how to replace the card pictures, card backs, backgrounds and the mascot, and where the levels, powers, rewards and texts are. The mascot, the Daily board and the Collection can be switched off in one config file.

Are the names of the Spookies translated?

The interface is translated into 14 languages. The names of the 60 Spookies (such as Pumpkin Cat) are in English in one card-set file, so you can rename or translate them there.

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.

More from Polar Games

Memory Mansion$49 $41.65 -15%
Buy now