Storniert

C++ Programmierung Job by spooky999

Description of the project :

The frog jumping puzzle consists of 6 frogs,3 of which are green(on the left) and 3 of which are brown (on the right) sitting on either [url removed, login to view] the center of them there is an empty water [url removed, login to view] objective of the puzzle is to switch their sides i.e. all green frogs to go to the right and all brown frogs to go to the left.

legal moves:

1.A frog can only jump to an empty water-lily.

2.A frog can only jump over at most one other frog of different color.

3.A frog can only jump forward(in direction they are facing,i.e. green frogs jump right and brown frogs jump left).

Write program in c++ that sovles the above problem using DEPTH-FIRST [url removed, login to view] output of the program should clearly indicate the path towards the [url removed, login to view] output should be given in terms of instructions in english referring to the position of the frog(number the places 1 to 7 from the left to the right) and its [url removed, login to view] example,starting from the initial state one solution to the puzzle(possible output of your program) is the following:

Jumps as follows:

Green frog on place 3

Brown frog on place 5

Brown frog on place 6

Green frog on place 4

Green frog on place 2

Green frog on place 1

Brown frog on place 3

Brown frog on place 5

Brown frog on place 7

Green frog on place 6

Green frog on place 4

Green frog on place 2

Brown frog on place 3

Brown frog on place 5

Green frog on place 4

Thanks a lot for your time and i would really appreciate it if u answered me as soon as possible.

Fähigkeiten: C++ Programmierung

Mehr sehen: starting objective c, project 4 u, jump forward, depth first search program, depth first search example, depth first search , depth first, brown and brown, all state legal, custom write, puzzle problem, lily, Jumping, jumping frog, description of project, custom program, frog moves forward, write program frog jumps, objective project, program frog jump puzzle, puzzle problem using, program jumping frog, frogs problem, jumping frogs solution, custom description

Über den Arbeitgeber:
( 1 Bewertung ) manchester, United Kingdom

Projekt-ID: #1312933

1 Freelancer bietet im Durchschnitt €60 für diesen Job an

srinichal

Hired by the Employer

€60 EUR in 2 Tagen
(59 Bewertungen)
6.6