Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (549)
Games in Android Showcase (139)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: 1 [2]
  ignore  |  Print  
  Longest program you have written?  (Read 2566 times)
0 Members and 1 Guest are viewing this topic.
Offline JVallius
« Reply #30 - Posted 2014-06-16 20:40:02 »

Naku The Cat has about 3k lines. Though during the last weeks before release my code started to get very messy. I guess I could shave line count a lot if I ever happen to bother.

Online princec

« JGO Spiffy Duke »

Medals: 456
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #31 - Posted 2014-06-16 21:16:04 »

Once upon a time on my Vic-20 (with 16K RAM expansion) I wrote a program that took 19 seconds to list. It was a Logo interpreter (with a smattering of machine code to draw hires lines, which I cribbed from a book). And who said Commodore BASIC was rubbish  Cool

Cas Smiley

Offline Cero
« Reply #32 - Posted 2014-06-16 21:26:58 »

Thats what I call old school.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline kingroka123

JGO Ninja

Medals: 48
Projects: 7
Exp: 1 year

Gamer's Helmet

« Reply #33 - Posted 2014-06-17 02:04:57 »

A lot

Online princec

« JGO Spiffy Duke »

Medals: 456
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #34 - Posted 2014-06-17 07:55:32 »

Well, it was about 1981 or so.

Cas Smiley

Offline Endos
« Reply #35 - Posted 2014-06-17 08:40:34 »

The longest code I wrote was in my old job, while porting a very old ERP to something "more visual". Around 200K lines or so, with the worst and more obfuscated language that exists in the universe Cranky

And as the longest personal work, there where 2 and I'm not sure which where longer (around 20K lines). One was something like a Windows OS I wrote more than 20 years back in C, and the other a shooter for the Nintendo GameBoy Color.

SUPERBLAM! - Super Mario type game for Android [iOS coming]
MINDTRIS - Most addictive puzzle ever for Android/iOS
Retroships - Space Shooter for Android
Offline cylab

JGO Ninja

Medals: 59

« Reply #36 - Posted 2014-06-17 12:29:53 »

LOC means nothing. My current work-project is 105k of java, xml, jelly and groovy...

Mathias - I Know What [you] Did Last Summer!
Offline SHC
« Reply #37 - Posted 2014-06-17 14:00:35 »

A Hello World program!!!!  Grin Grin

Offline SwordsMiner

JGO Coder

Medals: 8
Projects: 2
Exp: 1 year

The one and only.

« Reply #38 - Posted 2014-06-17 19:01:56 »

As ray said, lines of code are only a hint of whats really going inside, and more or less shows just how many times you have pressed enter.

I had metrics on my eclipse, and my biggest project is Project NAH, which functions in a mere 6,044 lines of code.

If I made you laugh, helped you at all, or did something cool, I only ask that you smash that appreciate button with your nose.
Offline AppleSauce
« Reply #39 - Posted 2014-06-18 00:57:17 »

A Hello World program!!!!  Grin Grin

Ha, an interesting project would to write as many lines of code, outputting "hello world".  Tongue
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Screem
« Reply #40 - Posted 2014-06-18 01:00:32 »

You'd end up with something similar to FizzBuzzEnterpriseEdition. Cheesy
Offline AppleSauce
« Reply #41 - Posted 2014-06-18 01:03:53 »

You'd end up with something similar to FizzBuzzEnterpriseEdition. Cheesy

Nice, I'm gonna use this  Grin
Offline ra4king

JGO Kernel

Medals: 362
Projects: 3
Exp: 5 years

I'm the King!

« Reply #42 - Posted 2014-06-18 02:52:29 »

You'd end up with something similar to FizzBuzzEnterpriseEdition. Cheesy
I can't stop laughing! I also can't stop crying, as I've seen code like this at my corporate internship Emo

Offline ctomni231

JGO Wizard

Medals: 99
Projects: 1
Exp: 7 years

Not a glitch. Just have a lil' pixelexia...

« Reply #43 - Posted 2014-06-18 06:29:48 »

200K and counting...

Yeah, LOC is peanuts, it is all about how fast you can get things to work.

for(int i = 1; i < 101; i++){
     if(i%15 == 0)
     else if(i%3 == 0)
     else if(i%5 == 0)

I can't concentrate with all that Fizz Buzz...  Pointing

Offline Riven
« League of Dukes »

« JGO Overlord »

Medals: 882
Projects: 4
Exp: 16 years

Hand over your head.

« Reply #44 - Posted 2014-06-18 07:43:40 »

   for(int i=1;i<101;i++) {
      int a=((528>>i%15-1)&1)*4;
      int b=((-2128340926>>(i%15)*2)&3)*4;

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Offline HeroesGraveDev

JGO Kernel

Medals: 339
Projects: 11
Exp: 3 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #45 - Posted 2014-06-18 08:02:31 »

Guardian is currently 9084 (excluding my personal libraries. Personal libraries included I get 14451 LOC)
The archived 'Guardian II' was about 15233 lines. Just as well I rewrote it.

Paint.JAVA is currently ~13000 lines, although some amount of those were written by Longor1996, BurntPizza, and some other contributors.

My voxel engine is a mere 2481 lines.

My Ludum Dare entries are all around 2500 LOC, with the exception of the 7dRTS which was 6069. (Which you'd expect from a longer competition)

Of course, a fair number of those lines aren't technically code.

Offline StumpyStrust
« Reply #46 - Posted 2014-06-18 19:45:58 »

hmmm...almost all of the stuff I have posted would be in the range of 500-2k. I try and be clean with code...try.  Cranky

Offline Longor1996
« Reply #47 - Posted 2014-06-18 21:48:21 »

My current project is rather small then with its 10'272 lines of code.
That is, exluding the libraries I am using (LWJGL, KryoNET, EventBus).

At least according to SourceMonitor...

All that just for a Voxel-Engine!

- Longor1996

Sorry for my bad English! That's because i am from Germany.
Offline robocos987

Senior Newbie

Medals: 2
Exp: 3 years

« Reply #48 - Posted 2014-07-12 02:07:38 »

I would say the longest I've written so far is my RTS game(its not even finished yet).
It's currently:

Your mom is so fat, the recursive function calculating her mass caused a stack overflow Tongue
Pages: 1 [2]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.


Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Archive (20 views)
2015-01-29 04:26:08

theagentd (21 views)
2015-01-28 15:33:52

GamerIDGoesHere (29 views)
2015-01-27 01:23:23

GamerIDGoesHere (31 views)
2015-01-27 01:22:15

CopyableCougar4 (37 views)
2015-01-27 00:34:41

CopyableCougar4 (23 views)
2015-01-26 04:47:56

Olo (17 views)
2015-01-25 21:26:00

Olo (23 views)
2015-01-25 18:44:22

Robo11 (39 views)
2015-01-25 06:14:26

basil_ (33 views)
2015-01-17 22:29:32
2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21

Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!