sirgwain / craig-stars

Web based Stars! clone
https://craig-stars.net
MIT License
10 stars 4 forks source link

Warp calculation rounding problem #162

Closed ccmaster001 closed 3 months ago

ccmaster001 commented 3 months ago

If the game showes 81,0 lj you may not reach the planet in 1 warp 9 jump. The game seems to round the displayed nummbers but dont show it seems like 81,01 Lj.

Also in stars it always rounds down so you can fly 81,99 Lj with warp 9 in 1 year.

sirgwain commented 3 months ago

fixed by https://github.com/sirgwain/craig-stars/pull/188