dgets / d4m0b0t Goto Github PK
View Code? Open in Web Editor NEWHalite II Bot Project
Halite II Bot Project
Telemetry data should be held in an associative array by id, not in a list. This will greatly accelerate running through that mess with every turn.
D4m0B0t is currently utilizing the global enemy_data
structure for holding data regarding all enemies. Now that the EnemyData
class is close to being fleshed out, it is time to begin implementing some sort of a structure of members of the new class to replace this.
The current enemy_data
structure holds a key entity_object linking to each enemy. There is no need to duplicate this structure, as the EnemyData
class instances will each have an id member to use for crosslinking our telemetry with the actual enemy object, already stored. This code is going to handle a lot more processing than the previous versions, so (especially being as this is interpreted) things need to have a bit of a focus on efficiency.
Seek out & replace all enemy_data
references with the appropriate EnemyData
and lookup their associated objects with the results of analytics.get_enemy_ships()
.
Create a routine that will go through the telemetry data and remove entries for enemy ships that are no longer around.
Need to start implementing the EnemyClass
class within telemetry.
Breaking up the monolith for better development time across the next competition iterations.
Add a pointer to the potential target's entity id to the data structure (see also #6). Might as well just go ahead and check right away to see if the destination/target's id stays the same over a few iterations; it'll be useful as we go to see whether or not it stays the same, as a kind of 'target certainty' rating.
As can be seen in lines 105-157, in commit dd6790f, the 3 loop structures are almost clones of each other. This obviously needs to be modularized for maintainability purposes.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.