资源简介
读了别人写的,没看懂。看了一个swift的2048开发,自己能力没有看懂,相信也有同学和我一样,自己就试着用自己的思想写了一套纯oc开发的2048,(时间较紧,写得还很粗糙,还有缺憾,望见谅)供大家借鉴,交流,提前祝大家新年快乐~~!!
代码片段和文件信息
//
// AppDelegate.m
// Game2048
//
// Created by CSX on 2017/1/12.
// Copyright © 2017年 宗盛商业. All rights reserved.
//
#import “AppDelegate.h“
#import “ViewController.h“
@interface AppDelegate ()
@end
@implementation AppDelegate
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
UIStoryboard *main = [UIStoryboard storyboardWithName:@“Main“ bundle:nil];
UIViewController *viewVC = [main instantiateInitialViewController];
UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:viewVC];
self.window.rootViewController = nav;
return YES;
}
- (void)applicationWillResignActive:(UIApplication *)application {
// Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
// Use this method to pause ongoing tasks disable timers and invalidate graphics rendering callbacks. Games should use this method to pause the game.
}
- (void)applicationDidEnterBackground:(UIApplication *)application {
// Use this method to release shared resources save user data invalidate timers and store enough application state information to restore your application to its current state in case it is terminated later.
// If your application supports background execution this method is called instead of applicationWillTerminate: when the user quits.
}
- (void)applicationWillEnterForeground:(UIApplication *)application {
// Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
}
- (void)applicationDidBecomeActive:(UIApplication *)application {
// Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background optionally refresh the user interface.
}
- (void)applicationWillTerminate:(UIApplication *)application {
// Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
}
@end
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-01-12 17:58 Game2048\
文件 6148 2017-01-16 17:41 Game2048\.DS_Store
目录 0 2017-01-16 17:43 __MACOSX\
目录 0 2017-01-16 17:43 __MACOSX\Game2048\
文件 120 2017-01-16 17:41 __MACOSX\Game2048\._.DS_Store
目录 0 2017-01-16 17:29 Game2048\.git\
文件 15 2017-01-12 17:52 Game2048\.git\COMMIT_EDITMSG
文件 137 2017-01-12 17:52 Game2048\.git\config
文件 73 2017-01-12 17:52 Game2048\.git\desc
文件 23 2017-01-12 17:52 Game2048\.git\HEAD
目录 0 2017-01-12 17:52 Game2048\.git\hooks\
文件 177 2017-01-12 17:52 Game2048\.git\hooks\README.sample
文件 3565 2017-01-16 17:29 Game2048\.git\index
目录 0 2017-01-12 17:52 Game2048\.git\info\
文件 40 2017-01-12 17:52 Game2048\.git\info\exclude
目录 0 2017-01-16 17:43 __MACOSX\Game2048\.git\
目录 0 2017-01-16 17:43 __MACOSX\Game2048\.git\info\
文件 171 2017-01-12 17:52 __MACOSX\Game2048\.git\info\._exclude
目录 0 2017-01-12 17:52 Game2048\.git\logs\
文件 165 2017-01-12 17:52 Game2048\.git\logs\HEAD
目录 0 2017-01-12 17:52 Game2048\.git\logs\refs\
目录 0 2017-01-12 17:52 Game2048\.git\logs\refs\heads\
文件 165 2017-01-12 17:52 Game2048\.git\logs\refs\heads\master
目录 0 2017-01-16 17:29 Game2048\.git\ob
目录 0 2017-01-12 17:52 Game2048\.git\ob
文件 68 2017-01-12 17:52 Game2048\.git\ob
目录 0 2017-01-12 17:52 Game2048\.git\ob
文件 3684 2017-01-12 17:52 Game2048\.git\ob
目录 0 2017-01-12 18:01 Game2048\.git\ob
文件 177 2017-01-12 18:01 Game2048\.git\ob
目录 0 2017-01-12 17:59 Game2048\.git\ob
............此处省略173个文件信息
相关资源
- Qt扫雷游戏源码
- Qt版贪吃蛇游戏源码
- 纵横四海文字游戏源码.rar
- flash as3 五子棋游戏源码
- 大富豪游戏源码 可编译运行,服务端
- iOS版2048小游戏源码
- JS拼图游戏源码
- LabView编的打地鼠小游戏源码
- cocos creator的2048游戏源码
- Qt拼图游戏源码
- 超级玛丽游戏C源码 完整源程序
- cocos-js小游戏2048游戏源码以及素材
- 大富豪游戏源码
- Qt实现的连连看游戏源码
- 塔防游戏源码
- 一个漂亮的打地鼠游戏源码
- 基于Qt的坦克大战游戏源码
- 坦克大战游戏源码素材文档.zip
- 大鱼吃小鱼游戏源码
- as3.0 游戏源码——咋苹果,推箱子
- flash游戏中控制角色移动的源代码
- 叠方块游戏源码2012929
- unity3d 类似LOL的游戏源码
- 魔方游戏源码
- appinventor小游戏源码
- Flash打靶游戏源码.rar
- cocos2d-x3.2跑酷游戏源码
- unity极限野外生存游戏源码Ultimate Su
- as3.0小球游戏源码
- 接金币flash游戏源码
评论
共有 条评论