Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MAZE TXT IS BELOW CISP 430 Assignment 4 Spring 2019 Recursive Maze Algorithm Implementation Write a program to find all solutions to the maze shown.

image text in transcribed

MAZE TXT IS BELOW

image text in transcribed

CISP 430 Assignment 4 Spring 2019 Recursive Maze Algorithm Implementation Write a program to find all solutions to the maze shown. Your program may use hard-coded array initialization to define the maze. The output should be a character string of the form: solution was found at: (3, 8) (4, 8) (4, 7) (5, 7) (6, 7) (6, 6) (7, 6) (8, 6) (8, 7) (8, 8) A solution was found at: 7) (6, 7) (6, 6) (7, 6) (7,5) (8, 5) (8, 6) (8, 7) (8, 8) etc...for all possible solutions A o02n, a 3 24).8.8),(2.6)(1.6)(1. 7,(.8,(2.8) Resources: There is a Visual Basic executable version you may want to use to check your answers. All the C++ code for this lab is available in the class notes except for the recursive algorithm details which you have to write. Requirements 1) You MUST base your solution on the supporting code structure and functions provided. (Although you may translate it into another language if you wish) You MUST use a recursive build algorithm similar to that in the N-Queens problem. (Also 2) 3) 4) You MUST use the maze txt data provided in the demos for submission of final solutions. Your program must find and output ALL the TEXT solutions to the maze. 1,0,0,0,0,0,0,0,0,1 1,0,,1,,0,,0,0,1

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

Students also viewed these Databases questions