This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <conio.h> | |
#include <time.h> | |
int main(){ | |
int key, count, count2, rnd1, rnd2, i, j; | |
int w = 0; | |
int ary_x = 0; | |
int ary_y = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<stdio.h> | |
#include<time.h> | |
#include<stdlib.h> | |
#include<conio.h> | |
int main(){ | |
int key = 0; | |
int com = 0; | |
int count = 0; | |
int score1 = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*========================================== | |
タイピングゲーム | |
==========================================*/ | |
#include"stdio.h" | |
#include"stdlib.h" //画面クリア「system("cls")」・乱数発生「rand()」で使用 | |
#include"conio.h" //キー入力の「_getch()」などで使用 | |
#include"time.h" //時間を調べる「time()」を乱数の命令と一緒に使用 | |
void timer(void); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Java; | |
import java.awt.Color; | |
import java.awt.Font; | |
import java.awt.image.BufferedImage; | |
import java.io.File; | |
import javax.imageio.ImageIO; | |
import javax.swing.JFrame; | |
import javax.swing.JLabel; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Java; | |
public class Console { | |
//========================================================================== | |
// 序章を表示します | |
//========================================================================== | |
public static void putJyosyou() | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Java; | |
public class Console | |
{ | |
/** | |
* 序章を表示します | |
*/ | |
public static void putJyosyou() | |
{ | |
put("ギムレーが" + "世界を滅ぼそうとしています。"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Console | |
{ | |
/** | |
* 序章を表示 | |
*/ | |
static void putJyosyou() | |
{ | |
put("邪龍ギムレーが" + "世界を滅ぼそうとしています。"); | |
putStatus(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class part01 | |
{ | |
public static String name = "ルキナ"; //プレイヤー名前 | |
public static int lv = 30; //プレイヤーレベル | |
public static int hp = 30; //プレイヤーのHP | |
public static long gold = 500000000L; //プレイヤーの所持金 | |
public static void main( String[] args) throws java.io.IOException |
NewerOlder