3 ms·
The smaller the area, the more bounces its ball gets per time unit compared to the opponent and more chances to expand the area. So any extreme case of one ball
by eps 3y ago
The smaller the area, the more bounces its ball gets per time unit compared to the opponent and more chances to expand the area. So any extreme case of one ball being super-confined will be very short-lived.
- realPubkey 3y agoBut it seems that the balls speed increases with a bigger are.
- throwup238 3y agoI think the changes to speed are random: https://github.com/vnglst/pong-wars/blob/main/index.html#L161 https://github.com/vnglst/pong-wars/blob/main/index.html#L16...
- teraflop 3y agoFrom what I can see from a quick glance at the code, you have the causality backwards. Each bounce adds a small random variation to each ball's velocity, and if one of them randomly ends up moving faster, then it will tend to gain more territory.