搜索资源列表
wuziqi
- 五子棋小游戏#include<stdlib.h> #include<time.h> #include<stdio.h> #include<conio.h> int chess[169]={0} /*棋盘*/ struct chess_t/*作为辅助,即是作为建意*/ { char attack /*攻防用的,0表示守,1表示攻*/ int j /*作为优先级用*/ }chess_a[169]
sword
- VC++游戏圣剑英雄传2双刃剑源程序+开发文档。调试时候需要先安装Direct 8.0以上的SDK,否则在编译时会提示找不到DDRAW.h文件。并在开发环境下设置好路径。-VC++ game SAYYAF Heroes 2 source+ the development of the document double-edged sword. The time required to debug Direct 8.0 or above installed SDK, or at compile ti
sanguosha-3-2
- 控制台三国杀的说明 这个程序耗费了我三四个星期的时间与精力,不过做的很粗糙,没有实现三国杀的全部功能。 现在这个版本,实现的功能是两个武将一对一,玩家开始时控制A武将,由电脑接管B武将来响应A的出牌;A武将回合 结束后,玩家控制B武将,由电脑接管A武将响应B武将出牌。(不要喷我哦~现在没实现AI控制主动出牌~)如此循环往复,直 到一名武将阵亡,游戏宣告结束。 这个程序使用三国杀标准包,一共104张牌。实现了杀、闪、桃、乐不思蜀、闪电、无中生有、南
vit_run
- To calculate the speed of champion-run rabbits. You give distance in meters and time in 1/1000 seconds and the prog calculate speed in km/h. Interresting ... Tof -To calculate the speed of champion-run rabbits. You give distance in meters and time
namefight
- 以前自己编的一个小游戏,输入姓名然后可以对战,可以自娱自乐一下-#include <stdlib.h> #include <time.h> #include <windows.h> #define S Sleep(1000) #define P printf char name1[20],name2[20] int k1,k2,i,t1,t2,sxq int x1=100,x2=100,pow1,pow2,spe1,spe2
eluosifangkuai
- 俄罗斯方块 。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。 #include <iostream> #include <stdlib.h> #include <windows.h> #include <time.h> #include <conio.h> using namespace std #define A1 0//A代表长条型,B为方块,C为L型,D为
