Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Did anyone else get past tenth level...
Message
De
20/07/2005 18:28:29
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Games
Catégorie:
Jeux en ligne
Divers
Thread ID:
01033614
Message ID:
01034468
Vues:
20
>Dragan,
>
>I started level 12 with 195137, I got the script taking too long warning the end of 11 and then again when I got level 12 finished, but it hung and never gave me the score or ability to proceed to 13.

Finished level 14 at 1,631,244 after no less than ten warnings. The last moves take just too long.

I think this code suffers from running into a n**2 slowdown - it seems to check each two segments for crossing, and it bails out of the loop as soon as it finds one. By the end of the game, it has too many possible pairs to check. Wish this guy used arrays and updated the lines you just moved, plus any lines that were crossing them before the move, and kept just a number of intersections. Once it reaches zero, done.

OTOH, got to admire a guy who crams something like this into just 7K nowadays.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform