Games are a funny way to engage with customers. The “The Okapi Memory” game integrates a product search & browsing experience into a memory game. The user should memorize products of an ecommerce shop running on Demandware. As incentive the user will receive a coupon code when finishing the game.
“The Okapi Memory” is a game that runs in the browser. It is just a try to play with OCAPI, HTML5 and CSS3, not really tested and optimized. The game runs best in Chrome/Safari (so you should run it in that browser). Runs as well in FF. No IE as it does not support CSS3 transformations yet.
- The information about products and images shown in the game are retrieved using DW OCAPI interface (search/product api).
- AJAX calls are used to request data from OCAPI (CORS setting required on DW OCAPI settings)
- The game itself uses CSS3 transformations, so it will run only in the most recent browsers (FF, Chrome, Safari). It does not run in IE as this browser does not support CS3 transformations yet.
- The game can be hosted anywhere (e.g. brand site). It contains static files only (HTML, CSS, JS) and does not require any server-side components.