Jun-17-2019, 01:00 PM
Hi,
I am just getting through startups, and got a minor task, just a simple else,if, vba look a like.
Task is
You have 5 states which have 5 things it will increase or decrease
Columns are starting with sleepy, thirsty, hungry, whisky, gold
Rules:
sleepy, thirsty, hungry cannot go over 100
whisky cannot go over 10
nothing can be below 0
1000 loops, meaning each time you turn state, you use 1.
Goal is to get as much goal as possible.
My points so far is around 1150..
Anybody that can share some nice idea to what i miss?
I am just getting through startups, and got a minor task, just a simple else,if, vba look a like.
Task is
You have 5 states which have 5 things it will increase or decrease
- mining 5 5 5 0 5
- eating 5 -5 -20 0 -2
- shopping 5 1 1 1 -1
- drinking 5 -10 1 -1 0
- sleeping -10 1 1 0 0
Columns are starting with sleepy, thirsty, hungry, whisky, gold
Rules:
sleepy, thirsty, hungry cannot go over 100
whisky cannot go over 10
nothing can be below 0
1000 loops, meaning each time you turn state, you use 1.
Goal is to get as much goal as possible.
My points so far is around 1150..
Anybody that can share some nice idea to what i miss?