Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello there! I tried to make a maze game in. c++ langauge. However, I have some issues. First of all, I want to keep only

Hello there!

I tried to make a maze game in. c++ langauge. However, I have some issues.

First of all, I want to keep only one image and only moving robot("X") but when I run my code, bunch of images(map) came out even the wall("+") is removed.

Could you help me my code? I will paste my code here and my results.

C.F] I have to keep 3 functions that are

void create_maze(int &row_robot, int &column_robot ); void show_maze(int row__robot, int column_robot); bool robot_move(int &row__robot, int &column_robot);

image text in transcribed

How many moves: 0 How many moves: 1 How many moves:2 How many moves: 3

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

Fundamentals Of Database Systems

Authors: Sham Navathe,Ramez Elmasri

5th Edition

B01FGJTE0Q, 978-0805317558

More Books

Students also viewed these Databases questions