Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project 3 Maze Runner Due: 10th October 2017 Overview In this project we will revisit the logic of maze solving from earlier in the course,

image text in transcribed

image text in transcribed

image text in transcribed

Project 3 Maze Runner Due: 10th October 2017 Overview In this project we will revisit the logic of maze solving from earlier in the course, this time providing an act ual C implementation to solve the problem. In the course of this project, you will get more practice with all of the fundamental programmatic structures of C as well as experience using external library code. Finally you will need to create your first real . ' file so that your code can be interfaced with externally Submission Instructions Submit only the .c and .h files that you created along wit h your Makefile, but do not zip them! Additionally, be sure your makefile produces an executable called "maze runner" so that my test script can run it Technical Description and Instructions In this project, you will not write a full program. I have already written most of a program to solve randomly generated mazes. The parts that I have written generate the maze and provide functions through which the maze can be interacted with. Additionally, the parts that I have written rely on calling some functions that will solve the maze. Implementing those functions is your job! Your Two Files You must create two files for this project: "runner.c" and 'runner.h". Runner ".h" should expose two functions to the rest of the program called runner solve() and runner_init(). The first function will utilize the maze library functions I've provided to solve a maze1. The second function simply performs any setup necessary for the runner_solve() function to run. These two functions should be implemented in the "runner.c" file You may create as man helper functions as necessary to support your runner_solve() function2. Likewise, you may use any reasonable algorithm to actually solve the maze. Your runner must leave behind a trail of breadcrumbs' as it moves through the maze (see ?? for details) Program Output Program output is actually handled for you on this one! The maze runner.c file I've provided for you will cal print_maze ) for you to show both the unsolved maze and the maze after your runner has finished However, you must accurately show the path that was taken by your algorit hm to solve the maze. This is done by using the maze_set_char) function as your 'runner moves through the maze. When the runner crosses an empty square, it should leave a '.' behind. When t crosses a '.', it should leave an 'o behind. 1Descriptions of these maze library functions are in the comments of the mazelib.h file provided. 2My implementation has around five Project 3 Maze Runner Due: 10th October 2017 Overview In this project we will revisit the logic of maze solving from earlier in the course, this time providing an act ual C implementation to solve the problem. In the course of this project, you will get more practice with all of the fundamental programmatic structures of C as well as experience using external library code. Finally you will need to create your first real . ' file so that your code can be interfaced with externally Submission Instructions Submit only the .c and .h files that you created along wit h your Makefile, but do not zip them! Additionally, be sure your makefile produces an executable called "maze runner" so that my test script can run it Technical Description and Instructions In this project, you will not write a full program. I have already written most of a program to solve randomly generated mazes. The parts that I have written generate the maze and provide functions through which the maze can be interacted with. Additionally, the parts that I have written rely on calling some functions that will solve the maze. Implementing those functions is your job! Your Two Files You must create two files for this project: "runner.c" and 'runner.h". Runner ".h" should expose two functions to the rest of the program called runner solve() and runner_init(). The first function will utilize the maze library functions I've provided to solve a maze1. The second function simply performs any setup necessary for the runner_solve() function to run. These two functions should be implemented in the "runner.c" file You may create as man helper functions as necessary to support your runner_solve() function2. Likewise, you may use any reasonable algorithm to actually solve the maze. Your runner must leave behind a trail of breadcrumbs' as it moves through the maze (see ?? for details) Program Output Program output is actually handled for you on this one! The maze runner.c file I've provided for you will cal print_maze ) for you to show both the unsolved maze and the maze after your runner has finished However, you must accurately show the path that was taken by your algorit hm to solve the maze. This is done by using the maze_set_char) function as your 'runner moves through the maze. When the runner crosses an empty square, it should leave a '.' behind. When t crosses a '.', it should leave an 'o behind. 1Descriptions of these maze library functions are in the comments of the mazelib.h file provided. 2My implementation has around five

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

Neo4j Data Modeling

Authors: Steve Hoberman ,David Fauth

1st Edition

1634621913, 978-1634621915

Students also viewed these Databases questions

Question

Describe the senses of taste and smell.

Answered: 1 week ago

Question

What are the objectives of Human resource planning ?

Answered: 1 week ago

Question

Explain the process of Human Resource Planning.

Answered: 1 week ago