Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder Jazzo's Avatar
    Join Date
    Apr 2008
    Location
    New York City
    Posts
    164
    Thanks
    20
    Thanked 2 Times in 2 Posts

    Coding Lingo Forum Game

    If forum games are not allowed, I'm extremely sorry, go ahead and delete this thread (please don't ban me). But I thought it would be fun, among geeks, to do a coding language forum game. Here's pretty much how it works: you form "attacks" or "blocks" using commands from different coding languages, anywhere from BASIC to PHP. With each post, post your current HP (you start with 500, but when you get to zero you can start over), an attack or defense, and what its affect is. For example:

    HP: 500
    Throws a <style> tag at opponent. Opponent is blinded by my amazing style. -10HP.

    Then whoever wants to reply would say:

    HP: 490
    Uses catch() to grab opponent and throw on the ground. -20HP.

    It can be silly or whatever, as long as the "code" is actual "code." I think this could be fun, so I'll start out.

    HP: 500
    Sends out a PHP echo. The sound waves harm anyone in a 5 mile radius. -10HP.
    ~Julian
    14 y/o web developer, drummer, and Bridge player

  • #2
    UE Antagonizer Fumigator's Avatar
    Join Date
    Dec 2005
    Location
    Utah, USA, Northwestern hemisphere, Earth, Solar System, Milky Way Galaxy, Alpha Quadrant
    Posts
    7,691
    Thanks
    42
    Thanked 637 Times in 625 Posts
    PHP Code:
    die(); 
    I think that about covers it.

  • #3
    Regular Coder brad211987's Avatar
    Join Date
    Sep 2005
    Location
    Ohio
    Posts
    631
    Thanks
    10
    Thanked 50 Times in 50 Posts
    Quote Originally Posted by Fumigator View Post
    PHP Code:
    die(); 
    I think that about covers it.
    Hilarious!

  • #4
    Regular Coder Jazzo's Avatar
    Join Date
    Apr 2008
    Location
    New York City
    Posts
    164
    Thanks
    20
    Thanked 2 Times in 2 Posts
    I try() to dodge the attack and it hits me doing half damage
    HP: 250

    (nice one)
    ~Julian
    14 y/o web developer, drummer, and Bridge player

  • #5
    Regular Coder funnymoney's Avatar
    Join Date
    Aug 2007
    Posts
    364
    Thanks
    17
    Thanked 24 Times in 24 Posts
    Quote Originally Posted by Fumigator View Post
    PHP Code:
    die(); 
    I think that about covers it.
    lol, nice

  • #6
    Regular Coder slappyjaw's Avatar
    Join Date
    Mar 2009
    Location
    Wonderland!
    Posts
    146
    Thanks
    14
    Thanked 3 Times in 3 Posts
    i exit(); before i die();

    p.s. good idea on the game. haha.

  • #7
    Senior Coder whizard's Avatar
    Join Date
    Jan 2005
    Location
    Philadelphia, PA, USA
    Posts
    1,662
    Thanks
    14
    Thanked 76 Times in 76 Posts
    Fighter1: die();
    Console: Fighter2 Dies: -100% HP
    Fighter2: $reincarnate = new person;
    Fighter2: reincarnate->push(Fighter1);
    Console: Fighter1 is pushed: -10% HP
    Fighter1: sleep();
    Console: Fighter1 is rested: +4% HP
    Fighter2: exit();
    Console: Fighter2 has left.



    Dan
    PHP Tip: If you want to use short tags (<? or <?=$var) then make sure short_open_tag is set to "1". It really helps.

    Don't forget to save everyone time and mark your thread as Resolved :)

    "Also note that it is your responsibility to die() if necessary."

    DON'T USE THE MYSQL_ EXTENSION

  • #8
    Regular Coder
    Join Date
    Oct 2009
    Posts
    190
    Thanks
    12
    Thanked 2 Times in 2 Posts
    <facepalm> thread </facepalm>


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •