Tag Info

New answers tagged


Is it, you can write your code in any files you want and load them in the app load time and share the important data via window variables or via the class constructor. But i would make it little different, i would create some clases (miner, plumber, whatever) and make them inherit some "base" functions like .buy(), .goldClick(), etc so you can have a common ...


This is naturally modelled as a graph structure, as you knew when you posed the question. So let's look at how we can take a graph and make it more efficient. Let's look at topological methods. Making N^2 checks at runtime is ridiculous as you suggest, so we rule that out. Now there are two ways we can proceed - order nodes in such a way that we are likely ...

Top 50 recent answers are included