Code Jam 2.1 | لعبة وكود

Studio Description | وصف الاستوديو

Aya Alhajji

Today, we live in an evolving and changing digital world. Behind all that surrounds us - in terms of business, commerce, shopping, science, invention, health, aviation and governments - are pieces of software that manage and control it. So, programming has become one of fundamental science and learning it has become essential to keep up the pace with development. As such, learning the foundations of artificial intelligence, of which programming is the main pillar, programming teaches us to think in the same way machines work, so a programmer is primarily a thinker.

In this studio, students shall, using the C++ language, write competitive interactive games that enable users to play, and at the same time students will build models that simulate the program (the game)”boardgame” that was programmed using all available materials while adding a part to be developed it in the next plan.


نعيش اليوم في عالم رقمي متجدد ومتغير، فقد أصبح خلف جميع ما يحيط بنا من أعمال، وتجارة، وتسوق، وعلوم، واختراعات، وصحة، وطيران وحكومات برمجيات تديرها وتتحكم بها. لذلك أصبحت البرمجة من العلوم الأساسية وأصبح تعلمها جزء أساسي لمواكبة التطور. كذلك تعلم أسس الذكاء الاصطناعي حيث البرمجة ركيزته الأولى يعلّمنا التّفكير بنفس الطريقة التي تعمل بها الآلات، لذا المبرمج هو مفكر بالدرجة الأولى. 

في هذا الاستديوسيقوم الطلاب عن طريق لغة البرمجة C++ language بكتابة ألعاب التفاعلية التنافسية التي تمكن المستخدمين من لعبها وفي الوقت ذاته سيقوم الطلاب ببناء البرنامج (اللعبة) اللوحية التي تمت برمجتها عن طريق جميع المواد المتاحة وإضافة قسم للتطوير في الخطة التالية.

Intro Presentation | العرض التقديمي

Aya Alhajji

Final Presentation

Lin Muhammeddip and Hawla bakkar

THE ESCAPE KAYS

Leen mohammad deep

Hawla bakkar

#include <iostream>


using namespace std;


int main()


{


    string   e, p, bb , v,am,ib,hj,jd,fg;


    int a, x, b, c, d, f, j, h, k, m, n, o, q, r, s,ab,bc, cc,pp,ef,ff,et,qw;


    int w = 0;


    cout << "How many player will  play?" << endl;


    cin >> x;


    if (x == 2 || x == 1)


    {


        cout << "ok,welcome to the game :)" << endl;


    }


    else


    {


        cout << "sorry two people at most can play=:(" << endl;


    }


    if (x == 2)


    {


        int l[2];


        string n[2];


        int i;


        for (i = 0; i <= 1; i++)


        {


            cout << "enter the players name" << endl;


            cin >> n[i];


            cout << "enter the players age" << endl;


            cin >> l[i];


            if (l[i] >= 13)


            {


                cout << "ok,you can play welcome :)" << endl;


            }


            else


            {


                cout << "sorry,your age is not suitable" << endl;


            }


        }


        cout << "*****************************" << endl;


        cout << n[0] << " 15+5=?" << endl;


        cin >> a;


        if (a == 20)


        {


            cout << "tebrikler,dogru cevap" << endl;


            w++;


        }


        else


        {


            cout << "uzgunum,ama yanlis cevap verdiniz" << endl;


        }


        cout << n[1] << "   insan vucudunda kac tane burun vardir??" << endl;


        cin >> b;


        if (b == 1)


        {


            cout << "evvet!dogru basardiniz" << endl;


            w++;


        }


        else


        {


            cout << "maalesef,yanlis cevap verdiniz.zor degildi ki" << endl;


        }


        cout << n[0] << "  kediler kac ayaga sahibtir" << endl;


        cin >> c;


        if (c == 4)


        {


            cout << "evet,dogru yolun yarisindasiniz basarilar" << endl;


            w++;


        }


        else


        {


            cout << "nasil olur soru kolaydi ama =(" << endl;


        }


        cout << n[1] << "  6+4" << endl;


        cin >> d;


        if (d == 10)


        {


            cout << "tebrikler bu soruyu da dogru yaptin hadi bakalm son soru" << endl;


            w++;


        }


        else


        {


            cout << "hmmm,yanlis cevap uzuldum =(" << endl;


        }


        cout << n[0] << "  eyfel kulesi nerededir" << endl;


        cin >> e;


        if (e == "fransa")


        {


            w++;


            cout << "Dogru cevap :) " << endl;


        }


        else


        {


            cout << "offff,bir sorun kalmisti ama =(" << endl;


        }




        if (w == 5)


        {


            cout << "evet,biiiiiiiiiiiittttttttttttttttttttttttiiiiiiiiiiiiiiiiii birinci anahatarr " << endl;


        }


        else


        {


            cout << "Maalesef Hapiste Kalacaksiniz!!!! " << endl;


            return 0;




        }




        cout << "Kapi ciz" << endl;








        cout << "IKINCI SEVIYEDESINIZ COK IYI HAYIRLI OLSUN =)" << endl;


        cout << n[0] << "HAZIRMISINIZ" << endl;


        cout << n[1] << "SIZDE PEKI HAZIRMISINIZ" << endl;


        cout << n[0] << "  arapca harfleri kac tanedir?" << endl;


        cin >> f;


        if (f == 28)


        {


            cout << "cok iyi ilerliyorsun hadii devam!!!!" << endl;


            w++;


        }


        else


        {


            cout << "maalesef!!!!!!! yanlis cevap!" << endl;


        }


        cout << n[1] << " 4.12=?" << endl;


        cin >> j;


        if (j == 48)


        {


            cout << "dogru cevap =)" << endl;


            w++;


        }


        else


        {


            cout << "yanlis cevap =(" << endl;


        }


        cout << n[0] << "  dunyanin kac tane ay'i vardir" << endl;


        cin >> h;


        if (h == 1)


        {


            cout << "evet,dogru cevap" << endl;


            w++;


        }


        else


        {


            cout << "uzgunum ama yanlis cevap verdiniz" << endl;


        }


        cout << n[1] << "  basketbol oynunda bir takimda kac oyunca bulunmaktadir" << endl;


        cin >> k;


        if (k == 5)


        {


            cout << "TEBRIKLER" << endl;


            w++;


        }


        else


        {


            cout << "maalesef yanlis cevap" << endl;


        }


        cout << n[0] << "  Arap ulkelerinin sayısı=??" << endl;


        cin >> m;


        if (m == 22)


        {


            cout << "evvet harika gidiyorsunuz !!!" << endl;


            w++;


        }


        else


        {


            cout << "maalesef yanlis cevap :(" << endl;


        }


        if (w >= 9)


        {


            cout << "IKI ANAHTARA SAHIPSINIZ SUAN KACMANIZ ICIN BIR ANAHTARINIZ KALDI" << endl;


        }


        else


        {


            cout << "maalesef Hapiste Kalacaksiniz :(" << endl;


            return 0;


        }


        cout << n[0] << "ucuncu seviyeye hazirmisiniz !!!!!!!!!!" << endl;


        cout << n[1] << "peki ya siz ????" << endl;


        cout << n[0] << "  dunya dilerinin sayisi  ??" << endl;


        cin >> o;


        if (o == 6909)


        {


            cout << "cok iyi!!!!! bence siz casuslardan kurtulabilirsiniz" << endl;


            w++;


        }


        else


        {


            cout << "yanlis cevap :(" << endl;


        }


        cout << n[1] << "  filistin'in baskenti" << endl;


        cin >> p;


        if (p == "Kudus")


        {


            cout << "evet dogru cevap verdiniz" << endl;


            w++;


        }


        else


        {


            cout << "hmm,yanlis cevap verdiniz" << endl;


        }


        cout << n[0] << " Refakatci sayisi" << endl;


        cin >> q;


        if (q == 114000)


        {


            cout << "dogru bildiniz cok iy gidiyorsunuz" << endl;


            w++;


        }


        else


        {


            cout << "yanlis cevap =(" << endl;


        }


        cout << n[1] << "  ayse bir gun bakkala gidip 10 tl'lik portakal 15 tl'lik elma 15tl'lik cilek almaktadir.buna gore ayse kac tl harcamaktadir" << endl;


        cin >> r;


        if (r = 40)


        {


            cout << "tebrikler !!!" << endl;


            w++;


        }


        else


        {


            cout << "maalesef yanlis cevap " << endl;


        }


        cout << n[0] << " turkiyede kac il bulunmaktadir" << endl;


        cin >> s;


        if (s == 81)


        {


            cout << "dogru cevap verdiniz" << endl;


            w++;


        }


        else


        {


            cout << "off maalesef son soruydu :( :( " << endl;


        }


        if (w >=12)


        {


            cout << "evet,biiiiiiiiiiiittttttttttttttttttttttttiiiiiiiiiiiiiiiiii ucuncu anahatarr " << endl;


        }


        else


        {


            cout << "Maaelesef Kaypettiniz " << endl;


        }


  cout<<"  ***             \n";

  cout<<"  * *             \n";

  cout<<"  ***             \n";

  cout<<"   *              \n";

  cout<<"   *              \n";

  cout<<"   **             \n";

  cout<<"   *   ***        \n";

  cout<<"   **  * *        \n";

  cout<<"       ***        \n";

  cout<<"        *    ***  \n";

  cout<<"        *    * *  \n";

  cout<<"        **   ***  \n";

  cout<<"        *     *   \n";

  cout<<"        **    *   \n";

  cout<<"              **  \n";

  cout<<"              *   \n";

  cout<<"              **  \n";

  cout<<"                  \n";


    }


    if (x == 1)


    {


        int l;


        cout << "enter the players age" << endl;


        cin >> l;


        if (l >= 13)


        {


            cout << "ok,you can play welcome =)" << endl;


        }


        else


        {


            cout << "sorry,your age is not suitable" << endl;


        }


        cout << "*****************************" << endl;

        cout<<"OYUNA HAZIRMISIN?????"<<endl;

        cout<< "iki basamakli en buyuk asal sayi"<<endl;

        cin>>ab;

        if(ab==99)

        {

            cout<<"evet!!!! dogruu"<<endl;

        }

        else

        {

            cout<<"ilk sorudan mi olamaz :("<<endl;

        }

        cout<<"h2o formullu hangi siviya ait"<<endl;

        cin>>bb;

        if(bb=="su")

        {

            cout<<"evvet!! dogru"<<endl;

        }

        else

        {

            cout<<"maalesef :("<<endl;

        }

        cout<<"5+7+6+4.5"<<endl;

        cin>>bc;

        if(bc==110)

        {

            cout<<"evet dogru cevap tebrik ederim"<<endl;

        }

        else

        {

            cout<<"maalesef  yanlis cevap"<<endl;

        }

        cout<<"50+59+68"<<endl;

        cin>>pp;

        if(pp == 177)

        {

            cout<<"evvvvvvvvvvveeet dogruu"<<endl;

        }

        else

        {

            cout<<"uzgunum ama yanlis cevap verdiniz=("<<endl;

        }

        cout<<"Dunyanin en buyuk enlemi"<<endl;

        cin>>v;

        if(v == "ekvator")

        {

            cout<<"evet dogru basardin BIRINCI SEVIYE TMM"<<endl;

        }

        else

        {

            cout<<"uzlmeyin ama bi sorun kalmisti uzggunuz"<<endl;

        }

        cout<<"BIYINCI SEVIYE BITTTTTTTTTTTTTTTTTTTTIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII"<<endl;

        cout<<"ikinci seviyeye hazir ol 3333 222 1111 "<<endl;

        cout<<"birgun alinin annesi aliye 100 tl verdi ondan domates,biber,salatalik getirmesini istemistir alide manava gidip 20 tllik salatalik 33 tllik domates ve 14 tllik biber almistir buna gore ali de kac para kalmistir????"<<endl;

        cin>>cc;

        if(cc==33)

        {

            cout<<"alkisssssssssss!!!!! dogru "<<endl;

        }

        else

        {

            cout<<"uzgunuz =( yapicak bir sey yok"<<endl;

        }

        cout<<"allahin isimleri kac tanedir"<<endl;

        cin>>ef;

        if(ef==100)

        {

            cout<<"TEBRIKLER!!!!!"<<endl;

        }

        else

        {

            cout<<"yeniden gorusmek dilegile !!!!"<<endl;

        }

        cout<<"dunyanin en buyuk ulkesi??"<<endl;

        cin>>am;

        if(am=="rusya")

        {

            cout<<"dogru cevap tebrikler"<<endl;

        }

        else

        {

              cout<<"yanlis cevap !!!!!"<<endl;

        }

     cout<<"bir sey var 4 ayakli ama yurmuyor o sey ne ?????"<<endl;

     cin>>ib;

     if(ib=="masa")

     {

         cout<<"cok iyisin bence sen basarabilirsin"<<endl;

     }

     else

     {

         cout<<"hmmm maalesef yanlis "<<endl;

     }

     cout<<"sari bir meyvedir tatlilarda kullanilir ve kabugunu yere atarsak digerlerinin dusmesine neden olur bu hangi meyvedir??"<<endl;

     cin>>hj;

     if(hj=="muz")

     {

         cout<<"dogru cevap terikler ama muzun kabugunu yere atmayin cevremiz ve kendimiz icun =)"<<endl;

     }

     else

     {

         cout<<"yanlis cevap cevap muz  du sizi sonradan gorusmek dilegile bol sans"<<endl;

     }

     cout<<"BITTII!!!!!!!! UCUNCU SEVIYEYEYE HOSGELDINIZ "<<endl;

     cout<<"hazirmisiniz???"<<endl;

     cout<<"turuncu bir meyve ya da sebzedir bilinmyor gozlerimiz icin faydalidir bu hangi meyve ya da sebzedir???"<<endl;

     cin>>jd;

     if(jd=="havuc")

     {

         cout<<" dogru cevap diger soru icin bol sans !!"<<endl;

     }

     else

     {

         cout<<"yanlis cevap uzgunuz good bye =("<<endl;

     }

     cout<<"ingilizcede kac harf bulunmaktadir?"<<endl;

     cin>>ff;

     if(ff==26)

     {

         cout<<"dogru cevap tebrik ederim!!"<<endl;

     }

     else

     {

         cout<<"yanlis cevap maalesef!!"<<endl;

     }

     cout<<"futbolda bir takimda kac oyuncu vardir?"<<endl;

     cin>>qw;

     if(qw==11)

     {

         cout<<"dogruuu !! tebrikler"<<endl;

     }

     else

     {

         cout<<"yanlis cevap verdini uzgunuz"<<endl;

     }

     cout<<"bir saat kac dakikadir"<<endl;

     cin>>et;

     if(et==60)

     {

         cout<<"TEBRIKLER BIR SORUNUZ KALDI"<<endl;

     }

     else

     {

         cout<<"maalesef yanlis cevap"<<endl;

     }

     cout<<" bir sey var ondan 3 tane alirsan burdan kacabilirsin bu sey ne??"<<endl;

     cin>>fg;

     if(fg=="anahtar")

     {

         cout<<"evvet anahtar suan 3 anahtara sahipsiniz kacabildiniz tebrikler!!"<<endl;

     }

     else

     {

         cout<<"maalesef cevap anahtardi =("<<endl;

     }

  cout<<"buyrun anahtarlariniz"<<endl;

  cout<<"  ***             \n";

  cout<<"  * *             \n";

  cout<<"  ***             \n";

  cout<<"   *              \n";

  cout<<"   *              \n";

  cout<<"   **             \n";

  cout<<"   *   ***        \n";

  cout<<"   **  * *        \n";

  cout<<"       ***        \n";

  cout<<"        *    ***  \n";

  cout<<"        *    * *  \n";

  cout<<"        **   ***  \n";

  cout<<"        *     *   \n";

  cout<<"        **    *   \n";

  cout<<"              **  \n";

  cout<<"              *   \n";

  cout<<"              **  \n";

  cout<<"                  \n";

 cout<<"GORUSURUZ!!!!!"<<endl;


    }


}

Memory challenge :)

Muzna Fattal and Motasem Abdullaziz
1 / 6

 #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;

}

}

}

}

}

}

}

}

}*/

نقي الفستق | Sort the pistachios

Yaman Al-Mansi

المشرع النهائي

Rwah saffour and Nour Aloliwi

AMONG US 2 

رؤى سفور 

نور عيلوي

#include<iostream>

using namespace std;


int main()

{

    int x,y,z,m,w,op,kk,ss,dd,vb,hh,ii,j,qq,jj,o,ff, p,oo,k,v,mm,s;

    int l=100;

    string ad,sin, li,lim, Cn,a,H2o, b, n, c;

    for(int m=1 ; m<=5; m++) {

        cout<<"+________________________+ \n";

        cout<<"| ^ |\n";

        cout<<"| |\\ |\n";

        cout<<"| | \\ |\n";

        cout<<"| |_/ |\n";

        cout<<"| | |\n";

        cout<<"| ~ ~ | ~ ~ |\n";

        cout<<"| ~ ________|______ |\n";

        cout<<"| ~ \\ / ~ |\n";

        cout<<"| ~\\ / |\n";

        cout<<"| ~ ~ ~ |\n";

        cout<<"|________________________|\n";

        cout<<"senin adın ne??\n ";

        cin>>ad;

        cout<<"kaç yaşındasın?? \n";

        cin>>y;

        if(y>9) {

            cout<<ad <<"oynabilirsin:)\n\n ";

        }

        else {


            cout<<ad <<"Ne yazık ki, oynayamıyorsun:-(\n\n ";

            break;

        }

        cout<<ad <<" 1'den 10'kadar sayı seç:-)\n\n";

        cin>>x;

        if(x<=4) {

            cout<<ad <<"sen katılsın :-) \n";

            cout<<ad <<"Bir göreviniz var!! ve bu kolay değil ve odaklanmanız gerekiyor 10 soruyu yanlış cevaplayarak bu gemiyi batırmanız gerekiyor ve böylece sayaç inecek ve bu gemi (^_-) \n";

        }

        else {

            cout<<"sen normal bir yolcusun\n\n";


            cout<<"Şu anda bir gemideyiz, güvenli bir şekilde karaya çıkmak istiyoruz. Bunun için bazı soruları çözmemiz gerekiyor çünkü puanız 100 devam edecektir bu gemide 3 katil varmış onlar bu gemiyi batırmak istiyorlar bunun için doğru cevabı vermeliyiz :-P. \n\n ";

            cout<<"1. (10-5+3.2-4=??)\n\n";

            cin>>m;

            if(m==12) {

                cout<<"çok iyi böyle devam etmliyiz^_^\n\n";


            }

            else {

                cout<<"üzgünüm ama yanlış :-{\n\n";

                l=l-10;

                cout<<"bizim puanımız maalesef :"<<l<<":-(";

            }


            cout<<""<<"2.insanın kaç eli var?? ";

            cin>>y;

            if(y==2 ) {

                cout<<"aferen sana \n";


            }

            else {

                cout<<"yaaa!!yanlış çıktı\n";

                l=l-10;

                cout<<"bizim buanımız düștü\n"<<l;

            }

            cout<<"3.Osmanlı devleti ne zaman kuruldu??\n\n";

            cin>>s;

            if(s==1299) {

                cout<<"yașasın doğruu cevaab!!!\n\n ";


            }

            else {

                cout<<"yanlış buanımız düștüü:-[\n\n";

                l=l-10;

                cout<<" puanimız"<<l<<"";

            }

            cout<<"4.Bir dakikada insan kalp atış hızı nedir??\n\n";

            cout<<"1_70-100 2_90-50 3_30-120\n\n";

            cin>>p;


            if(p==1) {

                cout<<"tebriklerr doğruu cevvab!! \n";

            }

            else {

                cout<<"yaaa yannlıış :-{\n\n";

                l=l-10;

                cout<<"puanımız :-\\n "<<l;

            }

            cout<<"5. 144 kökü nedir?? \n\n";

            cin>>k;

            if(k==12) {

                cout<<"güzzzell diğer soruya gidelim \n\n";

            }

            else {

                cout<<"ayyy allhıım yanlıș \n\n";

                l=l-10;

                cout<<"üzülme diğer soruyu yapabilirsin";

            }

            cout<<"6.Türkiye'de kaç il var?? \n\n";

            cin>>v;

            if(v==81) {

                cout<<"biliyorumdum yapabilirsin O:-)\n\n";

            }

            else {

                cout<<"off yaa cavap 81:'(\n\n";

                l=l-10;

                cout<<"puanımız daha düştü:-|\n\n"<<l<<"";

            }

            cout<<"7. İnsan vücudunda kaç kemik var? \n";

            cin>>j;

            if(j==206) {

                cout<<" çok çok iyi Cevabından etkilendim.\n ";

            }

            else {

                cout <<"biiib ya nl ıș ce va b :-(\n\n";

                l=l-10;

                cout <<"puanimiz=\n \n"<<l<<"";

            }

            cout<<"8.AB'de kaç ülke var ?? \n\n";

            cin>>jj;

            if(jj==27)

            {

                cout<<"afren sana (-:\n\n";

            }

            else {

                cout<<"ya nl ıș :-{\n\n";

                l=l-10;

                cout<<"puanımız :\n\n"<<l<<"";

            }

            cout<<" 9. (2--5--11--23--?--94)\n";

            cin>>hh;

            if(hh==47) {

                cout<<"doğruu ^o^\n";

            }

            else {

                cout <<"yaaa yanlış çıktı\n\n";

                l=l-10;

                cout <<"puanımız\n\n "<<l;

            }

            cout <<"10.alan güre bunlardan kim daha büyük \n";

            cout<<"1-çin 2-Kanada 3-Amerika\n ";

                cin>>w;

            if(w==2) {

                cout<<"doğru afren sana\n\n";

            }

            else {

                cout <<"yaaanlıș \n\n";

                l=l-10;

            }

            if(l>=50) {

                cout<<"Karaya sağ salim vardık:-D Senin sayenizde.\n";

    

            

                    }

            

            

            else cout<<"biizz öliyyooruz bizeee yardımm ediin imdat!! imdat!!\n ";

            break;


        }

        cout<<"1.(1+1+1=?)\n\n";

        cin>>oo;




        if(oo==3 ) {

            cout<<"Görevimizi unutma bu gemiyi batırmak& gerekiyor \n";


        }

        else cout<<" Sana güvenebiliriz :-)\n\n";

        l=l-10;

        cout<<"senin puanın:\n"<<l<<"";

        cout<<" 2.inanın kaç güzü var\n\n ";

        cin>>ss;

        if(ss==2) {


            cout<<"oooh yanlış cevba vermelisin\n ";


        }

        else cout<<"bravoooo!! Çok iyisin;-)\n";

        l=l-10;

        cout<<"senin puanın:\n"<<l;

        cout<<"3. Evrende kaç dünya gezegeni var? ???\n\n ";

        cin>>sin;

        if(mm==1) {

            cout<<" yaaaa!! sen katil sin yanlıș cevab vermlisin\n\n ";

        }

        else cout<<"yașasın ;) oyunu iyi anladın:-)\n\n";

        l=l-10;

        cout<<"4. (10-4+6=??)\n";

        cin>>ff;

        if(ff==12) {

            cout<<"biip yanlıș cevab \n";

        }

        else cout<<"doğruuuu ;-)\n";

        l=l-10;

        cout<<"puan azalıyoor^o^\n\n";

        cout <<"5. Suriye'nin başkenti nedir?\n\n ";

        cout<<"1-șam 2-homs 3-idlib\n ";

        cin>>o;

        if(o==1) {

            cout<<"yanlıș vermelisin \n\n";

        }

        else cout<<"afren sana doğruuu(^_-)\n";

        l=l-10;

        cout<<"puan azalıyor bu gemi batılacak \n";

        cout<<"6. Dünyanın en yüksek kulesi Dünyanın en yüksek kulesi nedir?\n ";

        cout<<" 1-Halifekulesi 2-kızkulesi 3-Eiffel \n\n ";

        cin>>ii;

        if(ii==1) {

            cout<<"yanlș cevab veeerr\n\n";

        }

        else cout<<"doğruuuu afreen \n\n";

        l=l-10;

        cout <<"puan azaliyoor\n\n"<<l;

        cout <<"7.Gökkuşağı için kaç renk? \n\n";

        cin>>qq;

        if(qq==7) {

            cout<<"yaaa yanlıș :-\\n\n";

        }

        else cout<<"yașasinnn dooğruuu\n\n";

        l=l-10;

        cout<<"puan"<<l<<"azalıyor ;-)\n";

        cout <<"8.1--2--3--4--??\n\n";

        cin>>vb;

        if(vb ==5) {

            cout<<"bu gemiyi batırmak istiyoruz\n\n";

        }

        else cout<<"yeeess Harikasın\n\n ";

        l=l-10;

        cout <<"puanımız "<<l;

        cout<<"9. (1.1000=??)\n";

        cin>>dd;

        if(dd==1000) {

            cout<<"yannnnlllıș :-{\n\n";

        }

        else cout<<"müthișsin ^_^\n\n";

        l=l-10;

        cout<<"10. (6>100)? doğru -1- yanlıș-2-";

        cin>>op;

        if(op==2) {

            cout <<" biiiip yanlış\n ";

        }

        else{ cout <<"dooğrru (^o^)\n";

        l=l-10;

          cout<<"bu gemiyi bağıracağız ^o^\n";}

if(l>=50){cout <<" güvenlik botu binin arkdașlaaar gemii batacaakk!!!!! ";} 





    }

}