码迷,mamicode.com
首页 >  
搜索关键字:motion sensing game    ( 5950个结果
POJ 2311. Cutting Game
"Link" 题意: 给定一张 $N M(2 \le n,m \le 200)$ 的矩形网格纸,两名玩家轮流行动。 在每一次行动中,可以任选一张矩形网格纸,沿着某一行或某一列的格线,把它剪成两部分。 首先剪出 $1 1$ 的格纸的玩家获胜。 两名玩家都采取最优策略行动,求先手是否能获胜。 思路: 得 ...
分类:其他好文   时间:2020-03-21 10:03:35    阅读次数:48
二级联动
HTML:<span id="lab_game"></span> JS: $(document).ready(function () { var xselect = '' var nselect = '' $.ajax({ type: "post", url: "__ROOT__/area/getA ...
分类:其他好文   时间:2020-03-20 13:00:33    阅读次数:52
Ruby中类的静态方法与继承
class Game def initialize(id,title,price) @id=id @title=title @price=price end def showGame puts @id+" "+@title+","+@price._to_s end def self.toStr pu ...
分类:其他好文   时间:2020-03-19 15:07:15    阅读次数:72
PTA 7-2 猜数字游戏 (15分)
#include<stdio.h>intmain(){inta,b,n;inti=1;scanf("%d%d",&a,&n);while(scanf("%d",&b)){if(b<0&&i<n){printf("GameOver");return0;}if(b<a){printf("Toosmall\n");i++;}if(b&
分类:其他好文   时间:2020-03-19 09:26:57    阅读次数:199
使用EasyX和C++写一个消砖块游戏
第一次玩EasyX,写一个比较简单的消砖块游戏。 主函数包括Game的类的开始,运行和结束。 #include "BrickElimination.h" int main() { GameBrickElimination NewGame; NewGame.game_start(); NewGame. ...
分类:编程语言   时间:2020-03-18 23:44:50    阅读次数:82
Gym102431G Game on the Tree
结论:后手必胜当且仅当根节点为直径中点。 根节点为直径中点: 如果两人都在直径上移动,那么不论先手如何移动,后手总能移动到对称的位置。 如果先手移出了直径,设这一点与根节点的距离为$x$,那么后手仍然回到直径上距离根节点$x$的点。 其它的情况先手只需移动至直径中点(当直径中点在边上时移动至该边的一 ...
分类:其他好文   时间:2020-03-15 16:27:10    阅读次数:65
C - Perform the Combo
You want to perform the combo on your opponent in one popular fighting game. The combo is the string ss consisting of nn lowercase Latin letters. To p ...
分类:其他好文   时间:2020-03-13 19:02:07    阅读次数:72
下载别人的3D模型文件
下面是我找的资源 https://wow.techbrood.com/uploads/160601/obj/banana.obj https://threejs.org/examples/models/obj/male02/male02.obj http://game.gtimg.cn/images ...
分类:其他好文   时间:2020-03-09 22:40:25    阅读次数:84
button
public class button : MonoBehaviour { public GameObject obj;//声明Text游戏对象 private int counter = 1;//声明计数器连良 void Update() { if (counter % 2 == 0)//当计数器 ...
分类:其他好文   时间:2020-03-09 20:55:19    阅读次数:51
Python实现寻宝小游戏
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Treasure Hunter In this game, you will play as a treasure hunter to find a mysterious treasure. In ...
分类:编程语言   时间:2020-03-08 20:18:44    阅读次数:84
5950条   上一页 1 ... 23 24 25 26 27 ... 595 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!