Arrow keys, clicking the left or right of the screen or, A and D to dodge rocks. A rock is not counted as dodged until it is past the tip of your tail. The cat will leave the river once it touches a rock, It is sometimes impossible to dodge the rocks.
This was my first game so it’s probably not too good. Any suggestions for improvements are welcome. Thanks to Mewser23 for the thumbnail tutorial. It helped a lot.