4 ms·
Good point! That adds a lot of nuance. With several eggs, if you drop one egg and it doesn't break, you have the option of postponing the pick-up until later or
by psykotic 14y ago
Good point! That adds a lot of nuance. With several eggs, if you drop one egg and it doesn't break, you have the option of postponing the pick-up until later or leaving it on the ground altogether. Let me think about it.
- psykotic 14y agoI had a quick go at it using memoized minimax search. I assumed that picking up any dropped eggs is automatic when you're on the ground floor, but it would also be easy to model it as an action. https://gist.github.com/3157191 https://gist.github.com/3157191 Let me know if this is what you had in mind.
- shasta 14y agoCan you see if the egg is broken without going down? I guess you're assuming so.