Skip to main content

Timeline for King of the Ziggurat

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Apr 20, 2022 at 18:45 comment added Seggan Never mind, I got a bit confused
Apr 20, 2022 at 18:03 comment added des54321 I suppose that would function the same @Seggan, but I dont think I see what you mean by the case of random number being 0 not moving me? .nextInt(2) Will return 0 or 1, and I handle both switch cases
Apr 20, 2022 at 16:54 comment added Seggan You can replace the entire content of moveRand2 with move(ThreadLocalRandom.current().nextBoolean() ? A : B) unless you want the case of the random number being 0 not moving you
Apr 20, 2022 at 3:25 comment added des54321 @Pyautogui however, I did run a few simple tests just now, changing the limits from 10 to 30, and 15 did seem to work a bit better than any other multiple of 5
Apr 20, 2022 at 3:19 comment added Qaziquza Got it. Makes sense! I basically picked my constants at random as well. Just wondering if you had a rationale.
Apr 20, 2022 at 3:11 comment added des54321 I'll be honest @Pyautogui, I didn't really optimize it that much, I picked 15 as a pretty random value, it might well perform better at higher values, but I didn't feel like testing that
Apr 20, 2022 at 3:06 comment added Qaziquza Wow, that is a very aggressive bot! Awfully trigger happy, even when it is rather weak. How did you figure 15 to be the optimal fighting threshold?
Apr 20, 2022 at 2:51 comment added jezza_99 +1 purely for the meme reference
Apr 20, 2022 at 2:27 history answered des54321 CC BY-SA 4.0