//variable.h 定义该程序用到的全局变量#ifndef _VARIABLE_H#define _VARIABLE_H#define GAME_BOARD_WIDTH 50#define GAME_BOARD_HEIGHT 64#define PIXEL_PER_CUBE_X...
分类:
其他好文 时间:
2014-06-21 08:24:31
阅读次数:
236
微软近期Open的职位:ATG Engineer - GeneralistReady to work on some of the most advanced hardware on the planet and solve mind-bending game development problem...
分类:
其他好文 时间:
2014-06-20 23:50:25
阅读次数:
391
本文是对该教程的学习练习http://www.jb51.net/tools/zhengze.html1.\bContent\bstatic void Main(string[] args){ string str = "Act game - Uncharted3, act Game - God...
分类:
其他好文 时间:
2014-06-19 06:02:58
阅读次数:
200
1006. 求和游戏Description石柱上有一排石头键盘,每个键上有一个整数。请你在键盘上选择两个键,使这两个键及其之间的键上的数字和最大。如果这个最大的和不为正,则输出“Game Over"。Input Format第1行:键的个数n。第2..n+1行:键上的数字整数ai。?100≤ai≤1...
分类:
编程语言 时间:
2014-06-18 00:25:48
阅读次数:
281
Problem DescriptionTeacher HU and his 40 students were trapped by the brigands. To show their power, the head of the brigands want to select one peopl...
分类:
其他好文 时间:
2014-06-17 00:28:32
阅读次数:
362
题目链接:http://poj.org/problem?id=2996
POJ...
分类:
其他好文 时间:
2014-06-15 20:16:37
阅读次数:
253
暴利搜索即可#include #include #include using namespace std;int main(){ int n,k,x; cin >> n >> k >> x; vector c(n); for(int i = 0 ; i > c[i]; ...
分类:
其他好文 时间:
2014-06-14 18:47:42
阅读次数:
206
坦克大战
时间限制:1000 ms | 内存限制:65535 KB
难度:3
描述
Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now.
What we are dis...
分类:
其他好文 时间:
2014-06-14 14:30:01
阅读次数:
274
http://acm.hdu.edu.cn/game/entry/problem/list.php?chapterid=1§ionid=21.2.5
#include
/*
题意:找闰年。
if((i%4==0 && i%100!=0) || i%400==0)count++;
3
2005 25
1855 12
2004 10000
2108
1904
43236
*/
int ma...
分类:
其他好文 时间:
2014-06-14 06:32:08
阅读次数:
320
点击NEW GAME按钮,进入游戏主场景
代码:
游戏背景
layer = (CCLayer*)this->getChildren()->objectAtIndex(SnakeConstants::LAYER_BACKGROUND);
layer->setTouchEnabled(false);
//游戏背景
CCSize size = CCDirector::sh...
分类:
其他好文 时间:
2014-06-13 20:39:00
阅读次数:
371