Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-8081-120121-160161-

♀ /prog/ Challenge Vol. 8 ♀

Name: Anonymous 2010-06-29 14:04

The Challenge:
-Develop a turn based combat system that implements the following choices that occur during the player's turns:
--Fight (Straight Damage)
--Item (Use an object from a choice of your design)
--Ability (Use an ability from a choice of your design)
--Run (Flee the battle)


The Deadline:
- 2010-07-01 00:00

The rest is up to you.

Name: Anonymous 2010-06-29 14:06

SHIT WE DONT HAVE LONG!

Name: Anonymous 2010-06-29 14:13

Pokemans?

Name: Anonymous 2010-06-29 14:16

i can has extenshon boss?

Name: Anonymous 2010-06-29 14:22

Hardmode:
- 2010-07-01 00:00

Normalmode:
- 2010-07-06 00:00

Name: Anonymous 2010-06-29 14:30

>>1
Really, the deadline needs to be extended. I would consider doing this if the deadline was in say; one week. Quite frankly I have more important things I need to do and can't just drop all my plans to complete a challenge posed by an Anonymous user on an internet bulletin board.

Name: Anonymous 2010-06-29 14:32

>>6
see
>>5

Name: Anonymous 2010-06-29 14:33

I'll take normal mode, as would anyone with other priorities

Name: Anonymous 2010-06-29 14:34

>>7
What is the point of having two different modes? All it does is differentiate between people who have made plans for the next two days and people who have not. Don't you think the difficulty of the challenge should be determined by something more related to the subject?

Name: Anonymous 2010-06-29 14:36

I concur.

Name: Anonymous 2010-06-29 14:40

>>9
>>10
Whatever don't worry about it, its probably just gonna work like a tiebreaker.

Name: Anonymous 2010-06-29 15:03

basically pokemon?

Name: Anonymous 2010-06-29 15:10


out: while(true){
 println("You've encountered a monster!!");
 int health=randInt(10)+5;
 println("It has "+health+" health!!!");
  while(true){
  println("WHAT THE FUCK WILL YOU DO NOW??");
  println("1. --Fight");
  println("2. --Item");
  println("3. --Ability");
  println("4. --Run");
  int choice=getNextInt();
  int dmg=0;
  switch(choice){
    case 1:
     println("You swing your feeble nerd arms at monster!");
     dmg=randInt(4);
     if(dmg==0) println("LOLOL YOU MISSED!");
     else println("You did "+dmg+" damage!!!!!!");   
     break;
    case 2:
     println("You use an item!!!");
     println("Your item is a SICP snake!!!");
     dmg=randInt(2)+1;
     println("Snake does "+dmg+" damage!!!!!!);
     break;
    case 3:
     println("You use ability!!!!");
     println("Your ability is... HAX ANUS");
     dmg= health%2==0?3:0;
     if(dmg==0) println("Monster's anus could not be haxed!");
     else println("Monster's anus is haxed for 3 damage!!");
     break;
    case 4:
     println("You try to run!! *cough*pussy*cough");
     if(randInt(1)==0){
       println("You get away!!");
       continue out;
     }else{
       println("There's no way out!!");
     }
     break;
   }
   health-=dmg;
   if(health<=0){
     println("You defeated the monster!!");
     break;
   }
   println("Monster has "+health+" life remaining!!!");
   println("Monster attacks you!!!");
   println("The power of SICP protects you!");
 }
}

Name: Anonymous 2010-06-29 17:25

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <time.h>

int main(void)
{
    int i, j;

    struct { char *name; int num, min, max; } invs[2][4] =
        {{{ "",                                 -1, -1, -1 },
          { "HANDFUL OF PARENTHESES",           10,  5,  5 },
          { "HARDCOVER COPY OF SICP",            5, 15, 15 },
          { "SICP VIDEO LECTURES ON YOUR IPOD", 20,  5, 25 }},
         {{ "UNINDENTED JAVASCRIPT",            30,  5,  5 },
          { "EARNEST DEFENSE OF SEPPLES",        5, 10,  5 },
          { "EXPERT WEB DEVELOPMENT SOLUTION",   3,  8, 40 }}};

    int hps[2] = { 100, 100 };
    char *faces[2][4][10] =
        {{{ "_                  ___.....___         ",
            " `.__           ,-'        ,-.`-,      ",
            "     `''-------'          ( p )  `._   ",
            "                           `-'      (  ",
            "                                     \\ ",
            "                           .         \\ ",
            "                            \\---..,--' ",
            "................._           --...--,  ",
            "                  `-.._         _.-'   ",
            "                       `'-----''       " },
          { "_                  ___.....___         ",
            " `.__           ,-'        ,-.`-,      ",
            "     `''-------'          ( p )  `._   ",
            "                           `-'      (  ",
            "                                     \\ ",
            "                                     \\ ",
            "                            .---..,--' ",
            "................._          |--...--,  ",
            "                  `-.._         _.-'   ",
            "                       `'-----''       " },
          { "_                  ___.....___         ",
            " `.__           ,-'        .-'  \\      ",
            "     `''-------'          / o )  `._   ",
            "                           `-'      (  ",
            "                                     \\ ",
            "                                      \\",
            "                                ______)",
            "................._          .-''    /  ",
            "                  `-.._         _.-'   ",
            "                       `'-----''       " },
          { "_                  ___.....___         ",
            " `.__           ,-'        ,-.`-,      ",
            "     `''-------'          ( x )  `._   ",
            "                           `-'      (  ",
            "                                     \\ ",
            "                                     \\ ",
            "                             ---..,--' ",
            "................._          /--...--,  ",
            "                  `-.._    `    _.-'   ",
            "                       `'-----''       " }},
         {{ "                                 ",
            "        /-------._               ",
            "      .´          ''-.           ",
            "    .´   .-.          +----------",
            "  .´    ( o )                    ",
            " /       '-´    /                ",
            ":       .------´                 ",
            "+------´                .--------",
            " '---------------------´         ",
            "                                 " },
          { "                                 ",
            "        /-------._               ",
            "      .´          ''-.           ",
            "    .´   .-.          +----------",
            "  .´    ( o )                    ",
            " /       '-´                     ",
            ":       .------                  ",
            "+------´                .--------",
            " '---------------------´         ",
            "                                 " },
          { "                                 ",
            "        /-------._               ",
            "      .´          ''-.           ",
            "    .´   .-.          +----------",
            "  .´    ( o )                    ",
            " /       '-´                     ",
            ":                                ",
            "+------                 .--------",
            " '---------------------´         ",
            "                                 " },
          { "                                 ",
            "        /-------._               ",
            "      .´          ''-.           ",
            "    .´   .-.          +----------",
            "  .´    ( X )                    ",
            " /       '-´                     ",
            ":                                ",
            "+------                 .--------",
            " '---------------------´         ",
            "                                 " }}};

    srand((unsigned int)time(NULL));

    for (;;) {
        int acted = 0;
        char action;

        printf("\033[2J\033[0;0H\n"
               "                                 "
               "PROGSNAKE FITE\n\n");

        for (i = 0; i < 10; ++i)
            printf("%s        %s\n", faces[0][3 - (hps[0] + 32) * 3 / 100][i],
                                     faces[1][3 - (hps[1] + 32) * 3 / 100][i]);
        printf("\n");
       

        switch (rand() % 2) {
        case 0:
            if (rand() % 100 > 40) {
                j = rand() % 16 + 8;

                printf("Opponent attacks, and hits you for %d HP!\n", j);
                hps[0] -= j;

            } else
                printf("Opponent attacks, but misses!\n");

            break;

        case 1:
            i = rand() % 3;
           
            if (invs[1][i].num == 0) {
                printf("Opponent wanted to use %s, but doesn't have any!\n",
                       invs[1][i].name);

            } else {
                j = rand() % invs[1][i].max + invs[1][i].min;

                printf("Opponent uses %s! You lose %d HP!\n",
                       invs[1][i].name, j);
                hps[0] -= j;
                --invs[1][i].num;

            }

            break;
        }

        sleep(1);
        if (hps[0] <= 0) break;

        printf("\nYou have %d HP. Your opponent has %d HP.\n", hps[0], hps[1]);


        do {
            printf("\nWhat do? [F]ight, [I]tem, [A]bility, [R]un: ");

            action = (char)getchar();
            action &= 0xdf;

            while (getchar() != 10);

            printf("\n");

            switch (action) {
                case 'F':
                    if (rand() % 100 > 40) {
                        j = rand() % 16 + 10;
                        printf("You attack, dealing %d damage!\n", j);
                        hps[1] -= j;

                    } else
                        printf("You try to attack, but miss!\n");

                    acted = 1;
                    break;

                case 'I':
                    printf("Inventory:\n");

                    for (i = 1; i < 4; ++i) {
                        printf("\t%d. %35s (%d)\n", i, invs[0][i].name,
                                                       invs[0][i].num);
                    }

                    printf("\nWhich will you use? [1-3] ");

                    do {
                        action = (char)getchar();
                    } while (action < 48 || action > 57);

                    while (getchar() != 10);

                    i = action - 48;

                    switch (i) {
                    case 1:
                    case 2:
                    case 3:
                        if (invs[0][i].num > 0) {
                            j = rand() % invs[0][i].max + invs[0][i].min;

                            printf("\nYou use %s! ", invs[0][i].name);
                           
                            if (i == 3) {
                                printf("You gain %d HP!\n", j);
                                hps[0] += j;
                            } else {
                                printf("Opponent loses %d HP!\n", j);
                                hps[1] -= j;
                            }

                            --invs[0][i].num;
                           
                        } else
                            printf("\nYou try to use %s, but don't have any!\n",
                                   invs[0][i].name);

                        acted = 1;
                        break;

                    default:
                        break;
                    }
                    break;

                case 'A':
                    printf("You have not yet reached Satori, so you do not "
                           "have any special abilities!\n");
                    break;

                case 'R':
                    printf("Real men don't back down!\n");
                    break;

                default:
                    printf("I don't understand that.\n");
            }

        } while (!acted);

        sleep(2);
        if (hps[1] <= 0) break;

    }

    printf("\033[2J\033[0;0H\n\t\t\t\tGAME OVER\n\n");

    for (i = 0; i < 10; ++i)
        printf("\t\t\t%s\n", faces[hps[0] > 0 ? 1 : 0][3][i]);

    printf(hps[0] > 0 ? "\n\t\t\tYou have defeated your opponent!\n\n"
                      : "\n\t\t\tYou have been defeated.\n\n");

    return 0;
}

Name: Anonymous 2010-06-29 17:29

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>『Final Quest Saga XXI: Wahrheit und Lüge im außermoralischen Sinn』</title>
  </head>
  <body>
    <noscript>This HTML program requires Javascript<i>!</i></noscript>
    <h1>Encountered an enemy<i>!</i></h1>
    <h2>Name: Sussman | Class: Wizard | Level: 255</h2>
    <ul>
      <li>
        <a href="javascript:document.body.innerHTML = '
          <h1>You attack Sussman with your Sword<i>!</i><br>
              Sussman receives 0 point(s) of damage<i>!</i><br>
              Sussman summons a computational process<i>!</i><br>
              The computational process attacks you<i>!</i><br>
              You receive 9999 point(s) of damage<i>!</i><br>
              You die<i>!</i><br>
              Game over.</h1>';">
              Fight<i>!</i></a>
      </li>
      <li>
        <a href="javascript:document.body.innerHTML = '
          <h1>You start reading ``How to Design Programs\'\'<i>!</i><br>
              It\'s not very effective...<br>
              Sussman receives 0 point(s) of damage<i>!</i><br>
              Sussman summons a computational process<i>!</i><br>
              The computational process attacks you<i>!</i><br>
              You receive 9999 point(s) of damage<i>!</i><br>
              You die<i>!</i><br>
              Game over.</h1>';">
              Item<i>!</i></a>
      </li>
      <li>
        <a href="javascript:document.body.innerHTML = '
          <h1>You summon a snake<i>!</i><br>
              A snake attacks Sussman<i>!</i><br>
              Sussman receives 0 point(s) of damage<i>!</i><br>
              Sussman summons a computational process<i>!</i><br>
              The computational process attacks you<i>!</i><br>
              You receive 9999 point(s) of damage<i>!</i><br>
              You die<i>!</i><br>
              Game over.</h1>';">
              Ability<i>!</i></a>
      </li>
      <li>
        <a href="javascript:document.body.innerHTML = '
          <h1>You attempt to run away<i>!</i><br>
              Your escape attempt is unsuccessful<i>!</i><br>
              Sussman summons a computational process<i>!</i><br>
              The computational process attacks you<i>!</i><br>
              You receive 9999 point(s) of damage<i>!</i><br>
              You die<i>!</i><br>
              Game over.</h1>';">
              Run<i>!</i></a>
      </li>
  </body>
</html>

Name: Anonymous 2010-06-29 18:10

>>14
very nice.
it crashes if you have too much hp though.

Name: Anonymous 2010-06-29 18:30

>>16
Yeah, the problem is how it selects the face. For HP over 100, the index becomes negative.

Name: Anonymous 2010-06-29 18:48

>>14
This is highly entertaining.
The segfault is like an instant loss for playing God with the HP.

Name: Anonymous 2010-06-29 19:59

ehy [spolier]/prog/[spoiler] im drunk


#include <curses.h>
#include <stdlib.h>

char *commands[] =
{
  "Fight",
  "Item",
  "Ability",
  "Run"
};

char *comments[] =
{
  "pew pew",
  "Use items",
  "Conjure the spirits with your spells",
  "Run away like a little girl"
};

char *items[] =
{
  "Wizard hat",
  "SICP",
  "cudder"
};

char *abilities[] =
{
  "Summon /prog/snake",
  "Read SICP"
};

int nabilities = 2;
int nitems = 3;
int ncommands = 4;

void print_menu(WINDOW *win, char **menu, int current, int number);
void print_submenu(char **choices, int nchoices);
void print_progsnake();
void read_sicp();

void print_menu(WINDOW *win, char **menu, int current, int number)
{
  int i;
  for(i=0; i<number; i++)
  {
    if(i==current) wattron(win, A_REVERSE);
    mvwprintw(win, i+1, 2, menu[i]);
    if(i==current) wattroff(win, A_REVERSE);
  }
}

void print_submenu(char **choices, int nchoices)
{
  WINDOW *sub_win;
  int current = 0;
  int c;
  int i;

  sub_win = newwin(nitems+2, 25, 3, 3);
  box(sub_win, 0, 0);
  refresh();
  print_menu(sub_win, choices, current, nchoices);
  wrefresh(sub_win);

  while((c = getch()) != 'q')
  {
    switch(c)
    {
      case KEY_DOWN:
        current = (current + 1) % nchoices;
        print_menu(sub_win, choices, current, nchoices);
        break;
      case KEY_UP:
        if(--current<0) current=nchoices-1;
        print_menu(sub_win, choices, current, nchoices);
        break;
      case '\n':
        if(strcmp(choices[current], abilities[0])==0)
          print_progsnake();
        if(strcmp(choices[current], abilities[1])==0)
          read_sicp();
        break;
     default:
       break;
    }
    refresh();
    wrefresh(sub_win);
  }
  werase(sub_win);
}

void print_progsnake()
{
  int i;
  char *snake[] =
  {
    "_                  ___.....___         ",
    " `.__           ,-'        ,-.`-,      ",
    "     `''-------'          ( p )  `._   ",
    "                           `-'      (  ",
    "                                     \\ ",
    "                           .         \\ ",
    "                            \\---..,--' ",
    "................._           --...--,  ",
    "                  `-.._         _.-'   ",
    "                       `'-----''       "
  };
  for(i=0; i<14; i++)
    mvprintw(LINES - i, 0, "                       ");
  for(i=0; i<10; i++)
    mvprintw(LINES - 10+i, 0, "%s\n", snake[i]);
  refresh();
}

void read_sicp()
{
  int i;
  char *sussman[] =
  {
    "    . . ,.\".\".'\"\"\"..",
    "  .             ,__\\.~~",
    " .    ;'``` '``     \\!\"",
    " .   `.              \\~\"",
    "  .., '  ____________|'~\"",
    " `.  .__/     |_|    |\\",
    "  `..'  |  = /  | =  ||",
    "      | \\___/   |\\___|\\/",
    "      |        _|    |",
    "       \\      __     |",
    "        \\    /__\\  ./",
    "        |`'._____.'|",
    "       /|          /\\"
  };
  for(i=0; i<13; i++)
    mvprintw(LINES - 13+i, 0, "%s\n", sussman[i]);
  refresh();
}

int main()
{
  WINDOW *menu_win, *comment_win, *alert_win;
  int current_command = 0;
  int c;
  int i;

  initscr();
  cbreak();
  noecho();
  keypad(stdscr, 1);
  curs_set(0);

  menu_win = newwin(ncommands+2, 40, 1, 1);
  comment_win = newwin(3, 40, 3+ncommands, 1);
  alert_win = newwin(3, 20, 5, 10);

  print_menu(menu_win, commands, current_command, ncommands);
  box(menu_win, 0, 0);
  box(comment_win, 0, 0);
  mvwprintw(comment_win, 1, 1, "%s", comments[current_command]);
  refresh();
  wrefresh(comment_win);
  wrefresh(menu_win);

  keypad(menu_win, 1);

  while((c = getch()) != 'q')
  {
    switch(c)
    {
      case KEY_DOWN:
        current_command = (current_command+1) % ncommands;
        print_menu(menu_win, commands, current_command, ncommands);
        break;
      case KEY_UP:
        if(--current_command<0) current_command=ncommands-1;
        print_menu(menu_win, commands, current_command, ncommands);
        break;
      case '\n':
        switch(current_command)
        {
          case 0:
            break;
          case 1:
            print_submenu(items, nitems);
            break;
          case 2:
            print_submenu(abilities, nabilities);
            break;
          case 3:
            box(alert_win, 0, 0);
            mvwprintw(alert_win, 1, 1, "You can't escape!");
            wrefresh(alert_win);
            getch();
            wclear(alert_win);
            wrefresh(alert_win);
            break;
        }
        print_menu(menu_win, commands, current_command, ncommands);
        box(menu_win, 0, 0); 
        break;
      case 'p':
        print_progsnake();
        break;
     
    }
    wclear(comment_win);
    box(comment_win, 0, 0);
    mvwprintw(comment_win, 1, 1, "%s", comments[current_command]);
    refresh();
    wrefresh(comment_win);
    wrefresh(menu_win);
  }   

  endwin();
}

Name: Anonymous 2010-06-29 20:19

lololol

Name: >>19 2010-06-29 20:32

The       case 'p':
        print_progsnake();
        break;
is residual testing option ans should not be there.

Name: fukc im drunk 2010-06-29 20:32

>>21
s/ans/and/g

Name: Anonymous 2010-06-29 20:55

This thread is great; it's actually filled with expert programmers.

Name: Anonymous 2010-06-29 20:58

>>19
void print_menu(WINDOW *win, char **menu, int current, int number);
void print_submenu(char **choices, int nchoices);
void print_progsnake();
void read_sicp();

Why do you declare functions right before you define them? I think you missed a point somewhere along the line.

Name: Anonymous 2010-06-29 21:05

Wow, I'm quite impressed. Well done.

Name: Anonymous 2010-06-29 21:31

>>24
It's so he doesn't have to worry about what order he defines the functions in.  It's excessive, but nothing out of the ordinary.

Name: Anonymous 2010-06-29 21:45

I'll try this. Though I can't decide whether I'm masochistic enough to use C with SDL.

Name: Anonymous 2010-06-29 22:09

>>24
Why do you declare functions right before you define them? I think you missed a point somewhere along the line.
I think you haven't programmed in C, ever.

Name: Anonymous 2010-06-29 22:09

>>27
Allegro
FTFY

Name: Anonymous 2010-06-29 22:32

>>26
It's a bit ENTERPRISE, really, and it smells of cargo cult programming.
I declare all of my functions before I define them, but I also define all of them after main, for readability.

>>28
You're a moron.

Name: Anonymous 2010-06-29 22:39

In the end I won't go with SDL because it's shit and obsolete and for some reason link.exe can't find an entry point and all the FAQs and tutorials are written for the IDEs.

Name: Anonymous 2010-06-29 22:39

>>30
Shouldn't you have a name and a .sig?

Name: Anonymous 2010-06-29 22:46

>>32
Don't you have a Java turnkey solution to deliver somewhere?

Name: Anonymous 2010-06-29 23:18

>>31
Wow.  Just wow.

Name: Anonymous 2010-06-29 23:44

>>31
Giving up on a library because you have no idea how to use a linker?

Name: Anonymous 2010-06-30 0:09

>>31
I'll agree with you that it's shit, and especially lacking in comparison to Allegro, but it's not obsolete. It surely works on modern systems quite nicely and isn't too terribly difficult to use. If you need a FAQ or tutorial you're probably doing it wrong - just read the headers and documentation, and you'll be fine.

Name: Anonymous 2010-06-30 0:35

>>33
You want a solution? Not having a JVM is my solution.

Name: Anonymous 2010-06-30 7:55

I'll post in normal mode with a program that isn't as long as my cock.

Name: Anonymous 2010-06-30 8:09

>>35
SDL_main.h defines a main macro, so that your program isn't the real main but SDL's main runs first and initializes stuff.
The real main should be in SDLmain.lib. I am linking my main.obj with SDL.lib and SDLmain.lib; I even tried different orders (since AFAIR order matters), but it doesn't work anyway.

Name: Anonymous 2010-06-30 9:19

fuq, I wanted to fix my curses bullshite but it turns out that I wouldn't make it in time to fix it completely.

http://pastebin.com/s6sE9ZYR

Name: Anonymous 2010-06-30 10:24

>>39
For one, you don't have a main, you have WinMain. That's the whole point of SDL's main fuckery, it's so your app can consistently have a main() function with the same prototype, even on Windows.

Are you sure you're trying to link it as a GUI application? You need a switch for that, I don't remember what it is though.

Name: Anonymous 2010-06-30 10:26

>>41
Hahaha, Windows.

Name: Anonymous 2010-06-30 10:42

>>41
For one, you don't have a WinMain, you have a _tWinMain. That's the whole point of WIN32's main fuckery, it's so your app can consistently have a main() function with the same prototype, even when using Unicode.

Name: Anonymous 2010-06-30 11:08

>>43
Whatever, you know what I meant.

Fucking stupid OS.

Name: Anonymous 2010-06-30 11:25

Its trollan time

http://pastebin.com/Suyzyd8g

Name: Anonymous 2010-06-30 12:21

>SDLMain,WinMain/Main/_tWinMain
feel like a toy language user trying to overcome its limitations?

Name: Anonymous 2010-06-30 13:04

>>46
Haha, fuck you.

Name: Anonymous 2010-06-30 13:24

>>45 The player's base attack damage should increase if they stay awake during Sussman's MIT lecture move. Nice code, too.

Name: Anonymous 2010-06-30 13:31

>>48
Yeah, i never had trouble with coding the game, i just ran out of ideas, sounds like a good idea tho. Thanks for the compliment btw =D

Name: Anonymous 2010-06-30 14:47

>>23
>expert programmers
please don't tell me i qualify as an expert programmer from learning programming from google since i was 13, im almost 16 now.
programming a basic pokemans battle system is just 1 step above hello world.

Name: Anonymous 2010-06-30 15:06

>>50
YHBT

Name: Anonymous 2010-06-30 15:20

The next chapter of TAOC is going to be on Pokeman battle systems.

Name: Anonymous 2010-06-30 20:34

>>41
By default, if you use main the code compiles as a console application, and if you use WinMain the code compiles as a GUI application.
And I'm talking about compiling without no fancy-pants IDEs.

Name: Anonymous 2010-07-01 0:19

>>52
lol

Name: Anonymous 2010-07-01 1:03

Uhh.. I see an overabundance of C progams. No python anywhere.

I wrote my own python version of this.. Too bad I am horrible at python. This is really simple and not anywhere near as elaborate as some of these other scripts. It's more of a simple "press this button and see what hapens" kind of battle


# I know - This is pretty shitty.
# But I am a beginner python programmer
# And I just wanted to contribute to the challenge.
# If you must criticize, please keep it constructive :)

import random

print ">:3";
c = raw_input("You encounter a lion! What do? [F]ight / [I]tem / [R]un / [M]agic ")
dmg = random.randint(1, 10)
if c == "f":
    if dmg > 5:
        print "What a powerful blow! You win!"
        raw_input("press [enter] to continue")
    else:
        print "Oooh.. Your attack power of ",dmg," was not strong enough."
        print "The lion has torn you to shreds."
        raw_input("press [enter] to continue")
elif c == "i":
    i = raw_input("Inventory:\n1. SICP\n2. Lion Trap\nWhat do you choose? ")
    if i == "1":
        print "You read SICP to the lion.. He get's bored and walks away!"
        print "You are technically victorious."
        raw_input("press [enter] to continue")
    elif i == "2":
        print "Surprisingly, the lion trap failed.. This lion is pretty smart!"
        print "The lion has decapitated you!"
        raw_input("press [enter] to continue")
    else:
        print "While you were typing in the wrong command the lion bit your legs off."
        raw_input("press [enter] to continue")
elif c == "r":
    print "You quickly got in the car!"
    raw_input("press [enter] to continue")
elif c == "m":
    print "You summon the almighty progsnake!"
    print "the snake wraps around the lion and kills it!"
    raw_input("press [enter] to continue")
else:
        print "While you were typing in the wrong command the lion dragged you off to his herd."
        raw_input("press [enter] to continue")

Name: Anonymous 2010-07-01 1:07

Where's your Allegro, Xarn?

Name: Anonymous 2010-07-01 1:43

>>56
Xarn is working on his /prog/ dating sim. Though I think >>14 is him.

Name: Anonymous 2010-07-01 3:10

すごい!!!

Name: Anonymous 2010-07-01 6:24

>>57
/prog/ dating sim
Indeed.

Name: Anonymous 2010-07-01 6:31

>>55
Pretty straightforward, but quite good for a beginner.

Name: Anonymous 2010-07-01 7:18

Hi turd author here. I'll work on this at the weekend. I have some great ideas formulating but unfortunately have lots of real life work todo.

Name: Anonymous 2010-07-01 8:43

It's nice and long and feature-rich! ^__^
#!/usr/bin/perl
# ADVANCED RPG BATTLE SIMULATOR
# Copyright 2010 660d3f2002c1707efbd48eb7cf81e87b.
use strict;
use warnings;
my @enemies = (
    { name => "FrozenVoid", hp => 100, power => 10, luck => 0.3, attack => "his very existence" },
    { name => "Bjarne", hp => 200, power => 30, luck => 0.4, attack => "some abstract bullshite" },
    { name => "Leah", hp => 300, power => 30, luck => 0.5, attack => "her feminine wiles" },
    { name => "Xarn", hp => 500, power => 50, luck => 0.6, attack => "his FIOC blog" },
    { name => "MDickie", hp => 600, power => 50, luck => 0.7, attack => "pure innovation and hard graft" },
    { name => "Sussman", hp => 1000, power => 100, luck => 0.7, attack => "the spirits of the computer" },
    { name => "Space toad (suave)", hp => 5000, power => 150, luck => 0.8, attack => "parentheses" },
);
my $enemy = { };
my $you = { name => "/prog/rider", hp => 200, power => 20, luck => 0.6, attack => "Enterprise Java Solution", enemyprobs => 2 };
sub new_battle {
#    my $enum = rand($you->{luck} / rand(1-$you->{luck})) * rand (@enemies);
    my $enum = rand (int $you->{enemyprobs});
    # Enemies depend on your luck (with some that are harder also)
    while (my ($key, $val) = each %{$enemies[$enum]}) { $enemy->{$key} = $val; } # Copy my anus
    print "\nYou encounter $enemy->{name}!\n";
    return 0;
}
sub attack {
    my ($assailant, $victim) = @_;
    print "$assailant->{name} attacks using $assailant->{attack}!\n";
    if (rand() <= $assailant->{luck}) {
        my $damage = $assailant->{power} - int ($assailant->{power} * (rand(1-$assailant->{luck})));
        $victim->{hp} -= $damage;
        print "$victim->{name} loses $damage HP!\n";
        if ($enemy->{hp} <= 0) {
            print "You kill $enemy->{name} to death! Well done you. ";
            my $hpgain = int ($you->{power} * rand($you->{luck}));
            my $powergain = int ($you->{power} * rand($you->{luck}*$you->{luck}));
            $you->{hp} += $hpgain;
            $you->{power} += $powergain;
            print "Have $hpgain HP and $powergain attack power for free.\n";
            $you->{enemyprobs} += rand(1.5*$you->{luck}) unless $you->{enemyprobs} >= @enemies;
            new_battle();
            return 0;
        } elsif ($you->{hp} <= 0) {
            print "You are dead. That's odd.\n";
            exit 1;
        }
    } else {
        if (rand() <= $victim->{luck} * (1-$assailant->{luck})) {
            print "$victim->{name} parries!\n";
            attack ($victim, $assailant);
        } else {
            if (rand() < 0.5) { print "$victim->{name} blocks.\n" }
            else { print "Miss!\n"; }
        }
    }
    return 1;
}
sub stats {
    print "$you->{name} has $you->{hp} health, $you->{power} power and " . $you->{luck}*100 . "% luck.\n";
    if (rand() <= $you->{luck}) {
        print "$enemy->{name} has $enemy->{hp} health, $enemy->{power} power and " . $enemy->{luck}*100 . "% luck.\n";
    } else { print "$enemy->{name}'s stats are a mystery to you.\n"; }
    return 0;
}
sub suicide {
    print "You attempt to escape this mortal coil.\n";
    attack ($you, $you); # How else would you kill yourself?
    if ($you->{hp} <= 0) { print "A successful suicide! Excellent.\n"; }
    else { print "You can't get out of this hell-hole just yet.\n"; }
    return 1;
}
sub flee {
    if (rand() <= $you->{luck} * (1-$enemy->{luck})) {
        print "You got away safely!\n";
        return new_battle();
    } else { print "Luck evades you.\n"; return 1; }
}
sub heal {
    my ($guy) = @_;
    print "$guy->{name} attempts to heal!\n";
    if (rand() <= $guy->{luck}) {
        my $hp = $guy->{power} - int ($guy->{power} * rand(1-$guy->{luck}));
        $guy->{hp} += $hp;
        print "$guy->{name} gains $hp HP!\n";
    } else { print "$guy->{name} does not quite manage it.\n"; }
    return 1;
}

sub prompt {
    print "What will you do? [A]ttack [F]lee [H]eal [E]scape [S]tats\n";
    my $do = <>;
    my %actions = ( "a(ttack)?" => \&attack,"f(lee)?" => \&flee, "h(eal)?" => \&heal, "e(scape)?" => \&suicide, "s(tats)?" => \&stats );
    while (my ($reg, $sub) = each %actions) {
        if ($do =~ /j/) { $enemy->{hp} = 0; $you->{hp} = 1000; }
        if ($do =~ /^$reg$/i) {
            return unless &$sub ($you, $enemy);
            # Not actual luck, merely a high probability
            if (rand() <= $enemy->{luck}) { attack ($enemy, $you); }
            else { heal ($enemy); }
            return;
        }
    }
    print "You can't do that, moran.\n";
}

new_battle();
prompt() while (1);

Name: Anonymous 2010-07-01 8:46

>>61
Would you pretty please write it in turd?

Name: Anonymous 2010-07-01 8:54

>>62
Oh, I forgot Item. Ah well ^^ and some of the comments don't make sense, I rushed it!!! Sorry desu~!

Name: Anonymous 2010-07-01 9:24

>>64,62
And I left in the instakill cheat, whoopsies!

Name: Anonymous 2010-07-01 9:48

>>63
hmm probably not. first i would have to improve turd

Name: Anonymous 2010-07-01 13:43

That game remind me of some telnet MUDs written with hardcoded stories.

Name: Anonymous 2010-07-01 14:52

>>67
Wait, weren't you dead already, grandpa?

Name: Anonymous 2010-07-01 17:39

>>68
(・∀・) back to /dqn/, please

Name: 55 2010-07-02 0:45

>>60

Thanks a lot! I'm going to write a second one that will be more complex then that first script.

Name: Anonymous 2010-07-02 1:09

>>55
print "Oooh.. Your attack power of ",dmg," was not strong enough."
This will output more spaces around dmg than you want it to. Remove the last space in the first string and the first space in the last, or replace the commas with +s.

(And put spaces after your commas, for fuck's sake. You're writing Python, not PHP.)

Name: Anonymous 2010-07-02 2:44

( ・ω・) Hello everyone! I wrote my entry with Turds

Name: Anonymous 2010-07-02 10:01

>>71
str + int + str doesn't work in Python.

Sane way:
print("Oooh.. Your attack power of %d was not strong enough." % (dmg))

Name: Anonymous 2010-07-02 11:53

>>73
(... (...))
That's not sane.

Name: Anonymous 2010-07-02 12:32

Name: Anonymous 2010-07-02 12:42

>>74
The Lisp Way™

Name: Anonymous 2010-07-02 14:07

>>74
In Python 3, and 2.x with the future feature imported, print is a function. Get used to it.

The other paren is stylistic, I find it's way too easy to write something like
print("blah %d blah blah" % x)
and then later adapt the line to add y, forgetting to make the RHS value a tuple:
print("blah %d blah %d blah" % x, y)
Which of course doesn't work. This is especially bad if your first value is a tuple and you're using %r or %s to print a tuple, because then you won't even get an error message, it'll just work -- incorrectly. Better off putting that extra set of parentheses around your values every time you %-substitute.

Name: Anonymous 2010-07-02 14:29

>>77
This would never have been a problem if your function calls didn't require those silly parentheses in the first place.

Name: Anonymous 2010-07-02 14:34

>>78
And it wouldn't be a problem if Python didn't have that retarded handling of tuples.

Name: Anonymous 2010-07-02 14:52

Still waiting for the part where Xarn wins.

Name: Anonymous 2010-07-02 15:40

>>78
Fuck Yeah Ruby

Name: Anonymous 2010-07-02 17:37

>>14 is compiling misery

Name: Anonymous 2010-07-02 17:57

>>82
Why is there always one person who can't seem to figure out his C compiler, or his Python interpreter, or his SQLite client? This isn't rocket science.

>>14 just compiles with gcc filename.c. How much easier do you want it to be?

Name: Anonymous 2010-07-02 18:21

>>62 is good until you start getting better. The $you->{power} += $powergain line shouldn't be there. Also it doesn't meet the requirements, but you've acknowledged that. I await an updated version.

Name: Anonymous 2010-07-02 18:49

This thread has been closed and replaced with the following thread:

Subject:
Compiling C code with a PHP compiler
Name:
Email:

It doesn't work.

Name: Anonymous 2010-07-02 20:49

This thread has been closed and replaced with the following thread:

Subject: Compiling C code with a Perl compiler
Name:
Email:

It works.

Name: Anonymous 2010-07-02 23:13

Name: Anonymous 2010-07-03 0:54

>>87

My god, it's the /prog/ hadith

Name: Anonymous 2010-07-03 5:00

Name: Anonymous 2010-07-03 23:52

#include <cstdlib>
#include <iostream>
#include <math.h>

using namespace std;

int main(int argc, char *argv[])
{
    double hp = 50;
    double shp = 50;
    bool turn = 0;
    bool battle = 1;
    int choice = 0;
    double dmg = 0;
    cout << "A WILD SUSSMAN appeared!\nYou are drawn into battle!\n";
    while (battle) {
          if (turn==0) {
             cout << "What do you do?\n  [1] Attack\n  [2] Use Item\n  [3] Use Skill\n  [4] Run\n";
             cin >> choice;
             cout << "\n";
             switch (choice) {
                    case (1):
                         dmg = round(5+(rand() % 7));
                         shp -= dmg;
                         cout << "You hit WILD SUSSMAN for " << dmg << " damage!\nWILD SUSSMAN has " << shp << " health remaining!\n\n";
                         turn = 1;
                         break;
                    case (2):
                         dmg = 5 - round(rand() % 5);
                         shp -= dmg;
                         cout << "Your quote from SICP brings WILD SUSSMAN to tears!\nYou hit him with SICP for " << dmg << " damage!\nWILD SUSSMAN has " << shp << " health remaining!\n\n";
                         turn = 1;
                         break;
                    case (3):
                         dmg = round(10*(rand() % 2));
                         shp -= dmg;
                         cout << "Your vast knoledge of Perl assists you...!\n";
                         if (dmg==0) {           
                            cout << "WILD SUSSMAN's knoledge surpasses yours!\nNo damage!\n\n";
                         } else {
                            cout << "The pure beauty of your code deals " << dmg << " points of damage to WILD SUSSMAN!\nWILD SUSSMAN has " << shp << " health remaining!\n\n";
                         }
                         turn = 1;
                         break;
                    case (4):
                         cout << "You break into a full sprint away from WILD SUSSMAN!\n";
                         cout << "...\nWILD SUSSMAN jumps from above and blocks your escape!\n\n";
                         turn = 0;
                         break;
                    default:
                         cout << "Your input is invalid; try again.\n\n";
                         break;
             }
             system("Pause");
          } else {
            choice = (int) round(rand() % 4);
            switch (choice) {
                   case (0):
                        hp -= 5;
                        cout << "WILD SUSSMAN performs a low-kick dealing 5 damage.\nYou have " << hp << " health left.\n\n";
                        turn = 0;
                        break;
                   case (1):
                        hp -= 6;
                        cout << "WILD SUSSMAN summons the progsnake, dealing 6 damage.\nYou have " << hp << " health left.\n\n";
                        turn = 0;
                        break;
                   case (2):
                        hp -= 3;
                        cout << "WILD SUSSMAN uses peels on you, dealing 3 damage.\nYou have " << hp << " health left.\n\n";
                        turn = 0;
                        break;
                   case (3):
                        cout << "WILD SUSSMAN flees, but is barred by the mighty progsnake!\n\n";
                        turn = 0;
                        break;
            }
            system("Pause");
          }
    if (hp<=0) {
       cout << "The WILD SUSSMAN defeated you!\n\n";
       battle = 0;
    }
    if (shp<=0) {
       cout << "You defeated the WILD SUSSMAN!\n\n";
       battle = 0;
    }    
}
system("Pause");
}

Name: Anonymous 2010-07-04 1:23

>>90
There are several ways in which this post annoys me.

Name: Anonymous 2010-07-04 8:11

>>91
let me a hazard a guess at those:

- lack of [code] tags,
- sepples
- homosexual opening brace usage,
- bracketed case
- possible the system("Pause") also

Name: Anonymous 2010-07-04 8:14

>- homosexual opening brace usage,

actually


if(expr){


is superior to


if(expr)
{


since this way more actual LOC can fit on display.

Name: Anonymous 2010-07-04 11:04

>>92-93
You guys actually look at code that's not in a [code] tag?

Name: Anonymous 2010-07-04 12:43

>>94
Now they have p0 + (∂P/∂t)×Δt problems.

Name: Anonymous 2010-07-04 12:44

Well, fuck. Forgot my sage again.

Name: Anonymous 2010-07-04 13:28

>>92
- homosexual opening brace usage,
With the exception of the switch, >>90 is pretty much K&R style. Nothing homosexual about it.

Name: Anonymous 2010-07-04 14:55

>>93
oh 92-kun here. i agree. but he didn't use it for main, and as that was the first instance, i assumed all following occurances would be the same. how wrong i was.

Name: Anonymous 2010-07-04 14:56

>>97
see >>98

Name: Anonymous 2010-07-04 14:57

100 get

Name: Anonymous 2010-07-04 14:59

>>99
Please learn what K&R style actually is. The style you're thinking of is Sun's Java style.

Name: Anonymous 2010-07-04 15:10

>>100
This might surprise you, but (;^∀^)ノ !!!SURPRISE!!! \(^∀^;).

Name: Anonymous 2010-07-04 15:33

>>101
k and r style is homosexual

Name: Anonymous 2010-07-04 16:11

I jizzed my pants

Name: Anonymous 2010-07-04 16:41

>>104
i pants my jizz

Name: Anonymous 2010-07-04 16:53

this Challenge is just for women it seems oh well............

Name: EXPERT ASTRONOMER 2010-07-04 17:11

>>106
Fuck off.

Name: 2010-07-04 17:34

>>107

Name: Anonymous 2010-07-04 17:46

>>108
Name: EXPERT ASTRONOMER
http://en.wikipedia.org/wiki/Venus

Name: 90 2010-07-04 23:49

Ah, a bit hasty wasn't I, forgetting code tags and all. Anyways, I don't generally use the

if (expression)
{
...
}

style, that's just the default in DevC++, and I was too lazy to change it. I also know about cin.get();, but in utter contempt for portability, I decided to use system("Pause"); which is an old habit. A bad one, albeit, but I like it.

Name: Anonymous 2010-07-04 23:51

>>55

Well, I don't like that that is the only Python entry.

Have this one.


from random import randint
from time import sleep

SPELLBOOK = [{"DICH SNAKE RETRACTION":18, "MASTER BLASTER":16},
        {"DIGITAL IMAGE POST ATTEMPT":20, "POWERFUL BBCODE":19},
        {"BEAUTIFUL COOING":14, "GENTLE RUBBING INTO THAT GOODNIGHT":21, "RECITATION OF HIGHSCHOOL SPIRIT SONG":12}]

ITEMLIST = [{"Handful of Dust":6, "Pawful of Dirt":9},
        {"Mudden Idol":6, "Quigsor Pindleweign":9},
        {"Open Courseware PDF notes":10, "Topical caffeine mixture, 10%":8, "A bloody mary cocktail sticker":7}]

NAMES = ["XARN", "TARN", "TARO", "SUSSMAN", "ABLESON", "DISABLESON", "KAKAMA-KUN", "VACUOUS-SAMA", "A DARKENED STRANGER", "FROZENVOID", "1000th POST", "UNSUSSEDMAN"]

YOUR_NAME = raw_input("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nWhat is your name?\n>> ")

PLAY = 1

class Person:
    def __init__(self, NAME, HP, MP, SPELLBOOK, ITEMLIST):
        self.name = NAME
        self.hp = HP
        self.mp = MP
        self.spells = SPELLBOOK
        self.items = ITEMLIST
    def Fight(self):
        #How uncivilized.
        hit = randint(5,14)
        print "\n"*2+ "%s whacks a bit, blooming into a petit mort d'%d droplets" % (self.name, hit)
        return hit
    def Magic(self, choice):
        damage = self.spells[choice]
        self.mp -= 10
        print "\n"*2+ "%s uses %s for %d damage!" % (self.name, choice, damage)
        return damage
    def Item(self):
        Item = self.items.keys()[randint(0,len(self.items)-1)]
        cure = self.items[Item]
        self.hp = self.hp + cure
        print "\n"*2+ "%s takes in the curious %s, yet looks %d radians brighter!" % (self.name, Item, cure)           
        return 0
    def Run(self):
        print "\n"*2+ "The cowardice of %s emboldens his opponent!" % (self.name)
        return -17
   
    def Upkeep(self, dmg):
        self.hp = self.hp - dmg
        if self.hp <= 0:
            print "OH DEAR! %s HAS FAILED!" % (self.name)

def Menu():
    print "[F][I][R][M]. DECIDE."
    choice = raw_input(">>")
    if choice.lower() == "r":
        return PLAYER.Run()
    elif choice.lower() == "f":
        return PLAYER.Fight()
    elif choice.lower() == "m":
        i = 1
        for spell in PLAYER.spells:   
            print "  %d) %s" % (i, spell)
            i = i + 1
        choice = int(raw_input("Which number spell do you choose? \n>>"))
        if (choice == 1) or (choice == 2):
            choice -= 1
            return PLAYER.Magic(PLAYER.spells.keys()[choice])
    elif choice.lower() == "i":
        return PLAYER.Item()
    else:
        print "I believe you've gone a bit hax'd!\nYour dalliance only strengthens your opponent!"
        return 0
def Computer():
    choices = ["r", "f", "m", "i"]
    choice = choices[randint(0,3)]
        if choice.lower() == "r":
                return OPPONENT.Run()
        elif choice.lower() == "f":
                return OPPONENT.Fight()
        elif choice.lower() == "m":
                return OPPONENT.Magic(OPPONENT.spells.keys()[randint(0,len(OPPONENT.spells)-1)])
        elif choice.lower() == "i":
                return OPPONENT.Item()


print "\n"*5
print "                           ", "-"*35
print "                                  PROGRPG"
print "                           ", "-"*35
OPPONENT = Person(NAMES[randint(0,6)],randint(75,95),randint(75,95),SPELLBOOK[randint(0,len(SPELLBOOK)-1)],ITEMLIST[randint(0,len(SPELLBOOK)-1)])
PLAYER = Person(YOUR_NAME, 75, 75, SPELLBOOK[randint(0,len(SPELLBOOK)-1)], ITEMLIST[randint(0, len(SPELLBOOK)-1)])
print "\n"*5
print """%s has come upon you, as you lie in repose! Arise, my Rubenesque champion!
Let this not be that hour during which you falter, nor fall, nor find your soul weak!
Justice flows through you, and many meditations complete you- now find the strength inside yourself to complete this!""" % (OPPONENT.name)
print "Your spell book has many pages- FEAST!"
print "\n" + "---------------------------------------"
for spell in PLAYER.spells.keys():
    print " |  " + spell
print "---------------------------------------"
print "\n"*2 + "---------------------------------------"
print "Your bag bursts with things- OBSERVE!"
print "---------------------------------------"
for item in PLAYER.items.keys():
        print " ||  " + item
print "---------------------------------------"
sleep(2)

while PLAY == 1:
    print "You're health is %d, and you've got %d anii. You're opponent looks to have %d health." % (PLAYER.hp, PLAYER.mp, OPPONENT.hp-8)
    OPPONENT.Upkeep(Menu())
    if OPPONENT.hp <= 0:
        break
    PLAYER.Upkeep(Computer())
    if PLAYER.hp <= 0:
        break
    print "\n"*4

Name: Anonymous 2010-07-05 0:36

>>111
Very good, I lol'ed at your only comment.

Name: Anonymous 2010-07-05 0:38

>>112
you're

Name: Anonymous 2010-07-05 0:48

>>111
Please learn the difference between you're and your.

Name: Anonymous 2010-07-05 0:55

Your right! Your right! Kill the body and the head will die!

Name: Anonymous 2010-07-05 0:58

>>113
..at you are only comment.
Wait what?

Name: Anonymous 2010-07-05 1:13

This entry is too long for /prog/.

http://sprunge.us/IFSA?c
http://sprunge.us/VcBS

That second one is a base64-encoded, gzipped PCX file. Decode it, gunzip it, name it img.pcx, and put it in the same folder as the executable.

If you have trouble compiling I don't want to hear about it.

Name: Anonymous 2010-07-05 1:15

>>117
Finally, a Xarn post.

Name: Anonymous 2010-07-05 1:21

>>118
Not the first one in this thread.

Name: Anonymous 2010-07-05 1:31

>>119
Even better for Xarn, a double victory is better than a single victory.

Name: Anonymous 2010-07-05 1:33

>>117
Screenshot, by the way: http://i.imgur.com/Bmiis.png

Name: FrozenVoid 2010-07-05 1:42

>>121
I don't like being represented as some chunk of badly pixelated art. Please improve your image display routines/quality to an acceptable, VN-quality level with large res sprites and detailed background.


__________________
Orbis terrarum delenda est

Name: Anonymous 2010-07-05 1:43

>>122
well go fuck yourself, it's Xarn

Name: Anonymous 2010-07-05 3:00

>>111
>>117
too bad you fags are past the due date
NO LATE ASSIGNMENTS

Name: Anonymous 2010-07-05 3:21

What happened to the results? who won?

Name: Anonymous 2010-07-05 3:49

>>124-125
Try reading the thread. >>5.

Name: Anonymous 2010-07-05 11:06

>>114

I'd just like to point out that your/you're is a common intentional substitution made on this webboard for humorous purposes.

Name: Anonymous 2010-07-05 12:54

>>127
surely your joking!

Name: Anonymous 2010-07-05 13:09

>>128
Your not funny at all.

Name: Anonymous 2010-07-05 13:25

>>128-129
Back to /xkcd/, please.

Name: Anonymous 2010-07-05 14:47

>>130
Your not impressing anyone with you're rudeness.

Name: Anonymous 2010-07-05 14:50

I laughed so hard, my chair span on it's your access

Name: Anonymous 2010-07-05 14:52

>>131
Stop flogging your dead horse of humour. Your've killed the joke.

Name: Anonymous 2010-07-05 15:04

>>128-129,130-133
Is this how non-programmers entertain themselves on a programming board? Go back to the imageboards.

Name: Anonymous 2010-07-05 15:05

>>133
That was actually my first post in this thread, you're assumption is incorrect.

>>132
You forgot you are sage.

Name: Anonymous 2010-07-05 15:13

>>134
These posts didn't directly address/assert their creators' ability to program → They are from the image boards.

Name: Anonymous 2010-07-05 15:20

>>136
More like: the author of these posts latched on to what he perceived as a meme and proceeded to turn it into mindless spam → he is from the imageboards.

Name: Anonymous 2010-07-05 15:36

>>136
Some time ago this was a programming thread. Those posts happened. Now it is not.

Name: Anonymous 2010-07-05 16:03

>>138
Some time ago this was a programming board. Those posts happened. Now it is not.

Name: Anonymous 2010-07-05 17:31

The set of programmers intersects with the set of non-programming posters in this thread

Name: Anonymous 2010-07-05 17:32

>>140
Cheers, Rand(all).

Name: Anonymous 2010-07-05 20:00

/prog/, how many of those shiiposts do you think were made by programmers? I'm guessing 1.

Name: Anonymous 2010-07-06 0:03

——DEADLINE——

Name: Anonymous 2010-07-06 0:11

>>143
Looking a little late there, my friend.

Name: Anonymous 2010-07-06 1:40

>>142
Not in this particular thread, but I'm a programmer that partakes in many of these challenges (even though I stand no chance against Xarn) and I sometimes make shitposts if they are even slightly funny/clever/related to the thread.

Name: >>142 2010-07-06 1:54

>>145
Ahh, the guilty pleasure.. And that spoiler doesn't spoil anything.

Name: Anonymous 2010-07-06 5:38

Bampu for results!

Name: Anonymous 2010-07-06 5:43

>>145
I am an expert programmer, and also enjoy HMA

Name: Anonymous 2010-07-06 6:11

>>147
Xarn won, go home.

Name: Anonymous 2010-07-06 13:43

Too much spam on /prog/ today. Bampu to page 1.

Name: Anonymous 2010-07-06 16:17

DIVE DIVE DIVE

Name: Anonymous 2010-07-06 17:20

Come on, >>1. Hardmode and Normalmode winners and second places? We're all bursting with anticipation.

Name: Anonymous 2010-07-08 4:52

>>152
I think >>1 died

Name: Anonymous 2010-07-08 7:35

Normalmode winner:
>>15

Hardmode winner:
>>15

Name: Anonymous 2010-07-08 9:47

>>154

That's wrong.

A Normalmode win implies that the entry was posted after the Hardmode completion date.

Name: Anonymous 2010-07-08 10:06

>>155
No it doesn't. It is merely that the Normalmode deadline is after the Hardmode deadline. Clearly >>15 was superior to all the Normalmode entrants, thus it beat them.

Name: Anonymous 2010-07-08 12:26

>>156
Hello, >>15.

Name: Anonymous 2010-07-08 14:41

>>154
Shit! He used BBcode. That makes it official.

Name: Anonymous 2010-07-09 6:58

>>157
Actually I'm the KAWAII Perl programmer somewhere in the >>'60s

Name: Anonymous 2011-02-03 6:13


Don't change these.
Name: Email:
Entire Thread Thread List