Skip to content

Developing our search agent that takes a Search Problem and returns its solution using the A* algorithm.

Notifications You must be signed in to change notification settings

shizakhalidi/Frog-Game-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Frog-Game

Puzzle:

The puzzle involves seven rocks and six frogs. The seven rocks are laid out in a horizontal line and numbered left to right. The six frogs are evenly divided into a green trio and a brown trio. The green frogs sit on Rocks 1, 2, and 3, facing right. The brown frogs sit on Rocks 5, 6, and 7, facing left. Rock 4 is vacant. The challenge is to transpose the trios, jumping the green frogs to Rocks 5, 6, and 7 and the brown frogs to Rocks 1, 2, and 3. Their movement is restricted. A frog can only jump forward, either hopping to a vacant rock one place ahead (cost =1) or leaping over its neighbor frog to a vacant rock two places ahead (cost = 2).

Developing our search agent that takes a Search Problem and returns its solution using A* algorithm.

About

Developing our search agent that takes a Search Problem and returns its solution using the A* algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages