Blink
Addicted Member
Posts: 1,699
|
Post by Blink on Nov 22, 2007 9:51:52 GMT -5
Rules:- You can't die
- Any language is allowed
- Some of your code must come from a real language
- Try to leave it open for other people
I'll start. Next person to post has to write their own so they don't get punched, but also try to punch/kill/choke all other coders. person[] = get(people.posted.in[thisThread]);
for (x=1 ; x < person.length() ; x++ ) {
person[x].punch();
}
|
|
Chad
Senior Member
Former Staff
Posts: 396
|
Post by Chad on Nov 22, 2007 11:55:29 GMT -5
|
|
|
Post by Reverse Blade on Nov 22, 2007 12:01:28 GMT -5
var fight = New Array('Moldy Cheese','Kahless'); fight.push('Blink');
Pushing count?
|
|
Blink
Addicted Member
Posts: 1,699
|
Post by Blink on Nov 22, 2007 12:19:37 GMT -5
SHIT.
Sorry Blink, I accidentally Modified your post instead of quoting it, didn't realize till later. >_>
Forgive me. : [
-wiLsiakk
|
|
Chad
Senior Member
Former Staff
Posts: 396
|
Post by Chad on Nov 22, 2007 14:20:52 GMT -5
var bomb = document.BombWebAddictWith('Drano_Bomb')
for(a=0;a<bomb.length;a++){
population.match.few_survivors;
}
|
|
|
Post by Reverse Blade on Nov 22, 2007 14:48:03 GMT -5
XML <getsGun>Shoots</getsGun>
|
|
Blink
Addicted Member
Posts: 1,699
|
Post by Blink on Nov 22, 2007 16:25:53 GMT -5
It's np chad.... XML <getsGun>Shoots</getsGun> while (true) {
// Attempt Dodge Bullet
if (bullet.distance() <= 10) { dodged = dodgeOutOfWay(bullet.distance()); if (dodged == true){ alert("Hah! I dodged your bullet"); } else { blink = dead; } }
// Get health if less then 50
if (health <= 50){
if (healthBox.x > blink.x){blink.x ++;} if (healthBox.x < blink.x){blink.x --;} if (healthBox.y < blink.y){blink.y --;} if (healthBox.y > blink.y){blink.y ++;}
}
// Own Everyone
for (int x; x <= thread.length(); x++){ enemies[x] = post[x].name; }
for (int x; x <= enemies[].length(); x++){ if (enemies[x].distance < 2){ worked = punchInTheFace();
if (worked == true){ alert("OWNED!"); } else { run(); } }
}
yeah... I take this seriously /\
|
|
|
Post by Reverse Blade on Nov 22, 2007 16:56:00 GMT -5
var knife='has'
if(knife.hitTest(you._x, you._y, true)) { you.health -= 5; } else if(!knife.hitTest(you._x, you._y, true) && knife='has') { throws.knife; you.health -= 3; knife='doesn't have' }
Actionscript
|
|
Blink
Addicted Member
Posts: 1,699
|
Post by Blink on Nov 22, 2007 17:49:41 GMT -5
Updated my code to account of knives.
We should each have our own code, like a robot, and just update it.
while (true) {
// Attempt to Dodge objectB = find.closestEnemyWeapon();
if (objectB.distance() <= 10) { dodged = dodgeOutOfWay(objectB.distance()); if (dodged == true){ alert("Hah! I dodged it"); } else { blink = dead; } }
// Get health if less then 50
if (health <= 50){
if (healthBox.x > blink.x){blink.x ++;} if (healthBox.x < blink.x){blink.x --;} if (healthBox.y < blink.y){blink.y --;} if (healthBox.y > blink.y){blink.y ++;}
}
// Own Everyone
for (int x; x <= thread.length(); x++){ enemies[x] = post[x].name; }
for (int x; x <= enemies[].length(); x++){ if (enemies[x].distance < 2){ worked = punchInTheFace();
if (worked == true){ alert("OWNED!"); } else { run(); } }
}
|
|
|
Post by Schubaltz on Nov 23, 2007 21:59:49 GMT -5
Why can't guests post and why shouldn't I be annoyed? var bomb = document.BombWebAddictWith('Drano_Bomb') for(a=0;a<bomb.length;a++){ population.match.few_survivors; } (just doing my job) var wA = { bestForumEver: true, pwnsn00bs: true, n00bs: { who: "you", threat: "not really", pwned: null, wtfCoding: true }, missleDefense: function() {
// if(this.n00bs.wtfCoding == true) - that's just a given
this.n00bs.pwned = true; this.bestForumEver = "truer"; } } wA.missleDefense();
|
|
|
Post by Reverse Blade on Nov 24, 2007 2:42:51 GMT -5
document.write(knife.stab);
|
|
|
Post by Schubaltz on Nov 24, 2007 2:46:49 GMT -5
document.body.lastChild.data += " self";
|
|