Use all arrow keys except for PgDn (down) to move the crab. There isn't an ending to this. If you DO MANAGE to get across (which you probably won't) just spam the green flag.