首页 > TAG信息列表 > zidan

C++飞机大战新手练习

#include #include<graphics.h> #define X 700 #define Y 650 #define ZX 5 #define ZY 30 #define FX 60 #define FY 60 #define ZHIDAN 30 #define DIREN 30 DWORD t1, t2, w1, w2; bool GameOver = true; struct image{ IMAGE data; IMAGE user; IMAGE zidan; IMAGE

坦克大战雏形

```c #include<stdlib.h> #include<stdio.h> #include<windows.h> #include<conio.h> #define WIDTH 128 #define HEIGHT 32//地图大小 #define UP 1//子弹方向 #define BUTTOM 2//子弹方向 #define RIGHT 3//子弹方向 #define LEFT 4//子弹方向 char map[HEIGHT][WIDTH+3

boren -飞机大战8

import pygame import sys import random # 产生随机数 import time # back 返回,后面 # ground 地面 # 哪一行代码确定战机的位置,27行,用坐标确定战机位置 # 飞机的类 # 飞机名字, 飞机的位置,窗口,图片 class feiji(): def __init__(self, ck): self.name = "hero

boren -飞机大战7

import pygame import sys import random # 产生随机数 # back 返回,后面 # ground 地面 # 哪一行代码确定战机的位置,27行,用坐标确定战机位置 # 飞机的类 # 飞机名字, 飞机的位置,窗口,图片 class feiji(): def __init__(self, ck): self.name = "hero" s

boren -飞机大战5

import pygame import sys # back 返回,后面 # ground 地面 # 哪一行代码确定战机的位置,27行,用坐标确定战机位置 # 飞机的类 # 飞机名字, 飞机的位置,窗口,图片 class feiji(): def __init__(self, ck): self.name = "hero" self.x = 200 self.y