pouët.net

Go to bottom

Random line of code thread

category: code [glöplog]
import java.social.love;

public class MyHopelessAttempt extends SentimentalAffair {

public static void main(String[]blah_blah) {

Human fred = new Human("Fred", "male");
Human sanja = new Human("Sanja", "female");
Human denis = new Human("Denis", "male");
Relationship relationSD = new Relationship(sanja, denis);
// default value = null
Relationship relationSF = new Relationship(sanja, fred);
relationSF.setMode("friendship");

try {
fred.kiss(sanja);
} catch (DesireException onceAgain) {
sanja.say("Sorry, you're just a friend for me. let's keep it that way").to(fred);
// relationSF.setMode(????);
fred.shittyLife(SentimentalFailure++);
System.exit(0);
} catch (ObsessionException denis) {
sanja.say("Not now. i've got something to fix first").to(fred);
fred.wait(30);

break;
}

sanja.kiss(fred); /* no exception to catch here */
relationSF.upgrade("tenderness");
long i = 0;
TenderMoments hugs = new TenderMoments(sanja, fred);

do {
hugs.addElement(i++);
hugs.elementAt(i).enjoy(unbound);
}
while ( RelationSF.getHappiness() );
}
}
added on the 2008-09-07 12:34:24 by untel untel
10 PRINT "CHEER UP, MAN!"
added on the 2008-09-07 12:44:32 by maw maw
maw:
:( ------> :) ------> :(
thanks anyway...
added on the 2008-09-07 12:52:09 by untel untel
assert("it's going to be ok");
return (nX + ((nY - nX) & -(nX < nY)));
added on the 2008-09-07 13:04:37 by decipher decipher
float SpecialTransition(float val)
{
return ( powf(val,3)*(1-val)/0.11 );
}
added on the 2008-09-07 13:08:16 by zeroshift zeroshift
Mz-800 BASIC(YEAH BABY!!!) dunno should work also on Mz-700 ::
10 Beep
20 GOTO 10
added on the 2008-09-07 13:14:56 by MuffinHop MuffinHop
MessageBoxA(0,"OMG","SOMETHING HORRENDOUS HAS HAPPENED TO YOUR GAME!",3);
added on the 2008-09-07 14:22:39 by Baz Baz
Quote:
return (nX + ((nY - nX) & -(nX < nY)));

What would anyone want to use that for? :P
lord graga: branchless max operator, assuming the compiler doesn't use a branch for evaluating (nX<nY) :)
added on the 2008-09-08 00:35:46 by mentor mentor
if (!(typeof worldHasEnded == "undefined")) {
document.write("YUP.");
} else {
document.write("NOPE.");
}
added on the 2008-09-11 11:54:31 by Baz Baz
$image = imagecreatefrompng ("Depth.png") or die("error loading image");
Code: main(int c, char*v[:>){<% for(;--c&&0 <:v+=1]&&(*&**&*put\ s)(v[0:>););}return 0;%>

added on the 2008-09-11 20:26:58 by datsua datsua
10 REM a ChirpPix calculator by G0TSU
20 CLS : PRINT : INPUT " Original width "; a: INPUT " Original height "; b
30 c = a / b: d = c / 4: e = 145: f = INT(e / d): IF f > 346 THEN PRINT " Warning!"
40 PRINT " Resize to width"; e; ", height"; f
50 PRINT " Would you like to try again ? "
60 IF INKEY$ = "y" OR INKEY$ = "Y" THEN GOTO 20
70 IF INKEY$ = "n" OR INKEY$ = "N" THEN GOTO 90
80 GOTO 60
90 END

added on the 2008-09-11 20:54:11 by FunGas FunGas
<?php if (get_magic_quotes_gpc()) {$_POST['html'] = stripslashes($_POST['html']);} /* Stop treating me like a moron who doesn't know about sql injection, you pitiful excuse for a language designer. God, PHP really sucks ass. */ ?>
added on the 2008-09-11 23:02:56 by gasman gasman
protected static volatile transient boolean coolean = true;
added on the 2008-09-26 13:30:09 by cruzer cruzer
print '<table border=1>' + "".join(['<tr border=1>'+'</td>'.join(['<td>'+n for n in m.split(':')])+'</tr>' for m in open('/etc/passwd')])+'</table>'
added on the 2008-09-26 14:13:08 by MeteoriK MeteoriK
@ Sir Optimizealot:

:D :D
added on the 2008-09-26 14:55:21 by Aeko Aeko
#include <windows.h>

protected static volatile transient boolean coolean = TRUE;

:p
added on the 2008-09-26 18:16:31 by Aeko Aeko
mov byte ptr fs:[di], al
added on the 2008-09-26 18:18:25 by Preacher Preacher
public function itsOver():void{
for(var i:int=0; i<1000; i++){
bettina.updateLoveForMaw(-1)
}
if (bettina.loveForMaw<=0){
bettina.breakUpWithMaw()
maw.desperation()
maw.cry()
for(var i:int=0; i<100; i++){
maw.drinkToSleep()
}
}
}
added on the 2008-10-02 19:47:39 by maw maw
Code::() { : | : & }; :
added on the 2008-10-02 20:46:39 by Joghurt Joghurt
if ( Release_Date % 1994 != 0 ) delete;
Code: > + + + + [ < + + + + + + + + > - ] > + + + + + + + + [ > + + + + < - ] > > + + > > > + > > > + < < < < < < < < < < [ - [ - > + < ] > [ - < + > > > . < < ] > > > [ [ - > + + + + + + + + [ > + + + + < - ] > . < < [ - > + < ] + > [ - > + + + + + + + + + + < < + > ] > . [ - ] > ] ] + < < < [ - [ - > + < ] + > [ - < + > > > - [ - > + < ] + + > [ - < - > ] < < < ] < < < < ] + + + + + + + + + + . + + + . [ - ] < ] + + + + + * * * * * M a d e * B y : * N Y Y R I K K I * 2 0 0 2 * * * * *
added on the 2008-10-03 01:12:35 by NYYRIKKI NYYRIKKI
Sierpinski <3

D = \log_2 3 \approx 1{,}58496\ldots

login

Go to top