self-designed a memory of the small game, development platform Dreamweaver, only with HTML and JS can be implemented (the plug-in used to JQ), very simple for beginners to reference, source materials are shared to everyone:
the game's design rules are simple: at the beginning of the 16 palace lattice hidden, click on the start grid will show randomly generated three colors of diamonds, 5 Seconds of memory time, five seconds after the hidden diamond, while the above shows the need to find the diamond color, the user by memory to select all the color of the diamond. the implementation of the method is also very simple, mainly a few important states and a two-dimensional array processing and some string variables processing, and finally based on the time used and the correct rate of achievement settlement of a small algorithm.
Source Engineering File Download: Https://github.com/jiangxh1992/HaierOven-Site
<!doctype html>
Original Memory mini-game-html Web Edition