码迷,mamicode.com
首页 >  
搜索关键字:game    ( 5568个结果
HDU-6036 Division Game(ntt模板)
题面 Description There are $k$ piles of stones in a circle, numbered from $0$ to $k 1$, where the number of the stones in each pile is $n$ initially. Yo ...
分类:其他好文   时间:2020-01-30 14:09:07    阅读次数:88
LeetCode 464 - Can I Win - Medium (Python)
In the "100 game," two players take turns adding, to a running total, any integer from 1..10. The player who first causes the running total to reach o ...
分类:编程语言   时间:2020-01-29 10:50:52    阅读次数:93
Egret学习-坦克大战开发(二)
现在开始写具体实现代码 1.加载TiledMap 1 /** 2 * 创建游戏场景 3 * Create a game scene 4 */ 5 private createGameScene() { 6 let sky = this.createBitmapByName("bg_jpg"); 7 ...
分类:其他好文   时间:2020-01-28 23:26:13    阅读次数:82
ZJNU 2212 - Turn-based game
Mr.Lee每隔1/x s攻击一次,cpu每隔1/y s攻击一次 因为时间与答案无关,最后只看boss受到了多少次攻击 所以可以在每个人的频率上同时乘以xy 即Mr.Lee每隔y s攻击一次,cpu每隔x s攻击一次 这样看虽然时间延长但是结果不变 就可以二分查找出打败boss用时,最后再根据时间判 ...
分类:其他好文   时间:2020-01-28 20:50:33    阅读次数:84
LeetCode 174. Dungeon Game(DP)
"题目" 题意:每个格子里都有数字,负数代表你会少血,正数代表你会加血,当你的血量为0的时候就死了,从左上角出发,到右下角,问你一开始最少的血量是多少。整个过程中不能有血量为0的情况。 题解:只能走下或者走右。这种有向无环图,八成都是动态规划。但是如果从左上角开始规划,有很多情况要考虑。从右下角开始 ...
分类:其他好文   时间:2020-01-27 17:32:36    阅读次数:49
用Python玩微信跳一跳详细使用教程
github地址:https://github.com/wangshub/wechat_jump_game 工具介绍 Python 3 Android 手机 Adb 驱动 Python Matplot绘图 python3安装 安装pip 安装依赖包 在github地址将源码下载下来解压后,使用cd命 ...
分类:微信   时间:2020-01-26 20:58:24    阅读次数:139
Python流程控制
条件语句if....else... 1 temp=input("please input one number:") 2 guest=int(temp) 3 if guest==8: 4 print("You are lucky!") 5 print("But no prize!") 6 else: ...
分类:编程语言   时间:2020-01-26 14:38:58    阅读次数:99
Egret学习-TiledMap使用
环境说明: 引擎版本:5.2.4 Egret Wing 4.1.6 1.下载依赖,下载地址https://github.com/egret-labs/egret-game-library/tree/master/tiled 2.新建一个游戏项目Tank 3.将上面包含tiled库的libsrc文件夹 ...
分类:其他好文   时间:2020-01-26 11:43:44    阅读次数:345
C# 控制台应用 实现 2048游戏
C# 控制台应用 实现 2048游戏 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Game ...
分类:Windows程序   时间:2020-01-24 15:51:31    阅读次数:122
Codeforces Round #614 (Div. 2) C - NEKO's Maze Game
题目链接:http://codeforces.com/contest/1293/problem/C 题目:给定一个 2*n的地图,初始地图没有岩浆,都可以走, 给定q个询问,每个询问给定一个点(x,y),每个询问有以下作用: (1)如果该点可走,则变为不可走 (2)如果该点不可走,则变为可走 问,每 ...
分类:其他好文   时间:2020-01-24 09:12:45    阅读次数:56
5568条   上一页 1 ... 28 29 30 31 32 ... 557 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!