Comments (1)
Yea, 2 classes seems reasonable. The only downside I can think of is that you'd have to declare all of the global variables twice in the separate classes. So when you first called the "unsafe" bug you'd have to pay some cost to declare the variables and when you first use the "safe" bug you'd have to pay the same cost again. But I think this would be very very small, and it would only happen one round. So the cleaner implementation would probably be better.
from battlecode2015.
Related Issues (20)
- Circle nav going to places off map - Calculate map size? HOT 1
- HQ uses awesome splash HOT 2
- Drone micro HOT 1
- Handwashing station logic
- When radius is large, drones are jumping into battle too soon HOT 1
- Add attack logic to miners
- Drones need to "sweep" map and pester enemies HOT 2
- Tactics are too rigid HOT 1
- Maps with 1 width tunnels will kill us HOT 2
- Miners form a solid wall and block units HOT 1
- Beavers can block passages or block itself in
- Selecting tower to attack HOT 1
- Early game soldier defense
- Towers broadcast distress signals HOT 1
- Drone swarm micro HOT 1
- BFS navigation HOT 2
- Launcher Micro HOT 1
- Early map analysis HOT 1
- Mining ore and miner count
- Broadcast Terrain Tiles Faster HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from battlecode2015.