Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a program to model a round of CARDS AGAINST HUMANITY with one player only (you). From cards.txt display the first 5 cards. From statements.txt

Write a program to model a round of CARDS AGAINST HUMANITY with one player only (you). From cards.txt display the first 5 cards. From statements.txt display the first statement. Then, prompt for a number which should correspond to the order of the cards being displayed. Once correctly chosen, display the statement with the card . The program should run until it runs out of statements OR the user does not want to play anymore

write program using c++ language

ASE 80% marks Write a program to model a round of CARDS AGAINST HUMANITY with one player only (you). From cards.txt display the first 5 cards. From statements.txt display the first statement. Then, prompt for a number which should correspond to the order of the cards being displayed. Once correctly chosen, display the statement with the card where was. TIER 1 85% marks BASE + Keep a log of all completed sentences in an output file called results.txt. TIER 2 95% marks BASE + TIER 1 + The program should run until it runs out of statements OR the user does not want to play anymore. Every time a card is used, replace it with the next one from cards.txt. TIER 3 100% marks BASE + TIER 1 + TIER 2 + Let the 5th card be an option to prompt the user to input a NEW card. TIER 4 100% marks + 10% (bonus) BASE + TIER 1 + TIER 2 + TIER 3 + Choose the statements and cards to be displayed at random. Do not repeat them.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

d. How were you expected to contribute to family life?

Answered: 1 week ago