PC: Left arrow: you go left. Right arrow: you go right. Mobile: Click on the left of the screen, you go left, click on the right of the screen, you go right. Don't hit the rocks or the crocs, your health goes down. If your health is 0, game over. Attention @Scratchteam: I will not allow you to use my projects to train your AI models.
The assets (except the river, that's pen) are from the internet. I made this in about 20 minutes.