Web version of the 2048 game Tutorial-Course Introduction

Source: Internet
Author: User

1.1. With respect to "2048"
"2048" is a more popular digital game. The original 2048 was first published on GitHub and was originally written by Gabriele Cirulli. It is based on the "1024" and "Little 3 legends" of the play developed a new digital game.
Then 2048 will appear various versions, take the big platform. The version that was transplanted to iOS by Ketchapp is the hottest, and now has about 10 million downloads, the same name as the original. The best-known version of the derivative version is the 20,486-edged edition, which ranked the top 200 in the board game in 81 countries around the world. Android version is very popular with the "Challenge 2048", its 2.0.0 version has joined the two-man battle. Secondly, there are 2048 Chinese dynasties editions that are more special. There are more than 2048 custom versions, you can define your own text and pictures. "2048" is one of the popular iOS models.
1.2. Game Demo

1.3. Use of technology

    • Html
    • Css
    • Javascript
    • Jquery
1.4. Game Architecture
    • Index.html: Game page, introduce style file and logical file order as follows:
<link rel = "stylesheet" type= "Text/css" href= "2048.css" ><script type = "Text/javascript" src= " Jquery-1.11.0.js "></script ><script type =" Text/javascript "src=" Support.js "></script >< Script type = "Text/javascript" src= "animation.js" ></script ><script type = "Text/javascript" src= "Main.js" ></script ><script type = "Text/javascript" src= "Game.js" ></script >

    • 2048.CSS: Game Style
    • Jquery.js:jQuery file
    • Support.js: Game Base logic File
    • Animation.js: Game Animation logic file
    • Main.js: Game Master Logic file
    • Game.js: Game Interactive Logic file

Related Article

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.