News for hackers. Stuff that matters.
Re:Tough times on the road to Starcraft by jmtame on Friday September 07, 2012 @11:53PM (#4492189)
One thing I always think about is how the code works behind games like Starcraft. I find myself trying to understand the data structures and algorithms behind seemingly simple mechanisms like creep spreading or revealing the fog of war. Are there any other writings like this that talk about the technical side of popular games?
Re:Tough times on the road to Starcraft by netcoyote on Saturday September 08, 2012 @12:47AM (#4492271)
Gamasutra has some good articles; check out http://www.gamasutra.com/category/programming.

Here's a good one: http://www.gamasutra.com/view/feature/3094/1500_archers_on_a.... It talks in detail about the network code and unit synchronization logic used for Age of Empires, which is more or less the same as that used by Warcraft and StarCraft.

Re:Tough times on the road to Starcraft by cpeterso on Saturday September 08, 2012 @01:43AM (#4492355)
Here are some game tech articles that I found interesting:

* Fixing Pathfinding Once and For All: http://www.ai-blog.net/archives/000152.html

* Scenegraphs: Past, Present, and Future: http://www.realityprime.com/articles/scenegraphs-past-presen...

* Evolve Your Hierarchy: Refactoring Game Entities with Components: http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy...

Re:Tough times on the road to Starcraft by Too on Saturday September 08, 2012 @04:26AM (#4492576)
Evolve your hierarchy is a really good read for everybody, not only game programmers. It shows in a very convincing way why the classic Cat : Animal inheritance model taught in every Java-school doesn't work when things scale up and proposes a better alternative.
Re:Tough times on the road to Starcraft by cpeterso on Saturday September 08, 2012 @02:19PM (#4493552)
Reading this Starcraft story and "Evolve Your Hierarchy" reminds me that, in retrospect, most of the class inheritance hierarchies in my student and early professional projects were bad design. These days, I think implementation inheritance is a code smell.
Re:Tough times on the road to Starcraft by Evbn on Saturday September 08, 2012 @06:57PM (#4494300)
"Prefer composition over inheritance" is an item in Bloch's Effective Java.