Giter Club home page Giter Club logo

mypicturematching's Introduction

MyPictureMatching

这是《我的Android进阶之旅------>Android疯狂连连看游戏的实现》的源代码

这是《我的Android进阶之旅------>Android疯狂连连看游戏的实现》的源代码 博客地址:http://blog.csdn.net/ouyang_peng/article/details/14115627

下面是该游戏的预览图片

  • 1、游戏最开始的界面,可以点击“开始”按钮开始游戏

  • 2、点击“开始”按钮后,会显示出计时文本框,并开始计时。

  • 3、游戏过程中

  • 4、游戏结果:成功或者失败

开发这个流行的小游戏,难度适中,而且能充分激发学习热情,适合Android初学者来说是一个不错的选择。对于该游戏的开发,需要重点掌握单机游戏的界面分析和数据建模能力:游戏玩家严重看到的是游戏界面,但是在开发者眼中看到的应该是数据模型。除此之外,单机游戏通常需要一个比较美观的界面,需要通过自定义View来实现游戏主界面。

开发连连看游戏除了需要理解游戏界面的数据模型之外,还需要判断两个方块是否可以相连,为了判断两个方块是否可以相连,需要对两个方块所处的位置进行分类,然后针对不同的情况采用不同的判断算法进行判断,还需要采用条理化的思维方式分析、处理,这也是学习这个游戏开发所需要重点掌握的能力。

关于具体的实现步骤,请参考下面的链接:

PS:该demo只作为练习学习使用,demo中的部分图片资源来自于【连连看之水果连连看】APP,如有侵权,可联系删除。 相关介绍链接为:https://www.wandoujia.com/apps/com.xxstudio.fruitconnect 你可以下载 https://github.com/ouyangpeng/MyPictureMatching/blob/master/picture/%E8%BF%9E%E8%BF%9E%E7%9C%8B%E4%B9%8B%E6%B0%B4%E6%9E%9C%E8%BF%9E%E8%BF%9E%E7%9C%8B.apk 来玩一玩该上线的APP。

mypicturematching's People

Contributors

ouyangpeng 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.