Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Make a 20x20 maze in c++ with the char * have 4 randomly generated lattes in maze and 4 randomly generated coffee in maze and

Make a 20x20 maze in c++ with the char * have 4 randomly generated lattes in maze and 4 randomly generated coffee in maze and one randomly generated monster in maze these are hidden.
Have randomly generated player in game
P represents player and replaces * in that spot then updates the maze and position of player after each input of direction the player enters followed by outputting do you want to continue after each input if no program stops otherwise continues. If player finds latte prints out found latte counts up and program ends when he finds all 4 and prints out you win. If coffe found prints out game over and ends program. If monster is found prints found monster and still prompt do you want to continue .
For examples and further help use the example in the photos I have given below and further hep with details. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
example Bela generate dodo Maze with-Char!\ , have the Pfogram S,e after each inpot program S TDo ou want to Conalne yes Centinue noceaiereton have rand om Declare Lattc Loffee, Coffeemas ted example Bela generate dodo Maze with-Char!\ , have the Pfogram S,e after each inpot program S TDo ou want to Conalne yes Centinue noceaiereton have rand om Declare Lattc Loffee, Coffeemas ted

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

Step: 3

blur-text-image

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

2. Do you find change a. invigorating? b. stressful? _______

Answered: 1 week ago