123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|390|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> On Topic -> Math experiment

Sun, 30 Dec 2012, 12:24
Afr0
I suck at maths! Always have, always will.
So help me figure this one out;

I have pretty reliable intel confirming that the codebase for The Sims was around 700k lines.
Knowing that The Sims Online [client] was bigger (it must have been, if only for the network code), I'm going to assume it was around 1 million lines (for the sake of simplicity).
Assuming that one man (I.E me) can write between 10 to 100 LOC per day, how many days would it take me to reach 700k lines of code?
I'm assuming, here, that 700k is a good estimate for the productivity increase accounted for by writing in C# and using XNA for graphics and input.
At this point I have around 11k lines of code in the client itself, including SimsLib (which is the "engine" (it interacts with all the fileformats)).


-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Sun, 30 Dec 2012, 13:09
shroom_monk
If you wrote 10 lines of code every day, then 700000 lines would take you the best part of 192 years.

Similarly, at 100 lines per day, it would take you just over 19 years.

How long has the 11000 you've got so far taken you? At 10 lines per day, that would be 3 years; at 100, it would be about 3 and a half months.

-=-=-
A mushroom a day keeps the doctor away...

Keep It Simple, Shroom!
Sun, 30 Dec 2012, 13:28
Afr0
I've used a little over 2 years... maybe 2 years and 2 months.
I guess that averages out to about 20 LOC/day (seeing as I haven't been constantly coding).
Fortunately I have another developer with me again. He'll mostly be doing serverside work, but it should increase the progress none the less!!


-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!
Mon, 31 Dec 2012, 15:41
Afr0
I'm starting to suspect that most of those 700k lines went towards programming the SimAntics and HIT interpreter and Edith though, because at this point I have about 60% graphical support (support for 3D heads, partial support for 3D bodies, full animation support, full support for GUI, missing support for neighbourhood and terrain tilemap).
I also have 100% ability to play back any given sound in the game, but unfortunately it doesn't help much without a working HIT interpreter.

-=-=-
Afr0 Games

Project Dollhouse on Github - Please fork!