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

Simplify power system #81

Open
darozak opened this issue May 26, 2024 · 2 comments
Open

Simplify power system #81

darozak opened this issue May 26, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@darozak
Copy link
Owner

darozak commented May 26, 2024

I want to redesign and simplify the power system as follows:

  • Batteries loose power through use and cannot be recharged.
  • Generators produce the same amount of power every turn but cannot store it.
  • No longer any need for maxPower because batteries cannot be recharged.
@darozak darozak added the enhancement New feature or request label May 26, 2024
@darozak darozak self-assigned this May 26, 2024
@darozak darozak pinned this issue May 26, 2024
@darozak darozak unpinned this issue Jul 13, 2024
@darozak darozak pinned this issue Jul 13, 2024
@darozak
Copy link
Owner Author

darozak commented Jul 13, 2024

I've decided to allow for rechargeable batteries. This will mean that robots might need to rest up before advancing.

@darozak
Copy link
Owner Author

darozak commented Jul 13, 2024

I'll need to make a generatePower routine that adds power to batteries at a certain rate based on the amount of time that has passed since the robot's last turn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant