The aim of the game is to get the highest score, you get a score by moving along the river. The further you go the bigger your score.

To move you need to hit the baked beans, but avoid the green beans they stop game play for 1 second. 

There is also a count down if you don't move, after 3 seconds it's game over.