Find Your Way Out!

Ditutup Disiarkan 6 tahun lepas Dibayar semasa penghantaran
Ditutup

Project description:

Write a C++ program that, given a starting point, finds its way out of a maze. The maze’s map will be read from a file at

the start of the program. Your code must work for all legal mazes. The maze is a rectangular grid represented as a 2D

array, and the exit (if there is one) should be placed on an outer row or column of the play area. The program should

run until the exit to the maze is found or until it determines that there is no exit (after exploring all traversable cells).

Exploration of the maze is done by recursively invoking a function and marking the cells visited with a special character

(an electronic bread crumb to keep from reprocessing explored cells). The legal moves are to cells adjacent but not

diagonal to the cell currently occupied. The maze should be solved through recursive calls and backtracking, and not by

looking ahead. If the specially marked exit cell is encountered the game should exit with a message that the exit was

found. Otherwise, after exploring the whole maze, a message is output stating that there is no exit.

Pengaturcaraan C++

ID Projek: #16529963

Tentang projek

4 cadangan Projek jarak jauh Aktif 6 tahun lepas

4 pekerja bebas membida secara purata $15/jam untuk pekerjaan ini

Yknox

Hi, I am Eric Wang, Software Engineer in China. I've just read your job posting and I am very interested. I'm a certificated freelancer with over 1000 good reviews from clients. I have experienced knowledge in ev Lagi

$8 USD / jam
(622 Ulasan)
8.8
hbxfnzwpf

I am very proficient in c and c++. I have 16 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 environ Lagi

$15 USD / jam
(141 Ulasan)
7.0
Puchkoff

Hello. I have worked with such a project and may do it in 12-15 hours

$11 USD / jam
(0 Ulasan)
0.0
Iulianmaciuca02

the problem is almost done and it can be delivered 2night

$27 USD / jam
(0 Ulasan)
0.0