Coder Social home page Coder Social logo

game2048forgdx's Introduction

Game2048ForGDX

使用跨平台游戏开发框架 LibGDX 开发的 2048 游戏。

声明: 游戏中使用到的部分图片和音频资源来自网络,资源版权和游戏创意属原作者,这里仅供学习交流。

概述

2048 是一款非常热门的数字益智类游戏,操作规则很简单,在屏幕中有四行四列共 16 个卡片,初始时随机在其中两个卡片生成两个数字 2 或 4,然后手指可在卡片组区域 上下左右滑动 将所有卡片移动到 上侧 / 下侧 / 左侧 / 右侧。如果在移动的方向上有数字相同并连着的两个卡片发生“碰撞”,则这两个卡片的数字相加合并成一个卡片,每移动完一次随机在一个空白卡片处生成一个数字 2 或 4。通过不断移动卡片,直到拼凑出数字为 2048 的卡片,则游戏胜利;如果卡片不可再移动(没有空白卡片)又没有拼凑出数字为 2048 的卡片,则游戏结束。

游戏效果展示

HTML5 平台在线演示(浏览器需要支持 WebGL): https://xiets.github.io/Game2048ForGDX/

Desktop 平台项目运行截图:

sy_game2048_01.png sy_game2048_02.png

详细介绍

https://xiets.blog.csdn.net/article/details/50188259

game2048forgdx's People

Contributors

xietansheng avatar xiets avatar

Stargazers

Aiaox avatar Taketoday avatar  avatar  avatar tan huohui avatar MHYC133 avatar  avatar Justin Marentette avatar  avatar Rui Liu avatar caox avatar  avatar  avatar seeyoumeet avatar 残血战士 avatar  avatar backinfile avatar  avatar Zain Chen avatar tendiv avatar Gason Zhong avatar 飒翊 avatar  avatar 鸣玉珂 avatar DavidLi avatar  avatar  avatar  avatar  avatar Blocker avatar will avatar zloopk09 avatar YongLiang An avatar  avatar Jins avatar xxx avatar acuilab avatar windmeup avatar  avatar  avatar  avatar shaon avatar sunpan avatar Gluko Lin avatar  avatar  avatar ccnio avatar huzongyao avatar  avatar Woong avatar 快乐小叮当 avatar feimeng avatar w568w avatar adolph avatar blake avatar seker avatar renzhiqiang avatar  avatar jvhuaxia avatar jwenfeng avatar Deity avatar  avatar Tony avatar  avatar  avatar

Watchers

 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.