summaryrefslogtreecommitdiff
path: root/src/engine
AgeCommit message (Collapse)Author
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