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

Added new meta-operation, so Blupi grows tomatoes more efficiently #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jummy0
Copy link
Contributor

@jummy0 jummy0 commented Feb 18, 2021

Previously, when planting tomatoes, Blupi searched for ground from his fix point (the garden shed). With large tomato fields, this caused Blupi to run very far for every new tomato, wasting energy.

I have added a new meta-operation GOAL_OTHERMIDDLE, which searches between Blupi and his fix point. Using this new meta-operation in table_goal_cultive and table_goal_cultive2 allows Blupi to plant about 25% more tomatoes before eating.

This new meta-operation may be useful elsewhere too.

Before, when planting tomatoes, Blupi searched for ground from his Fix point (the garden shed).  With large tomato fields, this caused Blupi to run very far for every new tomato, wasting energy.

I have added a new meta-operation "GOAL_OTHERMIDDLE", which searches between Blupi and the Fix point.  Using this new meta-operation in ACTION_CULTIVE and ACTION_CULTIVE2, Blupi searches nearby for valid ground.  Therefore, he can grow more tomatoes (about +25%) before needing more energy.

This new meta-operation may be useful elsewhere as well.
@Skywalker13
Copy link
Member

It changes the timing and reduce a bit the difficulty. And it can break demos (records) by the way.

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.

2 participants