The object of the puzzle is to move all the green vans to the green house and all the red vans to the red house.
Green vans can only move to the left and red vans can only move to the right (no reversing).
You can click a van to move it to an adjacent space as long as the space is in the direction of travel.
You can overtake a van of the same color if there is a space in front of the van you are overtaking.
You can pass by an oncoming van if there is a space behind the oncoming van.
About a week ago I had an email from 'bob-the-frog' who had taken my Tower of Hanoi demo and used this to produce a frog hopping puzzle which can be seen here frog jump.
Now this and the Tower of Hanoi demo use very early :target orientated styling and a large amount of coding. So, with 'bob-the-frogs's' permission, I have used the frog jump puzzle and converted it into much simpler code and a lot less styling and produced the above version which now has animated moves in Firefox, Chrome, Safar, Opera, iPad, iPhone and iPod Touch (and hopefully in IE10 when it finally arrives).
However, solving the puzzle is not any easier.
Because of all the time and effort spent in producing this demonstration I would ask that you respect my copyright.
Your donations keep CSS PLAY running.
If your donation is for the use of a demo then please email me with the demo url after making your donation.