码迷,mamicode.com
首页 >  
搜索关键字:play a game    ( 14898个结果
java枚举在android项目应用
今天修复一个公司很早以前的android应用功能,里面的代码逻辑已经完全错乱,然后发现返回的数据完全不对了。然后修复了整整两天。然后我重新整理了一遍,重构就算不上了。然后就用上了枚举。 什么是枚举?我以前也不懂,当时我看见公司的项目中使用了枚举当做项目一个控制,比如修改已经写好的app然后为一些手机厂商做定制版。可能要去掉广告,还有跳转到商店url都不同,特别是国内基本都没有google play。我们为了避免以后的修改,就会写个枚举来控制它。...
分类:移动开发   时间:2014-06-19 11:19:06    阅读次数:256
create a cocos2d-x-3.0 project in Xcode
STEP1: Open Terminal SETP2: Run setup.py SETP3: Run source /Users/your_user/.bash_profile( so that environment variables are actually updated) SETP4: Run cocos new my game -p com.your_company.mygame -l cpp -d /diretory_to_your_game Open Terminal R...
分类:其他好文   时间:2014-06-16 12:22:35    阅读次数:178
nyoj-----284坦克大战(带权值的图搜索)
坦克大战时间限制:1000ms | 内存限制:65535KB难度:3描述Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on com...
分类:其他好文   时间:2014-06-13 08:24:42    阅读次数:221
[leetcode]Jump Game @ Python
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given an array of non-negative integers, you are initially positioned at the first index of the arr...
分类:编程语言   时间:2014-06-12 18:04:54    阅读次数:540
[leetcode]Jump Game II @ Python
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ...
分类:编程语言   时间:2014-06-12 17:38:49    阅读次数:323
poj 2446 Chessboard (二分匹配)
ChessboardTime Limit:2000MSMemory Limit:65536KTotal Submissions:12800Accepted:4000DescriptionAlice and Bob often play games on chessboard. One day, Al...
分类:其他好文   时间:2014-06-10 16:31:11    阅读次数:261
unity game Developemnt in 24 hours 第20章 Audio 声音
声音1. 声音的使用涉及三个概念:()Listener ——监听声音的object,一个场景只能有一个Listener(2)声音源文件(3)声音剪辑clip —— 我理解的是吧源文件放到scene关联object就成为了一个clip2. 声音unity3d支持的格式包括mp3,wav,ogg等3D和...
分类:其他好文   时间:2014-06-10 12:01:30    阅读次数:295
Uva 11489 - Integer Game
Two players, S and T, are playing a game where they make alternate moves. S plays first.  In this game, they start with an integer N. In each move, a player removes one digit from the integer and p...
分类:其他好文   时间:2014-06-10 06:31:29    阅读次数:302
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!