C script project – C programming language Hi ,,
I have a project to create a C script that will find the path for princess PEACH. Please read through all the project description attached first.
Basically, the mazes are multi dimensional arrays. The code has to work with any maze. It will be tested using the 6 mazes provided in the file in addition to other mazes ( arrays).
For example, to create the maze, it will be in this format :
int a[3][4] = {{0, 1, 2, 3} ,/* initializers for row indexed by 0 */{4, 5, 6, 7} ,/* initializers for row indexed by 1 */{8, 9, 10, 11}/* initializers for row indexed by 2 */ };
However, the array has to consists of rows and columns.
To get a good idea about the output, please look at the last page in the project description. The user has to input the locations of princess and mario, then the program will point out all the turns she made to avoid all the fives. Also, the program at the end will point out the junctions. The junction is where the princess encounter the junction which leads to more than one path.
The PseudoCode for this project is due 4 days after the tutor gets assigned to the question. ( please see requirements for the PseudoCode in the project description).
Once you are finished with the project, please give me couple paragraphs explaining the following :
1- the PseudoCode
2- the process of the code
3- how the code works based on the given PseudoCode
What should be used in this project is C language with only the following concepts :
( input and output ,loops, array, user defined functions ( C preprocessor, Macros, and header file.) )
Please don’t go beyond these concepts in creating the script.
Please read the project description carefully, and ask me if you have any questions.
Thank you very much ,, TAKE HOME PORTION OF EXAM 2.
60% of your grade for the second exam will be decided by this take home portion
of the exam. It is a multistage task. Please follow the instructions on the
submission deadline carefully.
STAGE 1:
PseudoCode
BOTH HARDCOPY
SHOULD BE AND
SOFTCOPY
TURNED IN!
STAGE 2:
.
STAGE 3:
Coverage
35% of the Take home.
PseudoCode should be
well detailed in order to
explain every possibility
on decision making
process, outcome,
repetition, and etc. in
order to achieve the goal.
35% of the Take home
Script that can handle
Array 1 and 2. Use user
defined functions on
choosing paths when
Peach encounters a
junction that lead to more
than one path.
30% of the Take home
Script that can handle
Array 1 to 6. Use user
defined functions on
choosing paths when
Peach encounters a
junction that lead to more
than one path.
Also, add conditions that
will exclude paths that
had led to dead ends when
the processor REVISITs
to same junction to
choose different paths.
Submit by
5:00 pm March
19th
HARDCOPY
YES – TO the
instructor or
Department Office
SOFTCOPY
YES – On Canvas
11:59 pm
March 26th
No
YES On Canvas
11:59 pm
Apr 9th
No
YES On Canvas
For the PSEUDOCODE, Your Instructor will grade your PseudoCode. It can be
written form or graphical representation by using flow chart. Neither hand
written nor hand drawns will be accepted. THOSE HAND WRITTEN OR
HAND DRAWNS WILL GET ZERO AUTOMATICALLY.
Save Mario NOT Princess PEACH. (Yes, this is 21st century.)
Objective:
Create a C script that will find a path that your heroine, Princess Peach may travel
to save Mario.
How it works
0. The user should be prompted to type in the Cell locations of the Entrance (for
Peach) and of the Exit (Where Marios cage is placed.)
Entrances are on the first row (Regardless of column number) or the first
column (Regardless of the row number) while Exits are on the last row (Regardless
of column number) or the last column (Regardless of the row number). (I.E. For
the Maze_Array on the previous page, (1,3) should be used for the Entrance and
(8,22) should be used for the Exit.)
1. 5 cells in the array indicate brick wall that she cannot cross. Remember, she is
Princess Peach not Ralph from Wreck it, Ralph!
2. 0 cells with no walls in the array indicate safe passages that Peach can travel.
3. With each iteration, Princess Peach can move forward, backward, upward,
downward, to the right, or to the left by one cell.
4. When she faces a dead end, she needs to go back and take a different path.
5. The Princess cannot see the whole design of the Maze. She does not know how
paths are connected. Neither do you. (in other words, YOU cannot assist Peach
with Choosing the right PATH Your job is creating user defined functions
based on logic for her to use.)
6. Repeat the steps 3 and 4 until she finally saves Mario.
7. Your final script will be tested with different Maze_Array that you will not find
on this assignment set.
8. Create 7 minutes Youtube video that will explain the process 1). Your
Pseudocode. 2). How your script works based on your Pseudocode. 3). Upload
and send the link to the instructor and TAs by 11:59 pm Apr 9th.
Maze_Array1
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
5
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follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.
Professional and Experienced Academic Writers
We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.
Free Unlimited Revisions
If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.
Prompt Delivery and 100% Money-Back-Guarantee
All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.
Original & Confidential
We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.
24/7 Customer Support
Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.
Essays
No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.
Admissions
Admission Essays & Business Writing Help
An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.
Reviews
Editing Support
Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.
Reviews
Revision Support
If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.