小游戏
我是肖某人
我小时候喜欢打游戏,现在喜欢打卡,毕竟时代变了。C+_+ 521
展开
-
【小游戏】跑酷
【代码】【小游戏】跑酷。原创 2022-10-31 17:12:25 · 319 阅读 · 0 评论 -
【小游戏】跑酷
这个代码的一部分是借鉴某位大佬的,不过还是写的我要吐血了〒▽〒 ______________ ____//__]| | +—————————+ (o _ | -| _ _ | ————————| 给 个 关 注 | `(_)-----'-(_)(_)-' +—————————+哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈原创 2022-06-21 19:17:54 · 198 阅读 · 0 评论 -
【小游戏】跑酷(带天赋)
这个代码的一部分是借鉴某位大佬的,不过还是写的我要吐血了〒▽〒 ______________ _//__]| | +—————————+ (o _ | -| _ _ | ————————| 给 个 关 注 | `()-----’-()()-’ +—————————+ #include<bits/stdc++.h> #in原创 2022-02-08 12:17:39 · 329 阅读 · 0 评论 -
【小游戏】俄罗斯方块
不知道大家有没有玩过俄罗斯方块?没玩过的看简介,玩过的看代码 #include <stdio.h> #include <conio.h> #include <time.h> #include <windows.h> #define ZL 4 //坐标增量, 不使游戏窗口靠边 #define W 36 //游戏窗口的宽度 #define H 20 //游戏窗口的高度 int i,j,Ta,Tb,Tc; // Ta,原创 2022-01-26 09:45:27 · 218 阅读 · 0 评论 -
[双人小游戏]岩浆逃生
可以两个人共用一个键盘:p1 w,a,s,d p2 ↑,↓,←,→ 加油吧!骚年!^_^ 代码如下: #include <windows.h> #include <conio.h> #include <bits/stdc++.h> struct player{ int x; int y; int ice_time; int wrong_time; int mine; bool life; }a[5]; ...原创 2022-01-14 15:38:37 · 1713 阅读 · 0 评论 -
【小游戏】Flappy bird
Flappy bird 这么简单大家应该都会,不多说了,上代码!!! #include<stdio.h> #include<stdlib.h> #include<conio.h> #include<windows.h> int high, width;//windows int bird_x, bird_y; // bird position int bar_y, bar_minx, bar_maxx; // bar position int sc.原创 2022-01-13 20:56:35 · 2348 阅读 · 0 评论 -
【小游戏】飞机大战
用了这么久CSDN,才知道有个添加代码段…… 废话不多说,上代码!!! #include<iostream> #include<windows.h> #include<conio.h> #include<time.h> #include<string> using namespace std; /*=============== all the structures ===============*/ typedef struc.原创 2022-01-13 20:50:08 · 61 阅读 · 0 评论 -
【小游戏】RPG打怪重置版(免费)
我打赌输了,我朋友说我的博客阅读量一天肯定能到1000,我说不可能,他跟我打赌他赢了我重做一个游戏,我赢了他给我100块,结果…>_< 当然,没白做,优化了一些BUG #include <iostream> using namespace std; double shengmingli=2000;//定义主角初始生命力 int gongjili=150;//定义主角初始攻击力 int fangyuli=200;//定义主角初始防御力 int money=20;//定义主...原创 2022-01-03 13:28:19 · 144 阅读 · 0 评论 -
【小游戏】推箱子
不知道大家小时候有没有玩过推箱子的游戏呀?今天就给大家带来了推箱子的代码^_^ #include <bits/stdc++.h> #include <windows.h> #include <conio.h> using namespace std; #define VERSION "2.2" #define M 55 int n, m, wall[M][M], hole[M][M], box[M][M]; int step, dct, query, cross, rx原创 2022-01-03 13:16:42 · 140 阅读 · 0 评论 -
【小游戏】超级迷宫重置版(免费)
有小伙伴说【超级迷宫】有BUG,所以重做了^_^ #include<bits/stdc++.h> #include<conio.h> #include<windows.h> using namespace std; void Color(int a) { if(a==0) SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),FOREGROUND_INTENSITY|FOREGROUND_RED|FOR...原创 2022-01-03 13:13:19 · 122 阅读 · 0 评论 -
【小游戏】超细腻猜数
没什么想说的希望大家能喜欢 废话不多数!上代码! #include<stdio.h>#include<time.h>#include<stdlib.h>#include<conio.h>#include<windows.h> //下面Sleep()函数的头文件#include<mmsystem.h>void menu(){ printf(" *****************************\n"); ...转载 2022-01-01 19:08:47 · 1441 阅读 · 0 评论 -
【小游戏】小迷宫
超级迷宫的试玩版来辣^_^,心动的小伙伴可以下一个【超级迷宫】支持一下作者 废话不多说!上代码! #include <iostream> #include <windows.h> #include <conio.h> using namespace std; void print(char a[10][10]){ system("cls"); for(int i=0;i<5;i++) cout<<a[i]<<...原创 2022-01-01 18:54:36 · 1526 阅读 · 1 评论 -
【有贴图的小游戏】flappy bird(Python)
这个只是代码,请搜素“flappy bird附属包”下载后把代码和附属包放入一个文件夹,即可正常运行 from Walimaker import* import random#随机数模块 setup(288,512) bgpic('./Flappy Bird/bg_day.png') land1=Character('./Flappy Bird/land.png') land2=Character('./Flappy Bird/land.png') land2.y=-240 land1.y=-240 l原创 2021-12-26 10:28:05 · 1733 阅读 · 1 评论 -
[小游戏] 免费的无BUG可选难度的贪吃蛇
做了一个贪吃蛇小游戏(亲测,无BUG)希望完的开心^_^ #include <windows.h> #include <stdlib.h> #include <conio.h> #include <time.h> #include <cstring> #include <cstdio> #include <iostream> #define N 22 using namespace std; int gam...原创 2021-12-19 09:37:02 · 100 阅读 · 0 评论