Skip to content

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

Open
jummy0 wants to merge 1 commit intoblupi-games:masterfrom
jummy0:efficient-tomatoes
Open

Added new meta-operation, so Blupi grows tomatoes more efficiently#99
jummy0 wants to merge 1 commit intoblupi-games:masterfrom
jummy0:efficient-tomatoes

Conversation

@jummy0
Copy link
Copy Markdown
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
Copy Markdown
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