
C++游戏
好玩的游戏,全是C++做的。想多一篇就多关注一下
imX2G
I love c++ ,X2G!
展开
-
走迷宫7.0
终于可以运行并且不出bug了,之前的第三关不知道咋回事过不去,干脆把它删了。还有两个尖刺我弄反了,现在bug全修复!原创 2022-07-01 18:59:08 · 338 阅读 · 7 评论 -
小镇游戏C佳佳
#include<iostream>#include<windows.h>#include<conio.h>#include<unistd.h>#include<cstdlib>#include<time.h>#include<cmath> #include<fstream>#include<bits/stdc++.h>#include<cstdio>#include.原创 2022-06-29 11:37:04 · 2473 阅读 · 2 评论 -
走迷宫C++修改bug6.1
bug已修复原创 2022-06-12 10:23:19 · 172 阅读 · 0 评论 -
小镇经营游戏C++实现
好玩的游戏原创 2022-04-30 08:05:26 · 1853 阅读 · 3 评论 -
只有七关的跑酷C++实现
嗨皮时间到!.原创 2022-04-09 20:35:22 · 207 阅读 · 5 评论 -
打砖块C++
happy游戏原创 2022-03-20 16:15:58 · 417 阅读 · 0 评论 -
C++走迷宫(免费复制)6.0
好玩的走迷宫游戏原创 2022-03-18 21:21:35 · 641 阅读 · 1 评论 -
有趣C++生存游戏
#include #include using namespace std; int choice; int a=0,b=0,c=0,d=0; int user_input; void S(int Color) { HANDLE hCon=GetStdHandle(STD_OUTPUT_HANDLE); SetConsoleTextAttribute(hCon,Color); } void wait() { Sleep(100); user_input=getchar(); } void cls() ...原创 2022-03-13 23:22:35 · 833 阅读 · 5 评论 -
游戏开始设置(2.0及3.0)
加了许多哦,重要的是增加了密码哦~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~正题开始!!#inclu原创 2022-03-12 17:09:28 · 5796 阅读 · 0 评论 -
走迷宫C++版本5.0
1.0.0版本,大家的点赞、关注是我写游戏的动力原创 2022-03-11 21:31:28 · 157 阅读 · 0 评论 -
勇者打恶龙
#include <bits/stdc++.h>#include <windows.h>#include <time.h>#include <iostream>#include <conio.h>#include <string>#include <stdio.h>using std::cout;using std::string;using namespace std; long long zhuj.原创 2022-03-09 21:41:26 · 214 阅读 · 0 评论 -
跑酷游戏C++实现
额……代码有点挤,请不要在乎转载 2022-04-09 20:31:24 · 2829 阅读 · 1 评论 -
飞机大战C++
#include<iostream>#include<windows.h>#include<conio.h>#include<time.h>#include<string>using namespace std; /*=============== all the structures ===============*/ typedef struct Frame{ COORD position[2]; int flag;.原创 2022-02-26 13:11:45 · 152 阅读 · 0 评论 -
五子棋C++
#include<iostream>#include<time.h> #include<stdlib.h> using namespace std; const int N = 15;//棋盘大小const char ChessBoardFlag = ' ';const char flag1 = 'O';const char flag2 = 'X'; typedef struct Coordinate{ int x; int y.原创 2022-02-26 13:07:21 · 493 阅读 · 0 评论 -
吃豆人C++实现
#include <stdio.h>#include <iostream>#include <time.h>#include <conio.h>#include <windows.h> #include <stdlib.h> #include <string.h> using namespace std; const int n = 809; struct Point {.原创 2022-02-26 13:00:39 · 2631 阅读 · 0 评论 -
俄罗斯方块游戏C++实现
#include <iostream>#include <string>#include <ctime>#include <cstdlib>#include <windows.h>#include <conio.h> using namespace std; int block00[4][4] = { { 10, 0, 0, 0 }, { 1, 1, 1, 1 }, { 0, 0, 0, 0 }, { 0, 0, 0.原创 2022-02-26 13:02:31 · 247 阅读 · 0 评论 -
坦克大战C++版
#include <stdio.h> #include <windows.h> #include <time.h> //里规格:长39*2=78 (真坐标)(假坐标宽为39) 高39 //外规格:长41*2=82 (真坐标)(假坐标宽为41) 高41 #define UP 1 #define DOWN 2 #define .原创 2022-02-26 12:58:15 · 332 阅读 · 0 评论 -
冒险游戏C++
#include<ctime>#include<cmath>#include<cstdio>#include<cstring>#include<iostream>#include<algorithm>#define in(a) scanf("%d",&a)using namespace std;int lvneed[201],turns=0,monster_list[11][4];double growth[.原创 2022-02-23 17:25:42 · 2852 阅读 · 1 评论 -
冒险游戏C++(转载)
//如果你编译报错,请点击工具-编译选项-勾选编译时加入以下命令,在下面的框中输入:-std=c++11,确定即可#include <iostream>#include <string>#include <windows.h>#include <conio.h>#include <fstream>#include <ctime>#include <time.h>#include <stdio.h>原创 2022-02-21 16:27:28 · 1361 阅读 · 4 评论 -
超级玛丽C++游戏
超级玛丽转载 2022-02-20 14:33:30 · 5026 阅读 · 4 评论 -
又修改了,4.1上线,死地写着写着不见了正确的在本文
#include<bits/stdc++.h>#include<windows.h>#include<conio.h>using namespace std;long long s=1,shengming=20,bushu=0,leiren,lx1,ly1,lx,ly;const long long n=59,jg=25,dengji=0;bool yaoshi=0,leiren2;string p=" M!|=.123456789%&_~£Win"原创 2022-02-19 17:06:00 · 122 阅读 · 0 评论 -
走迷宫升级版来咯(4.0)
全新走迷宫来咯!界面炫酷了很多,虽然有点小瑕疵,但总体蛮好的,目前更新到了11关原创 2022-02-19 10:32:35 · 374 阅读 · 0 评论 -
游戏炫酷炫酷炫酷界面C++
炫酷炫酷炫酷!!!原创 2022-02-19 10:27:40 · 869 阅读 · 0 评论 -
3.1正式版
又加了许多,更新了一张地图,修改了一堆bug:#include<bits/stdc++.h>#include<windows.h>#include<conio.h>using namespace std;long long s=1,shengming=20,bushu=0;const long long n=60,jg=25;bool yaoshi=0;string p=" M!|=.123456789%&_~";long long r=1;原创 2022-02-17 15:44:39 · 163 阅读 · 0 评论 -
C++游戏开始设置(1.0)
#include<bits/stdc++.h>#include<windows.h>#include<conio.h>using namespace std;void happyprint(long long a,char b[10000000]){ int i=0; while(a!=0){ if(a!=0) { SetConsoleTextAttribute(GetStdHandle(S.原创 2022-02-17 15:34:45 · 1398 阅读 · 0 评论 -
C++走迷宫3.0
增加了许多。#include<bits/stdc++.h>#include<windows.h>#include<conio.h>using namespace std;long long s=1,shengming=20,bushu=0;const long long n=60,jg=25;bool yaoshi=0;string p=" M!|-=.123456789%&_~";long long r=1;char f='y';void原创 2022-02-17 01:01:33 · 401 阅读 · 0 评论 -
走迷宫2.1版本
感谢饼干,我更新了一张地图。#include<bits/stdc++.h>#include<windows.h>#include<conio.h>using namespace std;const long long n=29,jg=25;string p=" *!|-=.<^>1234567890@$%?&_~";long long r=1;char f='y';void print(string a[n]){ sys原创 2022-02-16 15:29:48 · 163 阅读 · 0 评论 -
战争游戏C++
话不多说,上代码!!!#include<iostream>#include<cstdio>#include<cstdlib>#include<cstring>#include<windows.h>#include<conio.h>#include<time.h>#define UP 72#define DOWN 80#define LEFT 75#define RIGHT 77using name原创 2022-02-15 11:04:57 · 2040 阅读 · 0 评论 -
C++无敌迷宫
密室逃脱原创 2022-02-10 15:43:39 · 165 阅读 · 0 评论 -
C++制作蛇蛇战斗
贪吃蛇,冲鸭!!!原创 2022-02-05 16:31:34 · 202 阅读 · 0 评论 -
我的世界文字版MC终极版震撼上线
最终版MC我的世界文字版原创 2022-02-01 15:07:36 · 932 阅读 · 10 评论 -
MC(3.0)
增加了末影人,下界。原创 2022-01-31 21:51:44 · 205 阅读 · 0 评论 -
MC(2.0)
可以造船了,还可以探索。原创 2022-01-31 18:16:55 · 267 阅读 · 0 评论 -
MC1.1上线
又改了亿些,#include<bits/stdc++.h>#include<time.h>#include<conio.h>#include<Windows.h>using namespace std;string name,gname,wqm="手",hjm="空";long long gly,hjnx=-1,hjz=0,pg=0,s=20,dygdj,dygnj,ssx,csg=1,wq=0,ms,gjz=csg+wq,原创 2022-01-31 10:45:56 · 152 阅读 · 0 评论 -
c++游戏MC(1.0版本)
原作者是Alan Walkers我改了一些作者没写完的。原创 2022-01-30 21:59:10 · 1424 阅读 · 2 评论