jdmonin / JSettlers2

Java Settlers project home, downloads, and GPLv3 source code. To download the latest version as a JAR, see https://github.com/jdmonin/JSettlers2/releases/latest .
http://nand.net/jsettlers/
GNU General Public License v3.0
157 stars 63 forks source link

Add property for robots to wait a few seconds for human trade consideration before considering a trade themselves. #75

Closed lpassey closed 3 years ago

jdmonin commented 3 years ago

Hello Lee,

Thanks for taking the time to rework this. In this PR it's much easier to see the code you've worked on.

This is a good contribution. It's almost perfect; I have 2 requests please:

I think that gives us the most straightforward approach, but I don't mind discussing it. If it sounds good enough to you as-is, I'm happy to accept updated code.

Thanks again, -Jeremy

jdmonin commented 3 years ago

Thank you again! Looks good; I'll merge this tonight.

jdmonin commented 3 years ago

Your improvement to JSettlers is now merged! Because the bot already pauses 3 seconds in handleMAKEOFFER, I ended up subtracting 3 seconds for the second pause so the parameter sets the total time.

Thanks again for patiently working with me to get this done.