Browse Source

Added Zodiac matches options in Horoscope game

main
fdlt3859 2 years ago
parent
commit
c7545835c5
  1. 156
      src/main/quizproject.c

156
src/main/quizproject.c

@ -2216,9 +2216,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nLike their fellow fire signs, Leo and Sagittarius, \nAries is a passionate, motivated, and confident leader who builds community with their cheerful disposition \nand relentless determination. \nUncomplicated and direct in their approach, they often get frustrated by exhaustive details and unnecessary nuances.\n");
printf("\nLike their fellow fire signs, Leo and Sagittarius, \nAries is a passionate, motivated, and confident leader who builds community with their cheerful disposition \nand relentless determination. \nUncomplicated and direct in their approach, they often get frustrated by exhaustive details and unnecessary nuances.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Aries?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nThere's never a dull moment between an Aries and Aquarius, which makes their relationship extremely exciting.\n\n");
}else{
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 4 && day >= 20) || (month == 5 && day <= 20)) { } else if ((month == 4 && day >= 20) || (month == 5 && day <= 20)) {
char horo; char horo;
@ -2228,9 +2237,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nTaureans aren't afraid to roll up their sleeves \nand work hard to earn big rewards. \nThey're ambitious, focused, and resilient and they feel most secure \nwhen steadily putting money into a savings account.\n");
printf("\nTaureans aren't afraid to roll up their sleeves \nand work hard to earn big rewards. \nThey're ambitious, focused, and resilient and they feel most secure \nwhen steadily putting money into a savings account.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Taurus?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nTaurus and Cancer seriously get each other. \nThese two zodiac signs work well with one another because they hold a tight connection both physically and emotionally. \n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 5 && day >= 21) || (month == 6 && day <= 20)) { } else if ((month == 5 && day >= 21) || (month == 6 && day <= 20)) {
char horo; char horo;
@ -2240,9 +2258,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nPlayful and intellectually curious, Gemini is constantly juggling a variety of passions, \nhobbies, careers, and friend groups. \nThey are the social butterflies of the zodiac: \nThese quick-witted twins can talk to anyone about anything. \nFind them buzzing between happy hours, dinner parties, and dance floors.\n");
printf("\nPlayful and intellectually curious, Gemini is constantly juggling a variety of passions, \nhobbies, careers, and friend groups. \nThey are the social butterflies of the zodiac: \nThese quick-witted twins can talk to anyone about anything. \nFind them buzzing between happy hours, dinner parties, and dance floors.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Gemini?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nA Gemini and Aquarius have a crazy mental and emotional connection. \nThey get each other to the fullest, like they have known one another for years \neven if it's only been months (or weeks). \n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 6 && day >= 21) || (month == 7 && day <= 22)) { } else if ((month == 6 && day >= 21) || (month == 7 && day <= 22)) {
@ -2253,9 +2280,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nCancer is the fourth sign of the zodiac and is represented by the Crab. \nThey're primarily known for being emotional, nurturing, and highly intuitive, \nas well as sensitive and at times insecure\n");
printf("\nCancer is the fourth sign of the zodiac and is represented by the Crab. \nThey're primarily known for being emotional, nurturing, and highly intuitive, \nas well as sensitive and at times insecure\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Cancer?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nCancer and Pisces are two cool water signs and instinctively have one massive cosmic connection. \nThey work well together because each one knows just who the other is and they are proud of that.\n\n");
}else{
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 7 && day >= 23) || (month == 8 && day <= 22)) { } else if ((month == 7 && day >= 23) || (month == 8 && day <= 22)) {
char horo; char horo;
@ -2265,9 +2301,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nTypical sun in Leo traits include being confident, comfortable being the center of attention, \ndrama-adoring, ambitious, loyal, fiercely protective of their nearest and dearest, \ngenerous, luxury-loving, sunny, and big-hearted.\n");
printf("\nTypical sun in Leo traits include being confident, comfortable being the center of attention, \ndrama-adoring, ambitious, loyal, fiercely protective of their nearest and dearest, \ngenerous, luxury-loving, sunny, and big-hearted.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Leo?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nThe passion is high between Leo and Sagittarius, as both signs both enjoy life and love others who feel the same. \nThey are both passionate about what they want out of this world \nand extremely encouraging in helping the other achieve any goal or dream.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 8 && day >= 23) || (month == 9 && day <= 22)) { } else if ((month == 8 && day >= 23) || (month == 9 && day <= 22)) {
char horo; char horo;
@ -2277,9 +2322,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nVirgos are logical, practical, and systematic in their approach to life. \nThis earth sign is a perfectionist at heart and isn't afraid to improve skills through diligent and consistent practice.\n");
printf("\nVirgos are logical, practical, and systematic in their approach to life. \nThis earth sign is a perfectionist at heart and isn't afraid to improve skills through diligent and consistent practice.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Virgo?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nAs both are earth signs, Virgo and Taurus really hit it off. \nEasygoing and practical in their everyday lives, their relationship is cool, calm and collected.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 9 && day >= 23) || (month == 10 && day <= 22)) { } else if ((month == 9 && day >= 23) || (month == 10 && day <= 22)) {
char horo; char horo;
@ -2289,9 +2343,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nLibras are extremely agreeable and honest people \nwho believe strongly in the importance of social connections. \nLibras are among the most fascinating and intelligent individuals on the planet, \nand they have a lot to give.\n");
printf("\nLibras are extremely agreeable and honest people \nwho believe strongly in the importance of social connections. \nLibras are among the most fascinating and intelligent individuals on the planet, \nand they have a lot to give.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Libra?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nA relationship between a Libra and Gemini is all about a strong intellectual connection. \nBoth are air signs and deep into mental stimulation.\n\n");
}else{
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 10 && day >= 23) || (month == 11 && day <= 21)) { } else if ((month == 10 && day >= 23) || (month == 11 && day <= 21)) {
char horo; char horo;
@ -2301,9 +2364,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nScorpios are known for their loyalty and devotion — and also their passion. \nIn fact, they are known to have such intense personalities that they are often confused with vibrant fire signs. \nAlas, they just have deep feelings and emotions.\n");
printf("\nScorpios are known for their loyalty and devotion — and also their passion. \nIn fact, they are known to have such intense personalities that they are often confused with vibrant fire signs. \nAlas, they just have deep feelings and emotions.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Scorpio?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nSometimes having two passionate people in a relationship doesn't work. \nHowever, if one person is a Scorpio and the other is a Cancer, it can be perfect. \nThese two water signs are intense when it comes to emotions, but that only seems to make them even more compatible.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 11 && day >= 22) || (month == 12 && day <= 21)) { } else if ((month == 11 && day >= 22) || (month == 12 && day <= 21)) {
char horo; char horo;
@ -2313,9 +2385,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nRepresented by the archer (a half-man, half-horse centaur), \nSagittarius isn't afraid to use its bow and arrow to explore expansive terrain, \nseeking answers in places and spaces others wouldn't dare venture.\n");
printf("\nRepresented by the archer (a half-man, half-horse centaur), \nSagittarius isn't afraid to use its bow and arrow to explore expansive terrain, \nseeking answers in places and spaces others wouldn't dare venture.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Sagittarius?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nSagittarius and Aries are both fire signs, \nso you can expect some serious hot passion between the two, making for a dynamite pair. \nThey have insane amounts of energy to bring into the relationship, \nwhich only grows stronger as it continues to blossom. \n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 12 && day >= 22) || (month == 1 && day <= 19)) { } else if ((month == 12 && day >= 22) || (month == 1 && day <= 19)) {
char horo; char horo;
@ -2325,9 +2406,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nCapricorns are overachievers, persistent, practical, and sensitive. \nThey're known for their hardworking habits, and they're overachievers who make success look effortless \n— even though they put a lot of time and care into their careers and relationships.\n");
printf("\nCapricorns are overachievers, persistent, practical, and sensitive. \nThey're known for their hardworking habits, and they're overachievers who make success look effortless \n— even though they put a lot of time and care into their careers and relationships.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Capricorn?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nCapricorn and Taurus have something most only daydream about: endless adoration. \nThese two lovebirds will be together forever and actually enjoy one another's company to the end.\n\n");
}else{
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 1 && day >= 20) || (month == 2 && day <= 18)) { } else if ((month == 1 && day >= 20) || (month == 2 && day <= 18)) {
char horo; char horo;
@ -2337,9 +2427,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nAquarius is actually the final air sign, which means it deals with air-related concepts from a macro-perspective. \nOf all the zodiac signs, Aquarius is undoubtedly the most innovative, progressive, rebellious, and humanitarian.\n");
printf("\nAquarius is actually the final air sign, which means it deals with air-related concepts from a macro-perspective. \nOf all the zodiac signs, Aquarius is undoubtedly the most innovative, progressive, rebellious, and humanitarian.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Aquarius?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nAquarius and Gemini are both air signs that have a killer psychological connection. \nAnd it goes deep—really deep, like finishing each other's sentences. \nTheir relationship is almost mystical because it's one no one else can comprehend.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else if ((month == 2 && day >= 19) || (month == 3 && day <= 20)) { } else if ((month == 2 && day >= 19) || (month == 3 && day <= 20)) {
char horo; char horo;
@ -2349,9 +2448,18 @@ void v_horoscope(int day, int month){
scanf(" %c", &horo); scanf(" %c", &horo);
horo = toupper(horo); horo = toupper(horo);
if (horo == 'Y'){ if (horo == 'Y'){
printf("\nPisces people are known for being emotionally sensitive, gracious, and emotionally aware. \nPisces characters are regarded for being among the most sympathetic of the zodiac signs, \nand they will go to great lengths to ensure the happiness of those around them. \nThey're also creative and imaginative.\n");
printf("\nPisces people are known for being emotionally sensitive, gracious, and emotionally aware. \nPisces characters are regarded for being among the most sympathetic of the zodiac signs, \nand they will go to great lengths to ensure the happiness of those around them. \nThey're also creative and imaginative.\n\n");
}else{
printf("\nOkay no worries! But you missed the fun!\n\n");
}
printf("Do you want to know which Zodiac matches the best with Pisces?\n");
printf("Your Answer(Y/N): ");
scanf(" %c", &horo);
horo = toupper(horo);
if (horo == 'Y'){
printf("\nAnother pair that's very intuitive to one another is Pisces and Scorpio. \nThese two zodiac signs can get into each other's minds \nand know what they are thinking almost as well as if they were thinking it themselves. \nBut they aren't just into intellect; \nthey both have a hunger to understand the other's body and soul \nand learn what makes the other person tick.\n\n");
}else{ }else{
printf("Okay no worries! But you missed the fun!");
printf("\nWe all match! I don't believe in it either!\n\n");
} }
} else { } else {
printf("Invalid birth date.\n"); printf("Invalid birth date.\n");

Loading…
Cancel
Save