#include <iostream> الكود مكون من 1000 سطر تقريبا
#include <stdio.h>
#include<time.h>
#include<chrono>
#include<thread>
#include <stdlib.h>
#include <cstdlib>
using namespace std;
int main()
{
system("color 75");
cout << "\t\t\t\t\t******************************" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* OYUNUMUZA HOSGELDINIZ *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t******************************" << endl;
this_thread::sleep_for(5s);
system("cls");
const string M = "team";
string name[8];
string winner[] = { "A","B","AA","BB", };
int o = 0; int o2 = 0; int o3 = 0; int o4 = 0;
string X, X2, X3, X4, d, d2, d3, d4, Y;
const int score[] = { 30,25 ,20 , 15 ,10, 5 };
const string answer[] = { "cakil", "yapaybitki", "supompasi", "su","lambalar" };
const string answer2[] = { "siyasigozalti","bosanma", "is", "mulkiyetdevri", "suc" };
for (int i = 0; i < 8; i++)
{
system("color E2");
cout << i + 1 << "-player name?" << endl;
cin >> name[i];
system("cls");
}
system("color 03");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << "(A) TAKIMI ILE " << endl;
this_thread::sleep_for(5s);
system("color 03");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << "(B) TAKIMI ILE " << endl << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t========================" << endl;
cout << "\t\t\t\t\t= . =" << endl;
cout << "\t\t\t\t\t= ILK TUR =" << endl;
cout << "\t\t\t\t\t= =" << endl;
cout << "\t\t\t\t\t========================" << endl;
this_thread::sleep_for(5s);
system("color E2");
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << "Akvaryumda balik disinda ne var \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
system("color 75");
cin >> X;
if (X == answer[0] || X == answer[1] || X == answer[2] || X == answer[3] || X == answer[4])
{
system("color 2");
cout << "dogru;";
}
else
{
system("color 04");
cout << "yanlis!" << endl;
}
if (X == answer[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o = o + score[0];
}
if (X == answer[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o = o + score[1];
}
if (X == answer[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o = o + score[2];
}
if (X == answer[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o = o + score[3];
}
if (X == answer[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o = o + score[4];
}
if (X == M)// team
{
system("Color 73");
system("cls");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t========================" << endl;
cout << "\t\t\t\t\t= . =" << endl;
cout << "\t\t\t\t\t= ILK TUR =" << endl;
cout << "\t\t\t\t\t= =" << endl;
cout << "\t\t\t\t\t========================" << endl;
this_thread::sleep_for(5s);
for (int v = 4; v < 8; v++)
{
cout << " #Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << "Akvaryumda balik disinda ne var \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X;
if (X == answer[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o = o + score[0];
}
if (X == answer[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o = o + score[1];
}
if (X == answer[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o = o + score[2];
}
if (X == answer[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o = o + score[3];
}
if (X == answer[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o = o + score[4];
}
if (X == answer[0] || X == answer[1] || X == answer[2] || X == answer[3] || X == answer[4])
{
system("cls");
this_thread::sleep_for(5s);
system("color F0");
cout << "Kazanan takim (B)";
cout << "Final total\t <" << o << ">" << endl;
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(3s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
}
else {
system("cls");
this_thread::sleep_for(3s);
system("color F0");
cout << "Kazanan takim (A)";
cout << "Final total\t <" << o << ">" << endl;
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(3s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
}
system("color 73");
system("cls");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << endl;
this_thread::sleep_for(3s);
system("color 75");
cout << "\t\t\t\t\t000000000000000000000000" << endl;
cout << "\t\t\t\t\t0 . . . 0" << endl;
cout << "\t\t\t\t\t0 IKINCI TUR 0" << endl;
cout << "\t\t\t\t\t0 0" << endl;
cout << "\t\t\t\t\t000000000000000000000000" << endl;
this_thread::sleep_for(5s);
//الفور الثانية
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << " Bir kisinin bir avukata ihtiyac duymasının bir nedenini belirtiniz\t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("color 2");
cout << "dogru;";
}
else
{
system("color 04");
cout << "yanlis!" << endl;
}
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
}
if (X2 == M)// team
{
system("cls");
system("Color 73");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t(B)" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t000000000000000000000000" << endl;
cout << "\t\t\t\t\t0 . . . 0" << endl;
cout << "\t\t\t\t\t0 IKINCI TUR 0" << endl;
cout << "\t\t\t\t\t0 0" << endl;
cout << "\t\t\t\t\t000000000000000000000000" << endl;
this_thread::sleep_for(5s);
for (int v = 4; v <= 6; v++)
{
cout << " ##Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << " Bir kisinin bir avukata ihtiyac duymasının bir nedenini belirtiniz \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
// الشرط والنفي الأكبر
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("cls");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << o2 * 2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << o2 * 2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
for (int Q = 0; Q < 5; Q++)
{
this_thread::sleep_for(5s);
cout << Q + 1 << "- IS:" << answer2[Q] << "=" << score[Q] << "\t";
}
this_thread::sleep_for(5s);
system("color 75");
cout << "Bize katildiniz icin sizelere Teskurler";
cout << "---------------------------------------";
break;
}
}
else
{
system("color 64");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
}
for (int Q = 0; Q < 5; Q++)
{
this_thread::sleep_for(5s);
cout << Q + 1 << "- IS:" << answer2[Q] << "=" << score[Q] << "\t";
}
this_thread::sleep_for(5s);
system("color 75");
cout << "Bize katildiniz icin sizelere Teskurler";
cout << "---------------------------------------";
break;
}
/*
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(5s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
*//*
system("color 43");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t000000000000000000000000" << endl;
cout << "\t\t\t\t\t0 . . . 0" << endl;
cout << "\t\t\t\t\t0 IKINCI TUR 0" << endl;
cout << "\t\t\t\t\t0 0" << endl;
cout << "\t\t\t\t\t000000000000000000000000" << endl;
this_thread::sleep_for(5s);
//الفور الثانية
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << " Bir kisinin bir avukata ihtiyac duymasının bir nedenini belirtiniz\t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("color 2");
cout << "dogru;";
}
else
{
system("color 04");
cout << "yanlis!" << endl;
}
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
if (X2 == M)// team
{
system("Color 73");
system("cls");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t000000000000000000000000" << endl;
cout << "\t\t\t\t\t0 . . . 0" << endl;
cout << "\t\t\t\t\t0 IKINCI TUR 0" << endl;
cout << "\t\t\t\t\t0 0" << endl;
cout << "\t\t\t\t\t000000000000000000000000" << endl;
this_thread::sleep_for(5s);
for (int v = 4; v < 7; v++)
{
cout << " #Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << " Bir kisinin bir avukata ihtiyac duymasının bir nedenini belirtiniz \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
system("cls");
// الشرط والنفي الأكبر
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
this_thread::sleep_for(5s);
system("cls");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << o2 * 2 << ">" << endl;
}
if (d2 == winner[0])//A
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << o2 * 2 << ">" << endl;
}
this_thread::sleep_for(5s);
system("color 75");
cout << "Bize katildiniz icin sizelere Teskurler";
cout << "---------------------------------------";
break;
}
else
{
this_thread::sleep_for(5s);
system("cls");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 75");
cout << "kazanan takim (B)\n";
cout << "Final total\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 8");
cout << "kazanan takim (A)\n";
cout << "Final total\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
for (int Q = 0; Q < 5; Q++)
{
this_thread::sleep_for(5s);
cout << Q + 1 << "- IS:" << answer2[Q] << "=" << score[Q] << "\t";
}
this_thread::sleep_for(5s);
system("color 75");
cout << "Bize katildiniz icin sizelere Teskurler";
cout << "---------------------------------------";
break;
}
}
}
}*/
}
}
}
}
/*
#include <iostream>
#include <stdio.h>
#include<time.h>
#include<chrono>
#include<thread>
#include <stdlib.h>
#include <cstdlib>
using namespace std;
int main()
{
cout << "\t\t\t\t\t******************************" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* OYUNUMUZA ";
system("color 75");
cout << "HOSGELDINIZ *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t******************************" << endl;
this_thread::sleep_for(5s);
system("cls");
const string M = "team";
string name[8];
string winner[] = { "A","B", "AA","BB","AAA","BBB","AA3","BB3","A3","B3","3A","3B" };
int o = 0; int o2 = 0; int o3 = 0; int o4 = 0;
string X, X2, X3, X4, d, d2, d3, d4, Y;
const int score[] = { 30,25 ,20 , 15 ,10, 5 };
const string answer[] = { "cakil", "yapay bitki", "su pompasi", "su","lambalar" };
const string answer2[] = { "siyasi gozalti","bosanma", "is", "mulkiyet devri", "suc" };
const string answer3[] = { "tango", "telgram", "trafi","twitter", "tik tok" };
for (int i = 0; i < 8; i++)
{
system("color E2");
cout << i + 1 << "-player name?" << endl;
cin >> name[i];
system("cls");
}
system("color 02");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << "(A) TAKIMI ILE " << endl;
this_thread::sleep_for(5s);
system("color 20");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << "(B) TAKIMI ILE " << endl << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . *" << endl;
cout << "\t\t\t\t\t* Ilk TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl;
this_thread::sleep_for(5s);
system("color E2");
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << "Akvaryumda balik disinda ne var \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X;
if (X == answer[0] || X == answer[1] || X == answer[2] || X == answer[3] || X == answer[4])
{
system("color F0");
cout << "dogru;";
}
else
{
system("color 64");
cout << "yanlis!" << endl;
}
if (X == answer[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o = o + score[0];
}
if (X == answer[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o = o + score[1];
}
if (X == answer[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o = o + score[2];
}
if (X == answer[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o = o + score[3];
}
if (X == answer[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o = o + score[4];
}
if (X == M)// team
{
system("Color 73");
system("cls");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . *" << endl;
cout << "\t\t\t\t\t* Ilk TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl << endl;
this_thread::sleep_for(5s);
for (int v = 4; v < 8; v++)
{
cout << " #Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << "Akvaryumda balik disinda ne var \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X;
if (X == answer[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o = o + score[0];
}
if (X == answer[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o = o + score[1];
}
if (X == answer[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o = o + score[2];
}
if (X == answer[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o = o + score[3];
}
if (X == answer[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o = o + score[4];
}
if (X == answer[0] || X == answer[1] || X == answer[2] || X == answer[3] || X == answer[4])
{
system("cls");
this_thread::sleep_for(5s);
system("color F0");
cout << "Kazanan takim (B)";
cout << "Nihai puanınız\t <" << o << ">" << endl;
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(5s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
system("color 43");
system("cls");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . . . *" << endl;
cout << "\t\t\t\t\t* IkINCI TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl;
this_thread::sleep_for(5s);
}
else
{
system("cls");
this_thread::sleep_for(5s);
system("color F0");
cout << "Kazanan takim (A)";
cout << "Nihai puanınız\t <" << o << ">" << endl;
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(5s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
system("color 43");
system("cls");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . . . *" << endl;
cout << "\t\t\t\t\t* IkINCI TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl;
this_thread::sleep_for(5s);
}
//الفور الثانية
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << " Bir kişinin bir avukata ihtiyaç duymasının bir nedenini belirtin\t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("color F0");
cout << "dogru;";
}
else
{
system("color 64");
cout << "yanlis!" << endl;
}
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
if (X2 == M)// team
{
system("cls");
system("Color 73");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . . . *" << endl;
cout << "\t\t\t\t\t* IkINCI TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl << endl;
this_thread::sleep_for(5s);
for (int v = 4; v < 8; v++)
{
cout << " ##Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << " Bir kisinin bir avukata ihtiyac duymasinin bir nedenini belirtinr \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
// الشرط والنفي الأكبر
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("cls");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << o2*2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << o2*2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
break;
system("cls");
}
else
{
system("color 64");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
}
for (int p = 0; p < 5; p++)
{
this_thread::sleep_for(5s);
cout << p + 1 << "- IS:" << answer2[p] << "=" << score[p] << "\t";
}
system("cls");
}
else
{
this_thread::sleep_for(5s);
system("color 64");
cout << "Kazanan takım (A)" << endl;
cout << "Nihai puanınız\t <" << o << ">" << endl;
}
for (int T = 0; T < 5; T++)
{
this_thread::sleep_for(5s);
cout << T + 1 << "- IS:" << answer[T] << "=" << score[T] << "\t";
}
system("color 43");
cout << "(" << name[0] << ")\t&\t(" << name[1] << ")\t&\t(" << name[2] << ")\t&\t(" << name[3] << ")\t" << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . . . *" << endl;
cout << "\t\t\t\t\t* IkINCI TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl;
this_thread::sleep_for(5s);
//الفور الثانية
for (;;)
{
for (int V = 0; V < 4; V++)
{
cout << name[V] << "'nin Rolu " << " Bir kişinin bir avukata ihtiyaç duymasının bir nedenini belirtin\t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
system("color F0");
cout << "dogru;";
}
else
{
system("color 64");
cout << "yanlis!" << endl;
}
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
if (X2 == M)// team
{
system("Color 73");
system("cls");
cout << "(" << name[4] << ")\t&\t(" << name[5] << ")\t&\t(" << name[6] << ")\t&\t(" << name[7] << ")\t" << endl << endl;
this_thread::sleep_for(5s);
system("color 75");
cout << "\t\t\t\t\t************************" << endl;
cout << "\t\t\t\t\t* . . . *" << endl;
cout << "\t\t\t\t\t* IkINCI TUR *" << endl;
cout << "\t\t\t\t\t* *" << endl;
cout << "\t\t\t\t\t************************" << endl << endl;
this_thread::sleep_for(5s);
for (int v = 4; v < 8; v++)
{
cout << " #Takiminizden her kisi bir oneri yazsin " << endl;
cout << name[v] << "'nin Rolu " << " Bir kişinin bir avukata ihtiyaç duymasının bir nedenini belirtinr \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> Y;
}
cout << name[7] << "'nin Rolu " << "Onaylanmis cevabi secin \t (cevaplamk icin 10s var)" << endl;
this_thread::sleep_for(5s);
cin >> X2;
if (X2 == answer2[0])
{
cout << " Senin cevabin puanlari: " << score[0] << endl;
o2 = o2 + score[0];
}
if (X2 == answer2[1])
{
cout << " Senin cevabin puanlari: " << score[1] << endl;
o2 = o2 + score[1];
}
if (X2 == answer2[2])
{
cout << " Senin cevabin puanlari: " << score[2] << endl;
o2 = o2 + score[2];
}
if (X2 == answer2[3])
{
cout << " Senin cevabin puanlari: " << score[3] << endl;
o2 = o2 + score[3];
}
if (X2 == answer2[4])
{
cout << " Senin cevabin puanlari: " << score[4] << endl;
o2 = o2 + score[4];
}
system("cls");
// الشرط والنفي الأكبر
if (X2 == answer2[0] || X2 == answer2[1] || X2 == answer2[2] || X2 == answer2[3] || X2 == answer2[4])
{
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << o2*2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << o2*2 << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
system("color 36");
cout << "Bize katildiniz icin sizelere Teskurler";
break;
}
else
{
system("cls");
cout << "kazanan takim? \t ";
cin >> d2;
if (d2 == winner[3])//BB
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[2])//AA
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) + o << ">" << endl;
}
if (d2 == winner[1])//B
{
system("color 36");
cout << "kazanan takim (B)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
if (d2 == winner[0])//A
{
system("color 16");
cout << "kazanan takim (A)\n";
cout << "Nihai puanınız\t <" << (o2 * 2) << ">" << endl;
this_thread::sleep_for(5s);
system("cls");
}
}
for (int Q = 0; Q < 5; Q++)
{
this_thread::sleep_for(5s);
cout << Q + 1 << "- IS:" << answer2[Q] << "=" << score[Q] << "\t";
}
system("color 36");
cout << "Bize katildiniz icin sizelere Teskurler";
break;
}
}
}
}
}
}
}
}
}*/