summaryrefslogtreecommitdiff
path: root/src/engine
AgeCommit message (Collapse)Author
2018-06-25Updated test cases and made engine work correctly according to testsJustin Worthe
I don't think a tesla appeared in this match. I need to contrive a bot to build one.
2018-06-25Compilation, allowing new moves to be chosen, and missile move orderJustin Worthe
2018-06-25Added functioning of tesla towersJustin Worthe
2018-06-25Added new tower type and deconstruct actionJustin Worthe
2018-06-09Calibrated energy cutoff and turned it on by defaultJustin Worthe
2018-06-09Added pruning of buying energy buildings behind a feature flagJustin Worthe
2018-06-09Added max building price to game settingsJustin Worthe
2018-06-04Saturating sub. Marginal speed improvement. Clearer logic.Justin Worthe
2018-06-04Moved to replays that have missile position fixJustin Worthe
2018-06-02Made my game engine match theirsJustin Worthe
What the hell is up with their building logic? There's +1s and dodgy indirection everywhere!
2018-06-02Moved replay-based test to have convenience import from game engine replayJustin Worthe
2018-06-01Put multispeed missiles back inJustin Worthe
2018-05-31Made move_missiles even tighter on iterating and cleaning upJustin Worthe
2018-05-31Tighter loop for removing destroyed buildingsJustin Worthe
2018-05-31Tweaking move missiles to be more efficientJustin Worthe
2018-05-31Profile driven optimization of missile movingJustin Worthe
2018-05-31Change to finding affordable buildings to avoid a resizeJustin Worthe
2018-05-31Clippy suggested changesJustin Worthe
2018-05-17Improved perf of removing item from unoccupied cells listJustin Worthe
2018-05-16Tracked energy production on the playerJustin Worthe
This cuts out an iteration over the buildings each turn.
2018-05-16Moved unconstructed buildings to their own listJustin Worthe
2018-05-16Changed types to assume health can't be more than the hundred in theJustin Worthe
first round
2018-05-15Additional code and bug fixes to help end to end testsJustin Worthe
2018-05-14Fixed bug in unoccupied cell implementationJustin Worthe
This optimization lead to a 50% speedup.
2018-05-14Added running total of unoccupied cellsJustin Worthe
2018-05-14Changed invalid move checking to be a debug assertionJustin Worthe
2018-05-14Reduced number of needless allocations to improve perfJustin Worthe
Current iterations: 26486 in 10 seconds
2018-05-13Removed unnecessary check on missile updatesJustin Worthe
Unnecessary for now. It might become necessary later.
2018-05-13Added initial benchmarksJustin Worthe
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.
2018-05-12Debugged and fixed the errors that had the monte carlo not workingJustin Worthe
Monte carlo now beats sample bot, if given plenty of time. I still need to put the max time tracking and enforcement in.
2018-05-12Initial stab at monte carlo implementationJustin Worthe
Doesn't seem to be working quite right... just sits there accumulating energy.
2018-05-12Fixed engine not paying for new buildingsJustin Worthe
2018-05-12Added new building specificationsJustin Worthe
2018-05-10Split to library. Reimplemented sample strategy in new state.Justin Worthe
2018-05-09Added converting from JSON code to game engine representationJustin Worthe
2018-05-05Initial commit with sample bot and embedded game engineJustin Worthe