If you have 'Introduction to Programming with Greenfoot' book by Michael Kolling, could you please help with Exercise 4.18 on page 56?
It regards the crab scenario. It says:
'The crab image changes fairly quickly while the crab runs, which makes our crab look very hyperactive. Maybe it would look nicer if the crab image changed only on every second or third act cycle. Try to implement this. To do this, you could add a counter that gets incremented in the act method. Every time it reaches 2 (or 3), the image changes, and the counter is reset to 0.'
Please help.
Thank You

