Antipodes - This level is TOO easy to brute force


#1

I can beat this level in two lines of code if I tell my hero to attack the warlock. Maybe that requires good equipment to do, although I don’t really think so since I survive with half my health and don’t have to use any abilities. But it gets worse - I can beat this level in 2 lines of code WITHOUT even using my hero. Just telling the archers to move forward and attack the warlock is enough to win.

Even though the level isn’t too complicated to do the “correct” way, I still don’t feel like it should be this easy to cheat on.


#2

Really? I tried sending my archers to attack the warlock but the clones then started attacking and I failed the level. Same deal with the hero, I touched a clone and failed the level on the way to the warlock. Not sure what you did but I didn’t get the same result as you did.

Maybe it’s since I use a warrior. Did you use something different?


#3

I used a warrior also. I can’t post the solution here, but it’s not complicated, just directly attack the warlock (hint hint). I could do it in 2 lines for both.


#4

Could you send your username in CodeCombat? I will check it. It’s weird what you can win it only with archers.


#5

My username is coolbeans14


#6

Thanks! I see the problem. Agree, it’s not good. Will fix it soon.


#7

I think I fixed it :slight_smile:


#8

I can still beat it in 2 lines (technically 1 line) without using my hero. But it is a little trickier.


#9

Could you send me your new solution?


#10

Sure, unless you want to try to figure it out yourself. It’s a fun puzzle.


#11

Thanks. I have enough puzzles. Now, I want to fix the problem if it exists. If your code is complicated, then it’s not a problem. We don’t limit advanced solutions.


#12

All I had to do was with okar and the rune sword i just one shot the warlock.


#13

Yeah you don’t even need Okar. You can also just attack him with archers but it’s a little trickier.


#14

I tried with the archers. the clones attack me and kill my archers


#15

If you want to beat it with archers you have to get a little creative :slight_smile: