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

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

Sima Al Kanawati

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

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

Today we live in a renewed and changing digital world, as it has become behind all that surrounds us in terms of business, commerce, shopping, science, invention, health, aviation and government’s Software that manages and controls it, so programming has become one of the basic sciences and its learning has become an essential part to keep pace with development And learning the foundations of artificial intelligence, which programming is the main pillar of it, and In a related context, programming teaches us to think in the same way that machines work, so a programmer is a thinker in the first place.

In this studio, students will, 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 with all available materials.

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 بكتابة ألعاب التفاعلية التنافسية التي تمكن المستخدمين من لعبها وفي الوقت ذاته سيقوم الطلاب ببناء البرنامج (اللعبة) اللوحية التي تمت برمجتها عن طريق جميع المواد المتاحة وإضافة قسم للتطوير في الخطة التالية.

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

Sima Al Kanawati

Final presentation

Dua Elhaci

لعبة الأحجار الخمسة 

لعبة التحدي والتنافس






دعاء الحجي

نسيم السبتي

#include<iostream>

using namespace std;

int main()

{

    int r;

    int m;

    cout << "how old are you" << endl;

    cin >> r;

    if (r => 10)

    {

        cout << "you can play this game" << endl;

    }

    else

    {

        cout << "you can't play this game " << endl;

    }


    cout << "How many stones do you have?" << endl;

    cin >> m;

    if (m >= 3)

    {

        cout << "you can pass to next stage" << endl;

    }

    else

    {

        cout << "you shold stay in this stage " << endl;

    }


    string x;

    cout << "Do you want to help" << endl;

    cin >> x;

    if (x == "yes")

    {

        cout << " dont throw the stones up too much" << endl;

    }

    else

    {

        cout << "you are a profssional" << endl;

    }


}

غمزة الاجرام

لار قلعةجي 

عبد الكريم قلعةجي 

http://www.arabic-keyboard.org/photoshop-arabic/  رابط يعكس الكلام 


الكود البرمجي

#include<iostream>

using namespace std;


int main()

{

string z;

     cout << "  ﺔﺒﻌﻟﺍ ﻲﻓ ﻚﺑ ﻼﻫﺍ\n";

   

string f;

cout << " ﺔﻴﺼﺨﺸﻠﻟ ﺭﺎﻴﺘﺧﻻ ﺪﻌﺘﺴﻣ ﺖﻧﺍ ﻞﻫ\n";

cin >>f;


cout << "  ﺍﺫﺍ ﺍﺪﺒﻨﻟﺎﻓ\n";

int x ; 

  cout << "10,1 ﻢﻗﺭ ﺮﺘﺧﺍ\n";

  cin >> x ;

if(x==2)

{

cout <<"ﻖﻘﺤﻤﻟﺍ ﺖﻧﺍ \n";

}

if(x==3)

{

cout << "   ﺯﺎﻤﻐﻟﺍ ﺖﻧﺍ\n";

}

if(x==1)

{

cout <<" ﺓﺮﺣﺎﺴﻟﺍ ﺖﻧﺍ\n";

}

if(x==4)

{

cout << "   ﻲﻣﺍﺮﺤﻟﺍ ﺖﻧﺍ\n";    

}

if(x==5)

{

cout << "ﻲﺿﺎﻓ ﻲﺳﺮﻛ ﺖﻧﺍ \n";

}

if(x==6)

{

cout <<  "ﻲﺿﺎﻓ ﻲﺳﺮﻛ ﺖﻧﺍ \n";

}

if(x==7)

{

cout <<"ﺯﺎﻤﻌﻟﺍ ﺪﻋﺎﺴﻣ ﺖﻧﺍ\n";

}

if(x==8)

{

cout << "ﻚﻨﺒﻟﺍ ﺮﻳﺪﻤﻟﺍ ﺖﻧا\n";

}

if(x==9)

{

cout <<" ﻝﺎﺘﺤﻤﻟﺍ ﺖﻧﺍ\n";

}

if(x==10)

{

cout <<"ﺱﻮﺳﺎﺠﻟﺍ ﺖﻧﺍ \n";

}

cout << "ًﺍﺮﻓﺍﻭ ًﻆﺣ ﻚﻟ ﻰﻨﻤﺗﺍ";

    return 0;

BINGOOOO

Husameddin Al-Samman and Obeyda Alrashidbazid

BINGO 

Husameddin Alsamman - Obeida Abazid

the code that we wrote 

الكود الذي تم كتابته

#include <cstdlib>

#include <ctime>

#include <iostream>


using namespace std;


int main() {

    srand((unsigned)time(0));

    int randomNumber;

    for (int index = 0; index < 1; index++) {

        randomNumber = (rand() % 50) + 0;

        cout << "the random number is" << endl;

        cout << randomNumber << endl;

    }

}

ID LINE

Wael ajlouni and Mohammed Alothman

عمل الطالبين : وائل عجلوني

محمد العثمان

ID LINE

هذه اللعبة عل شكل اكواد برمجية

#include <iostream>


using namespace std;


int main()

{

string firstteam1;

string firstteam2;

string firstteam3;


string secondteam1;

string secondteam2;

string secondteam3;


string name;

string name1;

string ready;

string yesorno;


cout<<"\t\t\t\t 0000000   0  0         0      0000000  0     0  000000  "<<endl;

cout<<"\t\t\t\t    0      0    0       0         0     00    0  0       "<<endl;

cout<<"\t\t\t\t    0      0     0      0         0     0 0   0  0       "<<endl;

cout<<"\t\t\t\t    0      0     0      0         0     0  0  0  00000  "<<endl;

cout<<"\t\t\t\t    0      0     0      0         0     0   0 0  0      "<<endl;

cout<<"\t\t\t\t    0      0    0       0         0     0    00  0      "<<endl;

cout<<"\t\t\t\t 0000000   0  0         000000 0000000  0     0  000000 "<<endl;


cout<<"\n\n\n\n"<<endl;


cout<<"\t\t\t\t\t\t ***************************** "<<endl;

cout<<"\t\t\t\t\t\t * A-----------B-----------C * "<<endl;

cout<<"\t\t\t\t\t\t * |  I--------L--------M  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  Y-----Z-----P  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  | $ $ $ $   |  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  |   $ $   $ |  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * H  T  S   $ $    $J  N  D * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  |   $ $   $ |  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  | $ $ $ $   |  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  |  K-----R-----X  |  | * "<<endl;

cout<<"\t\t\t\t\t\t * |  W--------q--------O  | * "<<endl;

cout<<"\t\t\t\t\t\t * G-----------F-----------E * "<<endl;

cout<<"\t\t\t\t\t\t *****************************"<<endl;



cout<<"\n\n"<<endl;

cout<<"what is your name  player one:"<<endl;

cin>>name;

cout<<"And you what is your name player two:"<<endl;

cin>>name1;


cout << "Type a symbol for your .."<<name<<"..team"<< endl;

  cin >>firstteam1;

  cin >>firstteam2;

  cin >>firstteam3;


 cout << "Type a symbol or number for your .."<<name1<<"..team"<< endl;

 cin>>secondteam1;

 cin>>secondteam1;

 cin>>secondteam3;



cout<<" ...ID LINE...Are you Ready.."<<name1<<"..and.."<<name<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


cout<<"we will start with:.."<<name<<"...turn";

cin>>ready;


cout<<"\n\n\n"<<endl;


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

cout<<" * A---------"<<firstteam1<<"---------C *"<<endl;

cout<<" * |  I------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       J--N--D *"<<endl;

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

cout<<" * |  |  K---R---X  |  | *"<<endl;

cout<<" * |  W------"<<firstteam3<<"------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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



cout<<"now it is.. "<<name1<<"..turn"<<endl;

cin>>ready;


cout<<"\n\n\n"<<endl;



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

cout<<" * "<<secondteam1<<"---------"<<firstteam1<<"---------C *"<<endl;

cout<<" * |  I------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam3<<"  |  | *"<<endl;

cout<<" * |  W------"<<firstteam3<<"------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;;

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


cout<<"And it is .."<<name<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


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

cout<<" * "<<secondteam1<<"---------"<<firstteam1<<"---------C *"<<endl;

cout<<" * |  I------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam1<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam1<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<"And it is .."<<name1<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


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

cout<<" * A---------"<<firstteam1<<"---------C *"<<endl;

cout<<" * |  "<<secondteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam3<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<" it is .."<<name<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


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

cout<<" * "<<firstteam1<<"---------B---------C *"<<endl;

cout<<" * |  "<<secondteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam3<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<name1<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;



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

cout<<" * "<<firstteam1<<"---------B---------C *"<<endl;

cout<<" * |  I------"<<secondteam1<<"------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam3<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<name<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;



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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------"<<secondteam1<<"------M  | *"<<endl;

cout<<" * |  |  Y---Z---P  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam3<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<"\n\n"<<endl;

cout<<"^_^ "<<name<<".. 1\\0 ^_^"<<endl;

cin>>ready;


cout<<name1<<".. turn "<<endl;

cout<<"\n\n\n"<<endl;



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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---Z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam1<<"  |  | *"<<endl;

cout<<" * |  "<<firstteam3<<"------q------O  | *"<<endl;

cout<<" * G---------F---------E *"<<endl;

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


cout<<"\n\n"<<endl;

cout<<"^_^ ooooh "<<name1<<".. 1\\1 ^_^"<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


cout<<"The game has become enthusiastic. The first to make the last streak is to win ^^ID LINE^^"<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


cout<<name<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---"<<secondteam1<<"  |  | *"<<endl;

cout<<" * |  W------q------O  | *"<<endl;

cout<<" * "<<firstteam3<<"---------F---------E *"<<endl;

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


cout<<name1<<".. turn "<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;


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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * H--"<<firstteam2<<"--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---"<<secondteam3<<"---X  |  | *"<<endl;

cout<<" * |  W------q------O  | *"<<endl;

cout<<" * "<<firstteam3<<"---------F---------E *"<<endl;

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


cout<<name<<"..turn"<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;

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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * "<<firstteam2<<"--T--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---X  |  | *"<<endl;

cout<<" * |  W------"<<secondteam3<<" ------O  | *"<<endl;

cout<<" * "<<firstteam3<<"---------F---------E *"<<endl;

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


cout<<name1<<"..turn"<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;

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

cout<<" * A---------B---------C *"<<endl;

cout<<" * |  "<<firstteam1<<"------L------M  | *"<<endl;

cout<<" * |  |  Y---z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * "<<firstteam2<<"--T--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---X  |  | *"<<endl;

cout<<" * |  "<<secondteam1<<"------q------O  | *"<<endl;

cout<<" * "<<firstteam3<<"---------F---------E *"<<endl;

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


cout<<name<<"..turn"<<endl;

cin>>ready;

cout<<"\n\n\n"<<endl;

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

cout<<" * "<<firstteam1<<"---------B---------C *"<<endl;

cout<<" * |  I------L------M  | *"<<endl;

cout<<" * |  |  Y---z---"<<secondteam1<<"  |  | *"<<endl;

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

cout<<" * "<<firstteam2<<"--T--S       "<<secondteam3<<"--N--D *"<<endl;

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

cout<<" * |  |  K---R---X  |  | *"<<endl;

cout<<" * |  "<<secondteam1<<"------q------O  | *"<<endl;

cout<<" * "<<firstteam3<<"---------F---------E *"<<endl;

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

cout<<"\n\n\n"<<endl;

cout<<"GAME IS OVER"<<endl;

cout<<"the WIN is"<<name<<endl;

cout<<"\n\n\n\n"<<endl;

cout<<"^-^          ^-^  ^-^ ^-^ ^-^  ^-^       ^-^  "<<endl;

cout<<" ^-^        ^-^       ^-^      ^-^ ^-^   ^-^    "<<endl;

cout<<"  ^-^ ^--^ ^-^        ^-^      ^-^   ^-^ ^-^   "<<endl;

cout<<"   ^-^    ^-^     ^-^ ^-^ ^-^  ^-^       ^-^      "<<endl;

cout<<"\n\n\n\n"<<endl;

cout<<"do you want to play again??"<<endl;

cin>>yesorno;

if(yesorno=="yes")

{

    cout<<"write ^^run^^"<<endl;

}

else

{

    cout<<"thanks you for play ^^ID LINE^^"<<endl;

}

}



Final Presentation

Tasnim Fattal and 2 OthersAreej Bitar
Rasha Al-Assad

لعبة الطفولة 

Areej betar 

Resha elasaad 

tasneem fattal

#include <iostream>

#include<iomanip>

using namespace std;

int main()

{

   cout << setfill('_');

   cout << "|"<<"Name"<< setw(15)<<"Animals"<< setw(14)<<"Plant"<<setw(14)<<"Object"<<setw(13)

       <<"Song"<<setw(12)<<"Book"<<setw(15)<<"Country"<<"|";

   cout << "\n";

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

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

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

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

   cout << "                 Please enter  words that start with letter (b)" << endl;

   cout << "\n";

    string n, a, p, o, s, b, c;

   cin >> n;

   cin >> a;

   cin >> p;

   cin >> o;

   cin >> s;

   cin >> b;

   cin >> c;

system("CLS");

    cout << "|" << "Name" << setw(17) << "Animals" << setw(16) << "Plant" << setw(16) << "Object" << setw(15)

        << "Song" << setw(14) << "Book" << setw(17) << "Country" << "|\n" ;

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

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

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

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


    int n1=n.find("b"),a1=a.find("b"),p1=p.find("b"),o1=o.find("b"),s1=s.find("b"),b1 =b.find("b"),c1 = c.find("b");

    if (n1 == 0&&a1==0&&p1==0&&o1 ==0&& s1 ==0&& b1 == 0 && c1 == 0) 

    {

        cout << "|" << n << setw(17) << a << setw(16) << p << setw(16) << o << setw(15)

            << s << setw(14) << b << setw(17) << c << "|" << endl;

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

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

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

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

    }

    else {

        cout << " You entered a wrong one try again" << endl; 

        cout << " all the words should start with (b)" << endl;

        cout << "|" << n << setw(17) << a << setw(16) << p << setw(16) << o << setw(15)

            << s << setw(14) << b << setw(17) << c << "|" << endl;

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

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

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

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

    }

    cout << "                 Please enter  words that start with letter (T)" << endl;

    cout << "\n";

    string n2, a2, p2, o2, s2, b2, c2;

    cin >> n2;

    cin >> a2;

    cin >> p2;

    cin >> o2;

    cin >> s2;

    cin >> b2;

    cin >> c2;

    system("CLS");

    cout << "|" << "Name" << setw(17) << "Animals" << setw(16) << "Plant" << setw(16) << "Object" << setw(15)

        << "Song" << setw(14) << "Book" << setw(17) << "Country" << "|\n";

    cout << "|---------------------------------------------------------------------------------------------------|\n";//اختياري وممكن التعديل عليه 

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

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

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

    int n3 = n2.find("t"), a3 = a2.find("t"), p3 = p2.find("t"), o3 = o2.find("t"), s3 = s2.find("t"), b3 = b2.find("t"), c3 = c2.find("t");

    if (n3 == 0 && a3 == 0 && p3 == 0 && o3 == 0 && s3 == 0 && b3 == 0 && c3 == 0)

    {

        cout << "|" << n2 << setw(17) << a2 << setw(16) << p2 << setw(16) << o2 << setw(15)

            << s2 << setw(14) << b2 << setw(17) << c2 << "|" << endl;

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

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

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

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

    }

    else {

        cout << " You entered a wrong one try again" << endl;

        cout << " all the words should start with (t)" << endl;

        cout << "|" << n2 << setw(17) << a2 << setw(16) << p2 << setw(16) << o2 << setw(15)

            << s2 << setw(14) << b2 << setw(17) << c2 << "|" << endl;

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

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

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

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

    }



    

}

Card's Numbers War

Cemalettin Halil and Mazen Naji

CARD'S NUMBERS WAR

By Jamal Aldeen Khalil and Mazen Naji 

#include<iostream>

using namespace std;


int main()

{

     do{

    int x;

    int y;

    int z;

    string f;

    cin >> x;

    cin >> f;

    cin >> y;



    if (f == "+" )

    {

        z = x + y;

        cout << " z = " << z;

   }


    if (f == "-")

    {

        z = x - y;

        cout << " z = " << z;

    }


    if (f == "*")

    {

        z = x * y;

        cout << " z = " << z;


           }



    if (f == "/" && y < 1 && y > -1){


        cout << "it is not divisible by zero  " << endl;


}

   if  (f == "/" ) {

        z = x / y;

        cout << "z = " << z;


}

  if  (z == 0 ) {


       cout << " my calculator cannot   calculate this equation  " <<endl;


}

}

while(true);



     }


Guerrilla Warfare

Bilal Havut and 3 OthersRama AL-Khairou
Beyan Elseyyid
Shahed Al-darj

حرب العصابات 

بيان المصري 

راما خيرو 

شهد الدرج 

#include<iostream>

using namespace std;

int main()

{



    cout << "           ■□■□■" << endl;

    cout << "           □■□■□" << endl;

    cout << "           ■□■□■" << endl;

    cout << "□■□■□■□■□■□" << endl;

    cout << "■□■□■□■□■□■" << endl;

    cout << "□■□■□■□■□■□" << endl;

    cout << "■□■□■□■□■□■" << endl;

    cout << "□■□■□■□■□■□" << endl;

    cout << "           ■□■□■" << endl;

    cout << "           □■□■□" << endl;

    cout << "           ■□■□■" << endl;

    cout << "ﺞﻧﺮﻄﺸﻟﺍ ﺔﺒﻌﻟ ﺮﻳﻮﻄﺘﺑ ﺎﻨﻤﻗ" << endl;

    cout << "ﺞﺴﻔﻨﺒﻟﺍﻭ قﺭﺯﻷﺍ . يﺮﻫﺰﻟﺍﻭ ﺮﻤﺣﻷﺍ دﻮﺳﻷﺍ نﻮﻟﺍ لﺍﺪﺑ ﺎﻨﻠﻌﺟﻭ .. ﺔﻌﺑﺭﺃ ﻦﻴﻘﻳﺮﻔﻟﺍ لﺪﺑ ﺎﻨﻠﻌﺟ" << endl;

    cout << "يﺩﺎﻨﺟ ﺔﺴﻤﺧﻭ ءاﺭﺯﻭ ﺔﺛﻼﺛﻭ ﻚﻠﻤﺑ ﺞﻧﺮﻄﺸﻟﺍ ﺔﺒﻌﻟ ﺎﻨﻠﻌﺟ" << endl;

    cout << "ﻲﻫﻭ ﻦﻴﻧﺍﻮﻘﻟﺍ ﺾﻌﺑ ﺎﻬﻟ ﺎﻨﻠﻌﺟ" << endl;

    cout << "ﻞﺋﺎﻣ ﻂﺨﺑ يﺃ ﺔﺜﺑﺎﺛ ﺮﻴﻏ تﺍﻮﻄﺤﺑ مﺎﻣﻷﺍ ﻰﻟﺇ مﺪﻘﺘﻳ نﺃ يﺪﻨﺟ ﻞﻜﻟ ﻦﻜﻤﻳﻭ .. ﺖﺑﺎﺛ ﻂﺨﺑ ﺐﻧﺍﻮﺠﻟﺍﻭ مﺎﻣﻷﺍ ﻰﻟﺇ مﺪﻘﺘﻟﺍ ﺮﻳﺯﻭ ﻞﻜﻟ ﻦﻜﻤﻳﻭ .. تﺍﻮﻄﺧ ثﻼﺛ ﻰﻟﺇ ةﻮﻄﺧ ﻦﻣ مﺎﻣﻷﺍ ﻰﻟﺇ مﺪﻘﺘﻳ نﺃ ﻚﻠﻤﻠﻟ ﻦﻜﻤﻳ" << endl;

}

X O ++

Bashar Meshemshan and Omran Al-Kasir

X O ++

BASHAR MESHMESHAN

OMRAN ALKSEIR

:اسماء المشاركين في المشروع

include <iostream>


using namespace std;


int main()

{

    int x ;


    cout << "welcome to XO++ " << endl;

    cout << "haw many times did you win?" << endl;


    cin >> x ;

    cout << " you have " <<x*5;

    cout <<" point ";

    return 0;

}