Giter VIP home page Giter VIP logo

love-2048's Introduction

爱情

love -2048

具体玩法同2048

浏览器支持:现代浏览器

开发者通过修改 game_manager.js 中的this.tilesTextArr对应的文字以及tile.js中的this.text 默认初始等级。在2048的逻辑基础上增加等级对应的文字映射,以当前游戏程序为基础,开发者可以开发出任意等级。

爱情对应的等级有 '搭讪','暧昧','约会','表白','牵手','拥抱','接吻','求婚','结婚','相濡以沫','白头偕老'共11个等级,与2048 = 2^11对应,若不需要这么多等级或者有更多的等级需求,除了修改上述两个地方外,还需要修改2048为对应的2的次方数.

love-2048's People

Contributors

wangwq08 avatar tabooc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.