Jump to content

Photo

Lines of Code


21 replies to this topic

#1 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • 1,583 posts
  • Dr.Boo
  • Location:Tasmania

Posted Wed Aug 19, 2009 7:20 AM

Just for the record, I recently counted the lines of source code. Roughly 11,000 lines, including comments.
Qb was 5600 which is quite amazing, really. Wondering how "big" other programmers' are :)

#2 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!, Boulder Dash

  • 18,768 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Wed Aug 19, 2009 7:45 AM

Hm, does that counting indicate anything? :ponder: (crosses fingers)

Anyway, how do you count? Just the total length of all source code files?

#3 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,777 posts
  • Busy bee!
  • Location:North, England

Posted Wed Aug 19, 2009 7:50 AM

My 7800 game Apple Snaffle is at 11382 at the moment. That doesn't include level data because thats inserted directly into the final binary by a command line tool before signing.

#4 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • Topic Starter
  • 1,583 posts
  • Dr.Boo
  • Location:Tasmania

Posted Wed Aug 19, 2009 7:55 AM

Anyway, how do you count? Just the total length of all source code files?



Yep. just sum the #lines in the .asm files. I know there's embedded data but let's not worry too much about that.
I'm quite astounded BD is so small (relatively) compared to Qb.
Cheers
A

#5 roland p ONLINE  

roland p

    Stargunner

  • 1,865 posts
  • $23
  • Location:The Netherlands

Posted Wed Aug 19, 2009 8:10 AM

Ballblazer is now about 4500 lines. Roughly estimated, including remarks and blank lines, rounded down. A lot of code is generated on-the-fly with macros.

Edited by roland p, Wed Aug 19, 2009 8:11 AM.


#6 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!, Boulder Dash

  • 18,768 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Wed Aug 19, 2009 10:21 AM

Thrust has about 16000 lines in total.

#7 vdub_bobby OFFLINE  

vdub_bobby

    Quadrunner

  • 5,831 posts
  • Boom bam.
  • Location:Seattle, WA

Posted Wed Aug 19, 2009 10:22 AM

Go Fish! - 6200
Reindeer Rescue - 9200
M-4 - 3800
Elevators Amiss - 4000
Squish 'Em - 3500


Go Fish! was 8K, Reindeer Rescue was 16K, the others were 4K. Looks like the first 4K of code I write takes 3000-4000 lines, each additional 4K takes 1000-2000 lines. Interesting to look at; I'd never counted my code lines before.

EDIT: Dug up one more:
Go Fish! 1K is 1200 lines.

Edited by vdub_bobby, Wed Aug 19, 2009 10:25 AM.


#8 Thomas Jentzsch OFFLINE  

Thomas Jentzsch

    Thrust, Jammed, SWOOPS!, Boulder Dash

  • 18,768 posts
  • Always left from right here!
  • Location:Düsseldorf, Germany

Posted Wed Aug 19, 2009 10:33 AM

Jammed: 2455 lines
SWOOPS!:
- Menu: 1150
- Cave 1K: 1830
- Crash'n'Dive: 1650
- Splatform: 1440
Total: 6070 lines

Both are 4k but Jammed consists out of a lot of computer generated level data, SWOOPS! out of several 1K games.

#9 Ben_Larson OFFLINE  

Ben_Larson

    Moonsweeper

  • 336 posts
  • Location:Columbus, OH, USA

Posted Wed Aug 19, 2009 11:00 AM

Incoming is 3410.

Another interesting question might be how many lines of Atari 2600 code someone can write and debug per hour. Then we'd have some kind of idea of exactly how long it takes to write a homebrew. :)

#10 s0c7 OFFLINE  

s0c7

    Dragonstomper

  • 561 posts

Posted Thu Aug 20, 2009 5:44 PM

Bifröst(2k) is 1580 lines of asm.

And for those interested in such things, Dungeon (32k - although only actually 22k or so) is 5247 lines of bB code/inline asm, with a resulting asm file of 21802 lines.

#11 Wickeycolumbus OFFLINE  

Wickeycolumbus

    River Patroller

  • 4,732 posts
  • Location:Michigan

Posted Thu Aug 20, 2009 5:56 PM

Vong - 2562
Micro Games 1K - 1004
Assembly Line - 907

Many lines are comments, commented out code, blank lines, ect...

#12 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • Topic Starter
  • 1,583 posts
  • Dr.Boo
  • Location:Tasmania

Posted Sat Jul 2, 2011 1:57 AM

Boulder Dash -- 16791

#13 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,846 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sat Jul 2, 2011 2:21 AM

Boulder Dash -- 16791

Nudge, nudge, wink, wink, say no more.


Spoiler


#14 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,777 posts
  • Busy bee!
  • Location:North, England

Posted Sat Jul 2, 2011 3:44 AM

Apple Snaffle is now up to 15542 from 11382 (in August 2009)

#15 roland p ONLINE  

roland p

    Stargunner

  • 1,865 posts
  • $23
  • Location:The Netherlands

Posted Sat Jul 2, 2011 5:41 AM

New ballblazer is now 7330 lines of code. 5829 lines of code for drawing a checkerboard :D

#16 ScumSoft OFFLINE  

ScumSoft

    Moonsweeper

  • 348 posts
  • Location:Polysorbate 60

Posted Thu Jul 14, 2011 6:37 AM

EggVenture - 3333 O_o

#17 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • Topic Starter
  • 1,583 posts
  • Dr.Boo
  • Location:Tasmania

Posted Thu Aug 18, 2011 5:47 AM

19420...

#18 GroovyBee OFFLINE  

GroovyBee

    Games Developer

  • 7,777 posts
  • Busy bee!
  • Location:North, England

Posted Thu Aug 18, 2011 6:00 AM

Nothing new to report on Apple Snaffle but several other projects have been getting some love instead,

#19 Andrew Davie OFFLINE  

Andrew Davie

    Stargunner

  • Topic Starter
  • 1,583 posts
  • Dr.Boo
  • Location:Tasmania

Posted Fri Dec 9, 2011 6:34 AM

For the record, the final count was 21100+ lines of code.

#20 CyranoJ OFFLINE  

CyranoJ

    Stargunner

  • 1,942 posts
  • RAPTOR in LOCAL
  • Location:Adelaide, SA

Posted Sun Jan 1, 2012 11:31 PM

Nothing to do with 2600, but just as a side reference, here's the details for our Jaguar game Project One, taken directly from our website:

"The total size of all .s files for Project One is 1,103k, including 3,965 lines of commented code for the loader, 4,131 for the titles and 13,144 for the game engine."

#21 Random Terrain OFFLINE  

Random Terrain

    Visual batari Basic User

  • 24,846 posts
  • Controlled Randomness
    Replay Value
    Nonlinear
  • Location:North Carolina (USA)

Posted Sun Jan 1, 2012 11:43 PM

Nothing to do with 2600, but just as a side reference, here's the details for our Jaguar game Project One, taken directly from our website:

"The total size of all .s files for Project One is 1,103k, including 3,965 lines of commented code for the loader, 4,131 for the titles and 13,144 for the game engine."


Wow, that's a lot of work for a failed console that hardly anyone likes. :-D

#22 Rybags ONLINE  

Rybags

    Quadrunner

  • 12,691 posts
  • Location:Australia

Posted Mon Jan 2, 2012 12:06 AM

I don't think I've got anything over 5,000 lines.

Although with graphical and some sound data I just keep in binary files rather than creating files full of .byte lines, so that cuts it down a lot.
Add to that I'm not real big on the commentary either.




0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users