小游戏源代码
@延裕3530:给我提供个小游戏的C 语言代码 -
甘泥19360473351…… 本原代码是基于C语言的原程序.是经典中的小游戏.-primitive code is based on the C language of the original procedure. Classic is a small game. 一个小游戏,用C语言编写的:俄罗斯方块.C原码及应用程序都在里面哦 -a small game using the...
@延裕3530:求java小游戏源代码 -
甘泥19360473351…… 连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPanel; //子面板 ...
@延裕3530:求助,用C语言做一个小游戏(不要太复杂),最最最基础的C语言就可以,并赋予代码,谢谢! -
甘泥19360473351…… 猜数字 超简单 去掉说明文字,也就十几行 简单说明见注释#include <stdio.h>#include <stdlib.h>#include<time.h> int main() { int i; int a; int t; printf("欢迎玩猜数字小游戏!\n"); printf("玩法介绍:\n"); printf("每次游戏会设置一个数...
@延裕3530:求一个简单又有趣的JAVA小游戏代码 -
甘泥19360473351…… 那你就自己做个猜数字好了 import java.util.*; import java.io.*; public class CaiShu{ public static void main(String[] args) throws IOException{ Random a=new Random(); int num=a.nextInt(100); System.out.println("请输入一个100以内的整数:")...
@延裕3530:游戏源代码 -
甘泥19360473351…… 以下是转贴的 1.黑白棋: 游戏规则:自己的3个子连成一线就胜利了.可选择对手:电脑或者游戏者. 添加代码: 2.生存游戏: 游戏规则:不能让红色方块碰到小白点.空间会越来越小,需要反应敏捷动作灵敏. 添加代码: 3.乒乓球: 游戏规则:用球拍挡球,不要让小球掉下去就好啦. 添加代码: 4.空间大战: 游戏规则:按住鼠标发射子弹射击敌方小飞机,同时要注意躲开敌方子弹.敌方全灭就可以进入下一关.有最高分前10名的排行榜. 添加代码:
@延裕3530:求一份400行小游戏代码 -
甘泥19360473351…… 一个简单的猜数字的游戏.#include <stdio.h>#include <stdlib.h>#include <math.h>#include <windows.h> int main(void) { int RandomNum, InputNum, PassScore, count = 0;//随机数生成 srand(GetTickCount()); RandomNum = rand() % 101;//游...
@延裕3530:vb小游戏源代码 -
甘泥19360473351…… Dim pFist, cFist, cCount, pCount, dCount, tCount As Integer Private Sub Form_Load() cCount = 0 pCount = 0 dCount = 0 tCount = 1 lblPWinNum.Caption = "" lblPWinNum.Caption = lblPWinNum.Caption & pCount lblCWinNum.Caption = "" ...
@延裕3530:能不能用C语言编个小游戏,代码在三百行左右? -
甘泥19360473351…… 打字游戏#include<stdio.h>#include<time.h> char *kw[]={"Q W E R T Y U I O P [ ]","A S D F G H J K L ; '","Z X C V B N M , . / "}; long AllCounter=0,RightCounter=0,WrongCounter=0; main() { int i,j; int fun_Esc(); clrscr(); gotoxy(18,1); printf(...
@延裕3530:win - tc小游戏代码 简单点的 急用 -
甘泥19360473351…… #include<graphics.h> #include<stdlib.h> #include<dos.h> #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 #define UP 0x4800 #define ESC 0x011b int i,key; int score=0; int gamespeed=32000; struct Food { int x; int y; int yes; }...
@延裕3530:求一个VB 小游戏代码 越简单越好谁帮忙写一个 网站上复制的不要 -
甘泥19360473351…… Private Sub Form_Click() Dim p As POINTAPI Dim Px As Integer Dim Py As Integer Call GetCursorPos(p) Px = CInt(ScaleWidth * Rnd) Py = CInt(ScaleHeight * Rnd) If Px + 500 > ScaleWidth Then Px = Px - 550 ElseIf Px - 500 < 0 Then Px = Px + ...
甘泥19360473351…… 本原代码是基于C语言的原程序.是经典中的小游戏.-primitive code is based on the C language of the original procedure. Classic is a small game. 一个小游戏,用C语言编写的:俄罗斯方块.C原码及应用程序都在里面哦 -a small game using the...
@延裕3530:求java小游戏源代码 -
甘泥19360473351…… 连连看java源代码 import javax.swing.*; import java.awt.*; import java.awt.event.*; public class lianliankan implements ActionListener { JFrame mainFrame; //主面板 Container thisContainer; JPanel centerPanel,southPanel,northPanel; //子面板 ...
@延裕3530:求助,用C语言做一个小游戏(不要太复杂),最最最基础的C语言就可以,并赋予代码,谢谢! -
甘泥19360473351…… 猜数字 超简单 去掉说明文字,也就十几行 简单说明见注释#include <stdio.h>#include <stdlib.h>#include<time.h> int main() { int i; int a; int t; printf("欢迎玩猜数字小游戏!\n"); printf("玩法介绍:\n"); printf("每次游戏会设置一个数...
@延裕3530:求一个简单又有趣的JAVA小游戏代码 -
甘泥19360473351…… 那你就自己做个猜数字好了 import java.util.*; import java.io.*; public class CaiShu{ public static void main(String[] args) throws IOException{ Random a=new Random(); int num=a.nextInt(100); System.out.println("请输入一个100以内的整数:")...
@延裕3530:游戏源代码 -
甘泥19360473351…… 以下是转贴的 1.黑白棋: 游戏规则:自己的3个子连成一线就胜利了.可选择对手:电脑或者游戏者. 添加代码: 2.生存游戏: 游戏规则:不能让红色方块碰到小白点.空间会越来越小,需要反应敏捷动作灵敏. 添加代码: 3.乒乓球: 游戏规则:用球拍挡球,不要让小球掉下去就好啦. 添加代码: 4.空间大战: 游戏规则:按住鼠标发射子弹射击敌方小飞机,同时要注意躲开敌方子弹.敌方全灭就可以进入下一关.有最高分前10名的排行榜. 添加代码:
@延裕3530:求一份400行小游戏代码 -
甘泥19360473351…… 一个简单的猜数字的游戏.#include <stdio.h>#include <stdlib.h>#include <math.h>#include <windows.h> int main(void) { int RandomNum, InputNum, PassScore, count = 0;//随机数生成 srand(GetTickCount()); RandomNum = rand() % 101;//游...
@延裕3530:vb小游戏源代码 -
甘泥19360473351…… Dim pFist, cFist, cCount, pCount, dCount, tCount As Integer Private Sub Form_Load() cCount = 0 pCount = 0 dCount = 0 tCount = 1 lblPWinNum.Caption = "" lblPWinNum.Caption = lblPWinNum.Caption & pCount lblCWinNum.Caption = "" ...
@延裕3530:能不能用C语言编个小游戏,代码在三百行左右? -
甘泥19360473351…… 打字游戏#include<stdio.h>#include<time.h> char *kw[]={"Q W E R T Y U I O P [ ]","A S D F G H J K L ; '","Z X C V B N M , . / "}; long AllCounter=0,RightCounter=0,WrongCounter=0; main() { int i,j; int fun_Esc(); clrscr(); gotoxy(18,1); printf(...
@延裕3530:win - tc小游戏代码 简单点的 急用 -
甘泥19360473351…… #include<graphics.h> #include<stdlib.h> #include<dos.h> #define LEFT 0x4b00 #define RIGHT 0x4d00 #define DOWN 0x5000 #define UP 0x4800 #define ESC 0x011b int i,key; int score=0; int gamespeed=32000; struct Food { int x; int y; int yes; }...
@延裕3530:求一个VB 小游戏代码 越简单越好谁帮忙写一个 网站上复制的不要 -
甘泥19360473351…… Private Sub Form_Click() Dim p As POINTAPI Dim Px As Integer Dim Py As Integer Call GetCursorPos(p) Px = CInt(ScaleWidth * Rnd) Py = CInt(ScaleHeight * Rnd) If Px + 500 > ScaleWidth Then Px = Px - 550 ElseIf Px - 500 < 0 Then Px = Px + ...