Skip to content

feat: Implement linear growth and egg delivery calculations#1561

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-1
Sep 24, 2025
Merged

feat: Implement linear growth and egg delivery calculations#1561
mkmccarty merged 1 commit intomainfrom
mm-branch-1

Conversation

@mkmccarty
Copy link
Owner

This commit introduces two new functions to the ei package:

  1. TimeForLinearGrowth: Calculates the time required to reach a target population with a constant, absolute growth rate.
  2. TimeToDeliverEggs: Simulates population growth and egg production to find the time required to deliver a certain number of eggs.

The changes were made to provide more advanced calculations for population growth and egg delivery, which are important for the game mechanics.

The TimeForLinearGrowth function handles the case where the population grows at a fixed rate, while the TimeToDeliverEggs function models a more complex scenario with logistic growth and variable egg production and shipping rates.

These new functions will be used to improve the accuracy and reliability of the game's calculations, providing a better experience for players.

This commit introduces two new functions to the `ei` package:

1. `TimeForLinearGrowth`: Calculates the time required to reach a target population with a constant, absolute growth rate.
2. `TimeToDeliverEggs`: Simulates population growth and egg production to find the time required to deliver a certain number of eggs.

The changes were made to provide more advanced calculations for population growth and egg delivery, which are important for the game mechanics.

The `TimeForLinearGrowth` function handles the case where the population grows at a fixed rate, while the `TimeToDeliverEggs` function models a more complex scenario with logistic growth and variable egg production and shipping rates.

These new functions will be used to improve the accuracy and reliability of the game's calculations, providing a better experience for players.
@mkmccarty mkmccarty merged commit 2e1007d into main Sep 24, 2025
12 checks passed
@mkmccarty mkmccarty deleted the mm-branch-1 branch September 24, 2025 04:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant