Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of jumps #10

Open
victorleblais opened this issue Jun 13, 2018 · 1 comment
Open

Number of jumps #10

victorleblais opened this issue Jun 13, 2018 · 1 comment

Comments

@victorleblais
Copy link

victorleblais commented Jun 13, 2018

It would be great to display the number of jumps made for "Travelled (total)" and "Travelled (session)".

And maybe you could "estimate" the number of jumps to the goals as well (either the ship's jump range or a user-set value).

Maybe something like:

Distance (Goal 1): 2,567.35 ly (~ 62 J)
Travelled (total): 13,715.54 ly (327 J)
Travelled (session): 42.15 ly (1 J)

To do an estimation, there are multiple approaches possible:

  • Simply divide distance by jump range. (eg. 1000 ly / 40 ly = 25 J).
  • Divide distance by jump range, then apply a "multiplicator" to simulate a "non-perfect" route (eg. 1000 ly / 40 ly = 25 J, then 25J * 1.15 = 29J).
  • Use a routing calculator such as spansh.co.uk (with efficiency set to 100%), which is very accurate, but requires more work to implement.

For the "Travelled" jumps, well, it's simply an integer you increment each time you get a jump event.

@Thurion
Copy link
Owner

Thurion commented Jun 13, 2018

Nice idea but I think the multiplier for the distance should be user configurable. Something like 100%, 80%, 60% or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants