Overview
A maze is a networks of paths in which it is hard to find the exit.
What you must do
You must code a maze game in a 2D array of 20 rows by 30 columns. The player starts at an index of
the 2D array, at one of the edges of the array, and the exit of the maze is on another index, at another
edge of the array. The player wins as soon as he or she reaches the exit.
Note: you must use functions, and at least 2 functions must be recursive.
The maze’s representation in the 2D array
To simplify things, the game will be printed to the screen with textual characters. And so, the player
will be represented by a P, the exit will be represented by an E, an obstacle will be represented by an X,
and a path will be represented by a space.
Your program, step by step
First, the 2D array is shown (printed) on the screen, showing the player, the exit, the obstacles, and
the paths.
Second, you use a prompt to ask the player to enter a direction, using the following message:
Which way do you want to go?
The direction entered by the player can be: up, down, left, or right. The directions can also be
represented by the letters u, d, l, r.
If the player's input is invalid, either because it is not one of the valid words (or letters) or because the
direction entered goes into an obstacle or outside the array, you print the message “invalid
direction” to the screen and you ask the player for a direction again.
If the player's input is valid, you move on the to the next step.
Third, the 2D array is shown (printed) on the screen again with all of its information, showing the
player in his/her new position, the exit, the obstacles, and the paths.
Fourth, the program detects if the player (P) has reached the exit (E). If yes, then the message “You
have reached the exit!” is shown on the screen, and the program ends. If the player has not
reached the exit, the program goes back to the second step.
I am very proficient in c and c++. I have 18 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
Hello
I am Java and Algorithm expert and interested in the project. I have reviewed details of the maze program you posted and confident to handle it perfectly. I will keep codes simple and well documented.
Please communicate to discuss further.
Regards
Anshu
Hi there,
Being an expert in C, and C++ programming I can do this project for you. please leave a message on my chat so we can discuss the budget and deadline of the project. Also, have a look at my profile for my reviews and portfolios. Thanks
Note: This is not an automated bid and i'm ready to discuss your project right now.
..
.
I am writing this proposal in order to work for you in Software and Web Development. We are highly trained professional developers seeking to freelance and earn online.
Having a flair in programming and development I have been excellent with JAVA,C#,C/C++ and PHP programming language along with MySQL with XAMPP Server. I also build application for Cloud computing and High performance computing as I also have knowledge regarding Hadoop, MPI, OpenMP (distributed frameworks) and also have build applications in CUDA C++ and OpenCL. I also have experience with the most famous framework ASP.NET. My most expertise are in JAVA where I have built countless projects for semester projects and Final year project.
You may find many developers in this field however we assure that you will not be able to find a team like us. We not only ensure the code is quality wise but we also assure that the code we write are optimised and we ensure that the program performs right operation under right environment i.e. we create programs that are defect free. You may also find freelancers that cost low but they do not put their 100% which then shows in the software and leads to an unhappy customer. We ensure reasonable price are put as tag on the job and we ensure in order to give the write product.
We highly appreciate your time, if you are interested kindly let me know
hi, I have read the details of the project. I have worked as a Windows desktop/embedded *C/C++(MT4, 5)/C#
developer for over 6 years,
I have completed many simple and complex projects with Visual Studio and C++, some linux-things too, I also do JAVA tasks on eclipse and netbeans. I have the knowledge of how to debug PHP issues,wordpress plugins that are buggy and need fixes.... or some extra functionality is needed.
I also like doing Javascript frontend things - especially some WebGL, SVG or similar graphics/canvas related things
I would be glad if the opportunity of doing this task can be given to me. i'll await your message to have more discussion with you on the project.
Kindly check my profile https://www.freelancer.com/u/mzdesmag to see my past works and reviews.
Thanks.
Hi, I have read your project and found it quite similar to the projects and researches that I have done in the past, as a Java developer and AI researcher. Some of my work include: human activity recognition, urban sound / images classification as well as domain adaptation of images and time-series data. Contact me if you are interested.
Hey man, this project sounds like a lot of fun. It will probably requires two recursive functions, one to generate the maze and one to check if the maze has a path to exit. The rest is just a loop until we find the exit. Looks doable to me! I need to know what programming language you are making it in though, can help you if it's in Java, C, C++ or C#. I can also write down a detail explanation of what I did so you can follow. Interested? Let me know.
Also I'm just a beginner so I'd do it the cheapest and my code will probably looks the least suspicious lol.
I am a computer scientist and proficient with C++, Python, Data structures and algorithms.
The problem seems to be an easy implementation problem.
The project seems to be easy and I am ready to code it out.
I can also give the project an intutive GTK interface if needed.
I will write the whole code in an object oriented manner.
You can check my profile at codeforces, codechef and other programming sires with handle @pathakcodes
Hoping for acceptance.
Hello there. I'm a ambitious Java Software Engineer and I can do this job for you in 2 days max.
I am new on the site, but am experienced Java programmer.
For additional information feel free to send me a message.
Best regards,
Dusan
I am very passionate about computer science, and I have 6 years of computer programming experience in Java, JavaScript, and C++ language programming.
For the 2 recursion function, I will probably use recursion for maze generation, and also use recursion on the generated maze to find the minimum step path, to make sure the maze is not too easy and short.
The rest would be simple game cycle.
If you accept my proposal, I can start doing it as soon as your acceptance and deliver it in a time probably shorter than listed above (probably in 1 day).
Hello. I'm new here. But I can do it in 1-2 hours max. Already done a similar game for university. The only question I have.. the maze is hardcoded? Or it is a generated one?
If it is an hardcoded one or read from an input file, then as I said 1-2 hours max, for a generated one then 1 day.
This sounds interesting. I was doing some research on maze generating algorithms and it seems preety straightforward.
Java would be my programming language of choice.
Let me know if you're interested in working with me.