In the picture below, there are red frogs on the left and green frogs on the right and a empty space in the middle. The goal is to get all red frogs to the right and all green frogs to the left with a blank space in between. Red frogs are only allowed to move right and green frogs are only allowed to move left. Here are the kinds of moves:
Slide This is when any color frog moves one space to an empty space. This is considered one move (example in picture).
Jump This is when a frog jumps over another frog that is not the same color as the jumping frog. You are only allowed to jump over one frog, and the jumping frog has to land in a blank space. This is also considered one move (example in picture).
What is the least amount of moves it takes to achieve the goal?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
No explanations have been posted yet. Check back later!