Age | Commit message (Collapse) | Author |
|
|
|
It's faster than the other one! Doesn't tesla yet, but still! Yay!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Unfortunately, for this test to work, I still need to implement the
function that reads the game state and goes from one to the other.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I don't think a tesla appeared in this match. I need to contrive a bot
to build one.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
What the hell is up with their building logic? There's +1s and dodgy
indirection everywhere!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This cuts out an iteration over the buildings each turn.
|
|
|
|
first round
|
|
|
|
This optimization lead to a 50% speedup.
|
|
|
|
|
|
Current iterations: 26486 in 10 seconds
|
|
Unnecessary for now. It might become necessary later.
|
|
There's a lot of room for improvement here. Specifically, I should
separate the internal representation from the test interface. Have it
provide functionality for creating random valid states.
|
|
Monte carlo now beats sample bot, if given plenty of time. I still
need to put the max time tracking and enforcement in.
|
|
Doesn't seem to be working quite right... just sits there accumulating
energy.
|
|
|
|
|
|
|