Original Memory mini-game-html Web Edition

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.