1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95
|
//Made for: History homework 7th grade.
//Started on: 9/28/12
//Ended on: 9/29/12
#include <iostream>//NEEDED FOR NAMESPACE STD
#include <Windows.h>//NEEDED
#include <conio.h>//NEEDED
#include <ctime>//NEEDED
#include <cstdlib>//NEEDED
using namespace std;
int PAUSE(){
char PAUSE;
Sleep(300); cout << "PRESS ANY KEY TO CONTINUE!"; PAUSE=getch(); system("CLS");
return 0;
}
int CLR(){system("cls"); return 0;}
int main(){
cout << "This is a program made for my 7th grade history class.\n";
PAUSE();
CLR();
cout << "You will see which Native American tribe will win if they fought.\n(It will be different every time.)\n";
PAUSE();
CLR();
cout << "When using this app, press 'esc' to exit when you are asked to enter the tribe\nnumber, or enter '0'.\nThis will all make sense after you continue.\n\n";
PAUSE();
CLR();
while ( 1 ){
char T;
cout << "Listed Native American Tribes:\n\t1.Caddos\n\t2.Karankawas\n\t3.Coahuiltecans\n\t4.Comanches\n\t5.Tonkawas\n\t6.Apaches\n\t7.Jumano\n\t8.Kiowas\nTYPE 0 TO EXIT.\n";
cout << "Enter a Texas Native American tribe number: (This is the attacker.)\n";
T=getch();
if (T == VK_ESCAPE){
exit(EXIT_SUCCESS);
}
if ((T != '0') && (T != '8') && (T != '1') && (T != '2') && (T != '3') && (T != '4') && (T != '5') && (T != '6') && (T != '7')) {
system("CLS");
cout << "\nTHAT IS NOT A CHOICE!\n";
system("PAUSE");
goto END;
}
int tribe = 0;
int de = 0;
system("cls");
if (T == '1'){
cout << "Stats:\n\t-Southeastern Culture\n\t-Permanent Villages\n\t-East Texas Timberlands\n\t-Dome-shaped homes made of mud, straw, and poles\n\t-Friends with French, sometimes fought Europeans\n\t-Had a government system, farmed, fished,\n\t engaged in warfare, and traded.\n\n";
system("PAUSE");
tribe = 1;
}
if (T == '2'){
cout << "Stats:\n\t-Gulf Coast Culture\n\t-Nomads\n\t-Between Galveston and Corpus Cristi Bays\n\t-Easly movable homes\n\t-Killed off by settlers\n\t-Caught fish, made canoes, and made waterproof pottery\n\n";
system("PAUSE");
tribe = 2;
}
if (T == '3'){
cout << "Stats:\n\t-Southeastern Culture\n\t-Nomads\n\t-South Plains\n\t-Easily movable homes\n\t-killed in battle before the U.S. was a country.\n\t Surviors moved to Mexico.\n\t-Used plants for medicine\n\n";
system("PAUSE");
tribe = 3;
}
if (T == '4'){
cout << "Stats:\n\t-Plains Culture\n\t-Nomads\n\t-Parts of Mexico, Texas, Kansas, Oklahoma, Colorado, and New Mexico\n\t-Easily moveable homes\n\t-Europeans killed buffalo and removed their food supply\n\t-Controlled the land that the Apaches used to own\n\n";
system("PAUSE");
tribe = 4;
}
if (T == '5'){
cout << "Stats:\n\t-Plains\n\t-Nomads\n\t-Present day Austin\n\t-Easily moveable homes, made of buffalo skin\n\t-Constantly at war\n\t-Lost many people because of war\n\n";
system("PAUSE");
tribe = 5;
}
if (T == '6'){
cout << "Stats:\n\t-Plains\n\t-Nomads\n\t-Rocky Mountains far north of Texas\n\t-Easily moveable homes\n\t-Warlike and lost war with Europeans. Moved to reservations.\n\t-Abandoned hunting grounds because outnumbered\n\n";
system("PAUSE");
tribe = 6;
}
if (T == '7'){
cout << "Stats:\n\t-Pueblo culture\n\t-Plains near Rio Grande\n\t-Permanent homes\n\t-Adobe (mud, straw, sticks)\n\t-Conflict with Apaches because of Spaniards\n\t-Traded agiculture\n\n";
system("PAUSE");
tribe = 7;
}
if (T == '8'){
cout << "Stats:\n\t-Plains culture\n\t-Nomads\n\t-Plains of Texas\n\t-Tepees made of sticks and animal hides\n\t-Warlike\n\t-Allies with Comanches\n\t-Made glue\n\n";
system("pAUSE");
tribe = 8;
}
if (T == '0'){
exit(EXIT_SUCCESS);
}
system("CLS");
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|