N1ckn1ght/FlappyBoid

Difficulty that is impossible to play

Closed this issue · 1 comments

image

When there's almost no distance between pipes it doesn't generate a possible path to navigate.
Yes, I didn't intend to make something like that, however it might be not that hard to fix.
Random next gap accordingly to previous (-X to X) if it's too close.
Get X from current field.velocity (with or without field.acceleration in mind), G and VelocityOnClick.

Now it's possible to make next gap in borders of previous by passing maxRangomGap to new instance of Field.