SlideShare a Scribd company logo
1 of 17
#include <iostream>
#include <windows.h>
#include <string>
using namespace std;
int main()
{
int zambet = 1, nivel = 0, checkpoint = 1, bani = 0;
string numej, limba, raspuns;
const string LIMBAENB = "EN";
const string LIMBAENS = "en";
const string LIMBAROB = "RO";
const string LIMBAROS = "ro";
const string NUMEDB = "Teodor";
const string NUMEDS = "teodor";
const string RASPUNSDB = "DA";
const string RASPUNSDS = "da";
const string RASPUNSNB = "NU";
const string RASPUNSNS = "nu";
const string RASPUNSDBE = "YES";
const string RASPUNSDSE = "yes";
const string RASPUNSNBE = "NO";
const string RASPUNSNSE = "no";
system("color F1");
cout << "1. For english language type > EN < ." << endl;
cout << "2. Pentru limba romana tasteaza > RO < ." << endl;
cin >> limba;
if(limba == LIMBAROB || limba == LIMBAROS)
goto RO;
else if(limba == LIMBAENB || limba == LIMBAENS)
goto EN;
EN:
system("CLS");
cout << "================================ENGLISH
VERSION=================================" << endl << endl << endl << endl;
system("color f1");
cout << "Hi, this is the v1.0 version of the text-based game named ><Adventure time><." << endl;
cout << "This game will update once a week or two times a week." << endl << endl << endl;
cout << "Becaue this is an interactive game, i want to know your name : ";
cin >> numej;
system("CLS");
if(numej == NUMEDB || numej == NUMEDS)
{
cout << "Such a coincidence, Teodor is also my name " << char(zambet) << " . I will be your guide
during the game ."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl;
nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
else
{
cout << numej << " is a very beautiful name. My name is Teodor and i will be your guide during the
game ."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
cout << numej << ", because you told me your name, you reached level " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Do you want to start a journey ?" << endl;
cin >> raspuns;
system("CLS");
//pausa
//pausa
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
system("CLS");
cout << "Then, let's go !" << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Hey, in front of you is a little dog, do you want to adopt it ?" << endl << endl;
cin >> raspuns;
cout << endl;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
cout << "Well done, you adopted a little dog ." << endl << endl;
cout << "Your journey is almost at the final ." << endl << endl;
cout << "Your journey is at the end, you returned at home and you bought for your dog a cage."
<< endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
nivel++;
system("pause");
system("CLS");
cout << numej << ", because you taked care of that dog, you reached level " << nivel << " ."
<< endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Press > Enter < to continue .";
system("pause");
system("CLS");
}
else
{
cout << "Oh, that little dog is now alone and hungry ." << endl << endl;
cout << "Because it stars to rain, you've returned home ." << endl << endl;
cout << "You are tinking at that little dog |o__o| ." << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Sadly, because you don't adopted that little dog, you died because you were sad ." <<
endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
goto sfarsiten;
}
}
else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE)
{
system("CLS");
cout << "It is your choice, but it was a good chance to reach the next level ." << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
//pausa
//pausa
cout << "You returned at home and you find a suspicious men hwo wants to speak with you ." << endl
<< endl << endl;
cout << "Alex: My name is Alex. I have something very iportant to speak with you !" << endl << endl;
cout << numej << ": What ? What is the problem ?" << endl << endl;
cout << "Alex: I can't belive that you don't know yet !" << endl << endl;
cout << numej << ": What should i know ?" << endl << endl;
cout << "Alex: The princess is in danger ! You should save her !" << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Do you want to go to find the princess ?";
cin >> raspuns;
cout << endl << endl;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
nivel = nivel++;
cout << numej << ", you are an adventurier person, you reached level " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << numej << ", you are not an adventurier person, the princess has died ." << endl << endl;
cout << "The princess spirit comes at you to revenge, you died !" << endl << endl;
system("pause");
system("CLS");
goto sfarsiten;
}
cout << "Thanking you, it is mondial peace ." << endl << endl;
cout << "Alex: " << numej << ", do you want to take the airplane to a wonderfull place ?"
<< endl << endl;
cin >> raspuns;
if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE)
{
cout << endl << endl << "Alex: Then, get this money and buy an airplane ticket !" << endl << endl;
bani = bani + 100;
cout << "You gained " << bani << " $" << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
}
else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE)
{
cout << endl << endl << "Alex: You don't have an adventurier spirit, i will kill you !" << endl;
for(int i = 10; i >= 0; i--)
{
cout << i << endl;
}
cout << endl << endl << "You died !";
goto sfarsiten;
}
goto sfarsiten;
RO:
system("CLS");
cout << "================================Versiunea
romana================================" << endl << endl << endl << endl;
system("color f1");
cout << "Buna, aceasta este versiunea v1.0 a jocului text-based numit ><Adventure time><." << endl;
cout << "Acest joc se va actualiza o data pe saptamana sau se doua ori pe saptamana." << endl << endl
<< endl;
cout << "Avand in vedere ca este un joc interactiv, vreau sa stiu numele tau : ";
cin >> numej;
system("CLS");
if(numej == NUMEDB || numej == NUMEDS)
{
cout << "Ce coincidenta, si pe mine ma cheama tot Teodor " << char(zambet) << " . Eu voi fi ghidul
tau pe parcursul jocului ."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
else
{
cout << numej << " este un nume foarte frumos. Pe mine ma cheama Teodor si voi fi ghidul tau pe
parcursul jocului."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl;
nivel = nivel++;
system("pause");
if(cin.get() == 'n')
{
system("CLS");
}
}
cout << numej << ", pentru ca mi-ai spus numele tau, ai ajuns la nivelul " << nivel << " ." << endl <<
endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Vrei sa pornesti intr-o calatorie ?" << endl;
cin >> raspuns;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
system("CLS");
cout << "Atunci, sa mergem !" << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Hei, in fata este un catelus, vrei sa il adopti ?" << endl << endl;
cin >> raspuns;
cout << endl;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
cout << "Bravo, ai adoptat un catel ." << endl << endl;
cout << "Calatoria ta este aproape de final ." << endl << endl;
cout << "Calatoria ta a luat sfarsit, te-ai intors acasa si i-ai cumparat cainelui tau o cusca."
<< endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
nivel = nivel++;
system("pause");
system("CLS");
cout << numej << ", pentru ca ai avut grija de acel catel, ai ajuns la nivelul " << nivel << " ."
<< endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Apasa > Enter < pentru a continua ." << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << "Of, saracul catel, a ramas singur si fara mancare ." << endl << endl;
cout << "Din cauza ploii care tocmai s-a pornit, te-ai intors acasa ." << endl << endl;
cout << "Te gandesti la saracul caine din calatorie |o__o| ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Din pacate, din cauza ca nu ai adoptat acel caine, ai murit de tristete ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
goto sfarsitro;
}
}
else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS)
{
system("CLS");
cout << "Este alegerea ta, dar era o sansa buna de a avansa la nivelul urmator ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
}
cout << "Ai ajuns acasa si ai intalnit un om suspect care a inceput sa vorbeasca cu tine ." << endl <<
endl << endl;
cout << "Alex: Ma cheama Alex, am ceva foarte important de vorbit cu tine !" << endl << endl;
cout << numej << ": Poftim ? Care este problema ?" << endl << endl;
cout << "Alex: Nu pot sa cred ca nu ai aflat inca !" << endl << endl;
cout << numej << ": Ce sa aflu ?" << endl << endl;
cout << "Alex: Printesa este in pericol ! Trebuie sa o salvezi !" << endl << endl;
cout << "Press > Enter < to continue ." << endl << endl << endl;
system("pause");
system("CLS");
cout << "Vrei sa pornesti in cautarea printesei si sa o salvezi ?";
cin >> raspuns;
cout << endl << endl;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
nivel = nivel++;
cout << numej << ", esti o persoana aventuriera, ai ajuns la nivelul " << nivel << " ." << endl << endl;
for(int i = 0; i <= 10; i++)
{
system("color b1");
system("color c1");
system("color d1");
system("color e1");
system("color f1");
system("color f1");
}
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
}
else
{
cout << numej << ", nu esti o persoana aventuriera, iar printesa a murit ." << endl << endl;
cout << "Spiritul printesei a venit sa se razbune pe tine, ai murit !" << endl << endl;
system("pause");
system("CLS");
goto sfarsitro;
}
cout << "Datorita curajului tau, este pace la nivel mondial ." << endl << endl;
cout << "Alex: " << numej << ", vrei sa iei avionul catre un taram minunat unde poti avea parte de
multe aventuri ?"
<< endl << endl;
cin >> raspuns;
if(raspuns == RASPUNSDB || raspuns == RASPUNSDS)
{
cout << endl << endl << "Alex: Atunci ia acesti bani si cumpara-ti un bilet de avion !" << endl << endl;
bani = bani++;
cout << "Ai primit " << bani << " RON ." << endl << endl;
cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl;
system("pause");
system("CLS");
}
else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS)
{
cout << endl << endl << "Alex: Nu ai deloc un spirit de aventurier . Te voi omori !" << endl;
for(int i = 10; i >= 0; i--)
{
cout << i << endl;
}
cout << endl << endl << "Ai murit !";
goto sfarsitro;
}
cout << "Pana acum te-ai descurcat foarte bine in acest joc.";
goto sfarsitro;
sfarsitro:
system("CLS");
cout << "Ai incheiat versiunea v1.0 a acestui joc. Update-urile vin in curand..." << endl << endl;
goto gata;
sfarsiten:
system("CLS");
cout << "You finished the version v1.0 of the game. The updates are comming soon..." << endl << endl;
goto gata;
gata:
return 0;
}

More Related Content

Viewers also liked

Pengantar hak cipta
Pengantar hak ciptaPengantar hak cipta
Pengantar hak ciptationgham lie
 
Licencias creative commons
Licencias creative commonsLicencias creative commons
Licencias creative commonskarennsss
 
Work-sharing - zamiast zwolnien grupowych
Work-sharing - zamiast zwolnien grupowychWork-sharing - zamiast zwolnien grupowych
Work-sharing - zamiast zwolnien grupowychdappercab8741
 
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIA
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIAFUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIA
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIAErika Sandoval Gonzalez
 
RC Car detailed analysis
RC Car detailed analysisRC Car detailed analysis
RC Car detailed analysisMohd Akram
 
educ 118 outline assignment
educ 118 outline assignmenteduc 118 outline assignment
educ 118 outline assignmentpenelope1317
 
Male sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionMale sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
 
Male sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionMale sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionHirdayesh Anuragi
 

Viewers also liked (8)

Pengantar hak cipta
Pengantar hak ciptaPengantar hak cipta
Pengantar hak cipta
 
Licencias creative commons
Licencias creative commonsLicencias creative commons
Licencias creative commons
 
Work-sharing - zamiast zwolnien grupowych
Work-sharing - zamiast zwolnien grupowychWork-sharing - zamiast zwolnien grupowych
Work-sharing - zamiast zwolnien grupowych
 
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIA
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIAFUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIA
FUNCIONES DE ENFERMERIA DE ACUERDO A CATEGORIA
 
RC Car detailed analysis
RC Car detailed analysisRC Car detailed analysis
RC Car detailed analysis
 
educ 118 outline assignment
educ 118 outline assignmenteduc 118 outline assignment
educ 118 outline assignment
 
Male sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionMale sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed production
 
Male sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed productionMale sterility, types and utilization in hybrid seed production
Male sterility, types and utilization in hybrid seed production
 

Similar to Adventure time

Similar to Adventure time (20)

Ch4
Ch4Ch4
Ch4
 
New
NewNew
New
 
program C++ Atm
program C++ Atmprogram C++ Atm
program C++ Atm
 
Cpp c++ 1
Cpp c++ 1Cpp c++ 1
Cpp c++ 1
 
Programa Sumar y Multiplicar
Programa Sumar y MultiplicarPrograma Sumar y Multiplicar
Programa Sumar y Multiplicar
 
Project in programming
Project in programmingProject in programming
Project in programming
 
Programming assignment 02 (bilal maqbool 10) 2011
Programming assignment 02    (bilal maqbool 10) 2011Programming assignment 02    (bilal maqbool 10) 2011
Programming assignment 02 (bilal maqbool 10) 2011
 
Programming - Marla Fuentes
Programming - Marla FuentesProgramming - Marla Fuentes
Programming - Marla Fuentes
 
C++ L03-Control Structure
C++ L03-Control StructureC++ L03-Control Structure
C++ L03-Control Structure
 
Dev C++ Code Basic Loop
Dev C++ Code Basic LoopDev C++ Code Basic Loop
Dev C++ Code Basic Loop
 
DEV C++
DEV C++DEV C++
DEV C++
 
ch5_additional.ppt
ch5_additional.pptch5_additional.ppt
ch5_additional.ppt
 
project3
project3project3
project3
 
C++ TUTORIAL 1
C++ TUTORIAL 1C++ TUTORIAL 1
C++ TUTORIAL 1
 
C++ TUTORIAL 3
C++ TUTORIAL 3C++ TUTORIAL 3
C++ TUTORIAL 3
 
Program membalik kata
Program membalik kataProgram membalik kata
Program membalik kata
 
Coding gaji
Coding gajiCoding gaji
Coding gaji
 
RAM Source code and Test Bench
RAM Source code and Test BenchRAM Source code and Test Bench
RAM Source code and Test Bench
 
#include iostream #include string #include iomanip #incl.pdf
#include iostream #include string #include iomanip #incl.pdf#include iostream #include string #include iomanip #incl.pdf
#include iostream #include string #include iomanip #incl.pdf
 
New text document
New text documentNew text document
New text document
 

Recently uploaded

Maximize Your Twitter Engagement........
Maximize Your Twitter Engagement........Maximize Your Twitter Engagement........
Maximize Your Twitter Engagement........SocioCosmos
 
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGEL
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGELBuku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGEL
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGELliangtehdingin748
 
Media Representation of Women- Gender Studies.pptx
Media Representation of Women- Gender Studies.pptxMedia Representation of Women- Gender Studies.pptx
Media Representation of Women- Gender Studies.pptxAshik Mondal
 
ONPAGE SEO types presentation, presented by botany science
ONPAGE SEO types presentation, presented by botany scienceONPAGE SEO types presentation, presented by botany science
ONPAGE SEO types presentation, presented by botany sciencezoha951268
 
This is a test presentation to see if this works
This is a test presentation to see if this worksThis is a test presentation to see if this works
This is a test presentation to see if this worksjonnygharris
 
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√Obat Cytotec
 
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...Klinik kandungan
 
Boost Your Twitter Credibility...........
Boost Your Twitter Credibility...........Boost Your Twitter Credibility...........
Boost Your Twitter Credibility...........SocioCosmos
 
upinfifity best digital marketing agency in texas.pdf
upinfifity best digital marketing agency in texas.pdfupinfifity best digital marketing agency in texas.pdf
upinfifity best digital marketing agency in texas.pdfmuskangarage902
 
GRACE ANDREWS the future of podcasting.pdf
GRACE ANDREWS the future of podcasting.pdfGRACE ANDREWS the future of podcasting.pdf
GRACE ANDREWS the future of podcasting.pdfDIGGIT
 
Maximizing Lead Potential A Deep Dive Into Online Review Strategies
Maximizing Lead Potential A Deep Dive Into Online Review StrategiesMaximizing Lead Potential A Deep Dive Into Online Review Strategies
Maximizing Lead Potential A Deep Dive Into Online Review StrategiesOutreach Digital Marketing
 
Maximize Your Pinterest Reach....................
Maximize Your Pinterest Reach....................Maximize Your Pinterest Reach....................
Maximize Your Pinterest Reach....................SocioCosmos
 
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899Obat Cytotec
 
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uae
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, UaeAt-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uae
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uaemikemrmik
 

Recently uploaded (14)

Maximize Your Twitter Engagement........
Maximize Your Twitter Engagement........Maximize Your Twitter Engagement........
Maximize Your Twitter Engagement........
 
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGEL
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGELBuku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGEL
Buku Prediksi Togel Sydney Malam ini 4d 100 perak MAGNUMTOGEL
 
Media Representation of Women- Gender Studies.pptx
Media Representation of Women- Gender Studies.pptxMedia Representation of Women- Gender Studies.pptx
Media Representation of Women- Gender Studies.pptx
 
ONPAGE SEO types presentation, presented by botany science
ONPAGE SEO types presentation, presented by botany scienceONPAGE SEO types presentation, presented by botany science
ONPAGE SEO types presentation, presented by botany science
 
This is a test presentation to see if this works
This is a test presentation to see if this worksThis is a test presentation to see if this works
This is a test presentation to see if this works
 
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√
# HAMIL 4 BULAN # CARA MENGGUGURKAN KANDUNGAN USIA 4 BULAN √087776558899√
 
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...
Jual obat aborsi Asli Taiwan ( 085657271886 ) Cytote pil telat bulan penggugu...
 
Boost Your Twitter Credibility...........
Boost Your Twitter Credibility...........Boost Your Twitter Credibility...........
Boost Your Twitter Credibility...........
 
upinfifity best digital marketing agency in texas.pdf
upinfifity best digital marketing agency in texas.pdfupinfifity best digital marketing agency in texas.pdf
upinfifity best digital marketing agency in texas.pdf
 
GRACE ANDREWS the future of podcasting.pdf
GRACE ANDREWS the future of podcasting.pdfGRACE ANDREWS the future of podcasting.pdf
GRACE ANDREWS the future of podcasting.pdf
 
Maximizing Lead Potential A Deep Dive Into Online Review Strategies
Maximizing Lead Potential A Deep Dive Into Online Review StrategiesMaximizing Lead Potential A Deep Dive Into Online Review Strategies
Maximizing Lead Potential A Deep Dive Into Online Review Strategies
 
Maximize Your Pinterest Reach....................
Maximize Your Pinterest Reach....................Maximize Your Pinterest Reach....................
Maximize Your Pinterest Reach....................
 
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899
TERSEDIA OBAT PENGGUGUR KANDUNGAN MAKASSAR KLINIK ABORSI MAKASSAR 087776558899
 
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uae
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, UaeAt-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uae
At-Sharjah ☎ +971554789724__**☎ Abortion Pills for sale in Sharjah, Uae
 

Adventure time

  • 1. #include <iostream> #include <windows.h> #include <string> using namespace std; int main() { int zambet = 1, nivel = 0, checkpoint = 1, bani = 0; string numej, limba, raspuns; const string LIMBAENB = "EN"; const string LIMBAENS = "en"; const string LIMBAROB = "RO"; const string LIMBAROS = "ro"; const string NUMEDB = "Teodor"; const string NUMEDS = "teodor"; const string RASPUNSDB = "DA"; const string RASPUNSDS = "da"; const string RASPUNSNB = "NU"; const string RASPUNSNS = "nu"; const string RASPUNSDBE = "YES"; const string RASPUNSDSE = "yes"; const string RASPUNSNBE = "NO";
  • 2. const string RASPUNSNSE = "no"; system("color F1"); cout << "1. For english language type > EN < ." << endl; cout << "2. Pentru limba romana tasteaza > RO < ." << endl; cin >> limba; if(limba == LIMBAROB || limba == LIMBAROS) goto RO; else if(limba == LIMBAENB || limba == LIMBAENS) goto EN; EN: system("CLS"); cout << "================================ENGLISH VERSION=================================" << endl << endl << endl << endl; system("color f1"); cout << "Hi, this is the v1.0 version of the text-based game named ><Adventure time><." << endl; cout << "This game will update once a week or two times a week." << endl << endl << endl; cout << "Becaue this is an interactive game, i want to know your name : "; cin >> numej; system("CLS"); if(numej == NUMEDB || numej == NUMEDS) {
  • 3. cout << "Such a coincidence, Teodor is also my name " << char(zambet) << " . I will be your guide during the game ." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl; nivel++; system("pause"); if(cin.get() == 'n') { system("CLS"); } } else { cout << numej << " is a very beautiful name. My name is Teodor and i will be your guide during the game ." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl; nivel = nivel++; system("pause"); if(cin.get() == 'n') { system("CLS"); } } cout << numej << ", because you told me your name, you reached level " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++)
  • 4. { system("color b1"); system("color c1"); system("color d1"); system("color e1"); system("color f1"); system("color f1"); } cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Do you want to start a journey ?" << endl; cin >> raspuns; system("CLS"); //pausa //pausa if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE) { system("CLS"); cout << "Then, let's go !" << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS");
  • 5. cout << "Hey, in front of you is a little dog, do you want to adopt it ?" << endl << endl; cin >> raspuns; cout << endl; if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE) { cout << "Well done, you adopted a little dog ." << endl << endl; cout << "Your journey is almost at the final ." << endl << endl; cout << "Your journey is at the end, you returned at home and you bought for your dog a cage." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; nivel++; system("pause"); system("CLS"); cout << numej << ", because you taked care of that dog, you reached level " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++) { system("color b1"); system("color c1"); system("color d1"); system("color e1"); system("color f1"); system("color f1"); } cout << "Press > Enter < to continue .";
  • 6. system("pause"); system("CLS"); } else { cout << "Oh, that little dog is now alone and hungry ." << endl << endl; cout << "Because it stars to rain, you've returned home ." << endl << endl; cout << "You are tinking at that little dog |o__o| ." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Sadly, because you don't adopted that little dog, you died because you were sad ." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); goto sfarsiten; } } else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE) { system("CLS"); cout << "It is your choice, but it was a good chance to reach the next level ." << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); }
  • 7. //pausa //pausa cout << "You returned at home and you find a suspicious men hwo wants to speak with you ." << endl << endl << endl; cout << "Alex: My name is Alex. I have something very iportant to speak with you !" << endl << endl; cout << numej << ": What ? What is the problem ?" << endl << endl; cout << "Alex: I can't belive that you don't know yet !" << endl << endl; cout << numej << ": What should i know ?" << endl << endl; cout << "Alex: The princess is in danger ! You should save her !" << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Do you want to go to find the princess ?"; cin >> raspuns; cout << endl << endl; if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE) { nivel = nivel++; cout << numej << ", you are an adventurier person, you reached level " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++) { system("color b1"); system("color c1");
  • 8. system("color d1"); system("color e1"); system("color f1"); system("color f1"); } cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); } else { cout << numej << ", you are not an adventurier person, the princess has died ." << endl << endl; cout << "The princess spirit comes at you to revenge, you died !" << endl << endl; system("pause"); system("CLS"); goto sfarsiten; } cout << "Thanking you, it is mondial peace ." << endl << endl; cout << "Alex: " << numej << ", do you want to take the airplane to a wonderfull place ?" << endl << endl; cin >> raspuns; if(raspuns == RASPUNSDBE || raspuns == RASPUNSDSE) { cout << endl << endl << "Alex: Then, get this money and buy an airplane ticket !" << endl << endl; bani = bani + 100;
  • 9. cout << "You gained " << bani << " $" << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); } else if(raspuns == RASPUNSNBE || raspuns == RASPUNSNSE) { cout << endl << endl << "Alex: You don't have an adventurier spirit, i will kill you !" << endl; for(int i = 10; i >= 0; i--) { cout << i << endl; } cout << endl << endl << "You died !"; goto sfarsiten; } goto sfarsiten; RO: system("CLS"); cout << "================================Versiunea romana================================" << endl << endl << endl << endl; system("color f1"); cout << "Buna, aceasta este versiunea v1.0 a jocului text-based numit ><Adventure time><." << endl;
  • 10. cout << "Acest joc se va actualiza o data pe saptamana sau se doua ori pe saptamana." << endl << endl << endl; cout << "Avand in vedere ca este un joc interactiv, vreau sa stiu numele tau : "; cin >> numej; system("CLS"); if(numej == NUMEDB || numej == NUMEDS) { cout << "Ce coincidenta, si pe mine ma cheama tot Teodor " << char(zambet) << " . Eu voi fi ghidul tau pe parcursul jocului ." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl; nivel = nivel++; system("pause"); if(cin.get() == 'n') { system("CLS"); } } else { cout << numej << " este un nume foarte frumos. Pe mine ma cheama Teodor si voi fi ghidul tau pe parcursul jocului." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl; nivel = nivel++; system("pause"); if(cin.get() == 'n')
  • 11. { system("CLS"); } } cout << numej << ", pentru ca mi-ai spus numele tau, ai ajuns la nivelul " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++) { system("color b1"); system("color c1"); system("color d1"); system("color e1"); system("color f1"); system("color f1"); } cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Vrei sa pornesti intr-o calatorie ?" << endl; cin >> raspuns; if(raspuns == RASPUNSDB || raspuns == RASPUNSDS) { system("CLS"); cout << "Atunci, sa mergem !" << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause");
  • 12. system("CLS"); cout << "Hei, in fata este un catelus, vrei sa il adopti ?" << endl << endl; cin >> raspuns; cout << endl; if(raspuns == RASPUNSDB || raspuns == RASPUNSDS) { cout << "Bravo, ai adoptat un catel ." << endl << endl; cout << "Calatoria ta este aproape de final ." << endl << endl; cout << "Calatoria ta a luat sfarsit, te-ai intors acasa si i-ai cumparat cainelui tau o cusca." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; nivel = nivel++; system("pause"); system("CLS"); cout << numej << ", pentru ca ai avut grija de acel catel, ai ajuns la nivelul " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++) { system("color b1"); system("color c1"); system("color d1"); system("color e1"); system("color f1"); system("color f1"); }
  • 13. cout << "Apasa > Enter < pentru a continua ." << endl << endl; system("pause"); system("CLS"); } else { cout << "Of, saracul catel, a ramas singur si fara mancare ." << endl << endl; cout << "Din cauza ploii care tocmai s-a pornit, te-ai intors acasa ." << endl << endl; cout << "Te gandesti la saracul caine din calatorie |o__o| ." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Din pacate, din cauza ca nu ai adoptat acel caine, ai murit de tristete ." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause"); system("CLS"); goto sfarsitro; } } else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS) { system("CLS"); cout << "Este alegerea ta, dar era o sansa buna de a avansa la nivelul urmator ." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause");
  • 14. system("CLS"); } cout << "Ai ajuns acasa si ai intalnit un om suspect care a inceput sa vorbeasca cu tine ." << endl << endl << endl; cout << "Alex: Ma cheama Alex, am ceva foarte important de vorbit cu tine !" << endl << endl; cout << numej << ": Poftim ? Care este problema ?" << endl << endl; cout << "Alex: Nu pot sa cred ca nu ai aflat inca !" << endl << endl; cout << numej << ": Ce sa aflu ?" << endl << endl; cout << "Alex: Printesa este in pericol ! Trebuie sa o salvezi !" << endl << endl; cout << "Press > Enter < to continue ." << endl << endl << endl; system("pause"); system("CLS"); cout << "Vrei sa pornesti in cautarea printesei si sa o salvezi ?"; cin >> raspuns; cout << endl << endl; if(raspuns == RASPUNSDB || raspuns == RASPUNSDS) { nivel = nivel++; cout << numej << ", esti o persoana aventuriera, ai ajuns la nivelul " << nivel << " ." << endl << endl; for(int i = 0; i <= 10; i++) { system("color b1"); system("color c1"); system("color d1"); system("color e1"); system("color f1");
  • 15. system("color f1"); } cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause"); system("CLS"); } else { cout << numej << ", nu esti o persoana aventuriera, iar printesa a murit ." << endl << endl; cout << "Spiritul printesei a venit sa se razbune pe tine, ai murit !" << endl << endl; system("pause"); system("CLS"); goto sfarsitro; } cout << "Datorita curajului tau, este pace la nivel mondial ." << endl << endl; cout << "Alex: " << numej << ", vrei sa iei avionul catre un taram minunat unde poti avea parte de multe aventuri ?" << endl << endl; cin >> raspuns; if(raspuns == RASPUNSDB || raspuns == RASPUNSDS) { cout << endl << endl << "Alex: Atunci ia acesti bani si cumpara-ti un bilet de avion !" << endl << endl; bani = bani++; cout << "Ai primit " << bani << " RON ." << endl << endl; cout << "Apasa > Enter < pentru a continua ." << endl << endl << endl; system("pause");
  • 16. system("CLS"); } else if(raspuns == RASPUNSNB || raspuns == RASPUNSNS) { cout << endl << endl << "Alex: Nu ai deloc un spirit de aventurier . Te voi omori !" << endl; for(int i = 10; i >= 0; i--) { cout << i << endl; } cout << endl << endl << "Ai murit !"; goto sfarsitro; } cout << "Pana acum te-ai descurcat foarte bine in acest joc."; goto sfarsitro; sfarsitro: system("CLS"); cout << "Ai incheiat versiunea v1.0 a acestui joc. Update-urile vin in curand..." << endl << endl; goto gata; sfarsiten: system("CLS"); cout << "You finished the version v1.0 of the game. The updates are comming soon..." << endl << endl;