Thank you for playing!
It actually checks for key pressed or held, so you can hold and release space instead of trying to tap every frame. That can grow the star too far very quickly though.