Wrap code in function
Remove unused variable
Add function docs
Move declaration of mouse position
Change 'autojump' default state
Comment `getBirdY`
Comment `getPipeX`
Comment `getPipeYAt`
Create new `getPipeY` utility function
Add extra comment on `getPipeYAt`
Remove useless line
Add more comments
Add explanation at the top
Add readme and update explanation