Comments (2)
I had a thought today to split the rally points (start, waypoint0, waypoint1, ..., waypoint5, end) into two groups (call them A and B), and make a maze that separates the two groups.
The smartest way to separate the rally points then is a max cut of the sequence graph (start -> 0 -> 1 -> 2 -> 3 -> 4 - > 5 -> end). In this case, the optimal max cut is obvious -- group A is (start, 1, 3, 5) and group B is (0, 2, 4, end).
So my proposed maze forces creeps to walk through it to get to waypoint0, then back out of it to get to waypoint1, then through it again to get to waypoint2, etc.
The first step then is to make all group B rally points connected:
path length 679
Then I just tried to add as much length to the maze separating the two groups.
path length 3361
where the remaining unbuilt green squares are unbuildable, and I don't know why.
from pygemtd.
Found a few strategies in https://www.reddit.com/r/DotA2/comments/3n7m1f/a_short_kappa_guide_to_gem_td/, and they all use the two-group approach I tried to force the creeps to walk through the entire maze 5 or 6 times.
from pygemtd.
Related Issues (10)
- Allow click and drag to place many objects HOT 3
- Blocks cannot be placed on some spaces on the furthest right column, even if it doesn't block path HOT 1
- Learn from other tower defense pygames
- Add program icon
- How to get a creep breach processed?
- fitness function for a maze HOT 2
- grid size
- Fast numpy based aStar implementation
- implement a check if the grid is valid without breaking the gui
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 pygemtd.