News for hackers. Stuff that matters.
Re:How big is a Million Lines of Code? by palish on Sunday January 20, 2008 @09:14PM (#101408)
Just because you can generate a hypothesis doesn't make something true.

No, it doesn't. But I've seen what I described happen many times over three years.

Its pretty difficult to compare the difference in required code for a modern 3D engine, with lots of single player functionality like scripting and AI, and a multiplayer game with a lesser graphics engine.

It's not. There are many shared concepts. Scripting and AI, for example.

Just because you like Yegge's post and/or game doesn't mean his code needed to be that big.

That seems like why he wrote the post. Also, my likes and dislikes are irrelevant.

Re:How big is a Million Lines of Code? by greendestiny on Sunday January 20, 2008 @09:45PM (#101415)
I'm not doubting adding networking adds complexity. I don't think the comparison of complexity between the graphics and AI of gears of war vs the networking of Yegge's game is easily made. The interesting thing about Gears of War is that most titles of that caliber take a lot more than 500k lines. Yegge's game as a comparison point seems pretty fair to me, and I just don't buy the fact that the extra networking necessarily makes the code so much more complicated than Gears of War - thereby invalidating the comparison.
Re:How big is a Million Lines of Code? by palish on Sunday January 20, 2008 @09:58PM (#101419)
It's not the networking. It's the fact that changes need to happen at runtime, and sync to any number of clients that may be watching.

Also, your hypothesis that the prettier game the more complicated one is false. 2D physics and AI can be horrendously complicated, or elegantly simple. There's no way to tell just by looking at the game, except on a very rough level. Take the game Gish for example. I don't know how complicated that little blob's physics is, but it could be extremely tricky.

Amusingly, the game rules are the least complicated component.

Re:How big is a Million Lines of Code? by greendestiny on Sunday January 20, 2008 @10:24PM (#101423)
I meant syncing the game state to be included under the term networking. Amusingly, Yegge's post about the length of his game was all about how massively bloated it was because of Java. His own estimate of what size he would like the game to be was 150k-200k. Apparently impossible in Java, but presumably what he felt he should be able to achieve that even given the game's distributed state management.