Game_Beta1

mail@pastecode.io avatar
unknown
c_cpp
a year ago
2.4 kB
0
Indexable
Never
//Game-site
//KOSHELEV

#include<stdio.h>
#include<iostream>
#include<cmath>
#include<stdlib.h>
#include<string>
#include<windows.h>
#include<conio.h>
using namespace std;

int main() // главная функция для игры
{

	int biy = 0;

	cout << "Welcome!\n";

	Sleep(1000); //ZzZzZz

	biy = 1;

	cout << "Enter your Nickname\n";

	if (biy == 1) {

		string Nickname; // вводим никнейм для иг909рока

		cin >> Nickname;

		biy = 0;

	}

	Sleep(1000); //ZzZzZz

	cout << "Thank you!\n";

	Sleep(1000); //ZzZzZz

	system("cls");

	for (int i = 0; i < 10; i++) {
		cout << "Interface loading";
		
		cout << ".";

		Sleep(500);

		cout << ".";

		Sleep(500);

		cout << ".";

		Sleep(500);

		system("cls");


	}

	system("cls");

	//НАЧАЛО ИГРЫ
	
	for (int i = 0; i < 50; i++) {
	
		cout << "----";

		Sleep(10);
	}
	
	cout << "\n";

	cout << "controls: arrows\n";

	
	for (int i = 0; i < 50; i++) {

		cout << "----";
		Sleep(10);
	}

	cout << "\n";

	cout << "\n";

	cout << "\n";

	Sleep(2000);

	cout << "Quest: Find the key";

	system("cls");

	//поле

	cout << "**********************************************************************************************************************";
	cout << "*                                                                                                                    *";
	cout << "*   YOU                                                                                                              *";
	cout << "*                                                                                                                    *";
	cout << "*                                                                                                                    *";
	cout << "*                                                                                                                    *";
	cout << "*                                                                                                                    *";
	cout << "*                                                                                                                    *";
	cout << "**********************************************************************************************************************";

	
}