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

Gather food #9

Open
MrHus opened this issue Feb 3, 2012 · 5 comments
Open

Gather food #9

MrHus opened this issue Feb 3, 2012 · 5 comments
Assignees
Milestone

Comments

@MrHus
Copy link
Owner

MrHus commented Feb 3, 2012

Humans need to pickup food and bring it to the City.

@ghost ghost assigned DeDanny Feb 3, 2012
@DeDanny
Copy link
Collaborator

DeDanny commented Feb 3, 2012

Als implementing humans disissions matrix. The "think" function will be completely rewritten..

Update: Now only interaction with the world is required.

@MrHus
Copy link
Owner Author

MrHus commented Feb 4, 2012

Think should propably happen based on a the current "goal". Perhaps a
router function is needed. Just like in planning that splits mdp and
a*. This way every "thought" has a different function.

On 4 feb. 2012, at 00:23, Danny
reply@reply.github.com
wrote:

Als implementing humans disissions matrix. The "think" function will be completely rewritten.


Reply to this email directly or view it on GitHub:
#9 (comment)

@DeDanny
Copy link
Collaborator

DeDanny commented Feb 4, 2012

We should not assign a thought to a human, they should think for them self.

Think sets a goal, and then executs it until it is done.

I still need to take food quantity in the consideration.

@MrHus
Copy link
Owner Author

MrHus commented Feb 4, 2012

I agree but we should separate a thought "a concrete action" from
think this way we can test them better.

On 4 feb. 2012, at 10:07, Danny
reply@reply.github.com
wrote:

We should not assign a thought to a human, they should think for them self.

Think sets a goal, and then executs it until it is done.

I still need to take food quantity in the consideration.


Reply to this email directly or view it on GitHub:
#9 (comment)

@DeDanny
Copy link
Collaborator

DeDanny commented Feb 4, 2012

I have not documented the think matrix yet, but the current version of
think, should be easy to test. Unfortunately i do not have the time
today to finish "think" or write the tests.

Thought procces in short,

Am I going to a destination -> continue;
else think of action
Do i have the max amount of food in my backpack -> bring it back to my
city; :city
else geather food
Get the closed location with food -> go to location; :scavange-food
else if there is no food location
Get the closed unknown location -> go to location; :scout

After i'm done i will look if the function can be split for readability.

Op 4-2-2012 10:58, Maarten Hus schreef:

I agree but we should separate a thought "a concrete action" from
think this way we can test them better.

On 4 feb. 2012, at 10:07, Danny
reply@reply.github.com
wrote:

We should not assign a thought to a human, they should think for them self.

Think sets a goal, and then executs it until it is done.

I still need to take food quantity in the consideration.


Reply to this email directly or view it on GitHub:

#9 (comment)

Reply to this email directly or view it on GitHub:
#9 (comment)

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

No branches or pull requests

2 participants