Yeah, I will probably lose if you just update your defense bot.
Wow you must have seen this code as a challenge. : P
Can't believe you took the time to name all the variables. I like the "powerSet" function, took me a while to see that it's my "scaleValue", totally different interpretation. : D
You win the original: NohusBattle_v1.txt
The point was to prevent random people from basing their submissions on mine, as I had too much time on my hands between lectures. But well, now you posted a clear version anyway.
I assumed that if someone can take the effort to fix my code, they can take the effort to write their own code. You did both...
I tried abs() with some data type that didn't work and assumed it didn't exist. Then I found out it's supposed to be a float, but I already had my own.
Wow you must have seen this code as a challenge. : P
Can't believe you took the time to name all the variables. I like the "powerSet" function, took me a while to see that it's my "scaleValue", totally different interpretation. : D
You win the original: NohusBattle_v1.txt
The point was to prevent random people from basing their submissions on mine, as I had too much time on my hands between lectures. But well, now you posted a clear version anyway.
I assumed that if someone can take the effort to fix my code, they can take the effort to write their own code. You did both...
I tried abs() with some data type that didn't work and assumed it didn't exist. Then I found out it's supposed to be a float, but I already had my own.