Jump to content

Distraction


TheDoctor
 Share

Recommended Posts

NOTE: The cookie is immortal and cannot be eaten. It always stays in the game. You also cannot make other people do things against their will, like saying that they drop the cookie.

You fail, Joe.

Link to comment
Share on other sites

Doesn't mean you can get away with it. The cookie is uneaten. And I have stolen it again.

(Thanks to my dimension & time traveling powers.)

Link to comment
Share on other sites

Yeah, well, I'm at Bolas's meditation realm. And I just got Chaos. The next three planes are Cliffside Market, Lethe Lake, and The Aether Flues. I trade my Cookie Decoy for your Cookie, make LZ put the next 10 cards in his library into the graveyard, and play Emdra, a 10/10 flying beatstick.. Then I run away.

Link to comment
Share on other sites

Bioniclemaster

i show zjean(or the last person that had it) this;

http://images.encyclopediadramatica.com/images/c/cd/Portal_Paradox.JPG

and let him brainstorm on what happens next. i then take the cookie

Link to comment
Share on other sites

Simple. The person that enters the portal never leaves it until the universe ends.

Or someone makes another exit.

But anyway. LZ has the cookie.

Link to comment
Share on other sites

Aki Dazrold

It couldn't be done in that manner. The only way you could even insert the portal in such a manner would be if you removed the section of wall it was placed on. When you put it in like that, the corresponding part of the same portal going in would come out of itself, and therefore obstruct insertion into the blue portal before it got halfway in.

And I pity the foo who try and put themselves into that clusterfart of a space exploit.

*notices cookie is gone*

GADDAMMIT YOU

*mounts logic atop the chickenstick and hits biomaster with it*

THAT'S FOR MAKING ME THINK SO HARD

Link to comment
Share on other sites

Bioniclemaster

someone was stupid enough to try it:

http://images.encyclopediadramatica.com/images/a/aa/Portal_Infinity.jpg

anyway, i eat the logical chickenstick and i give you a clue to a high-def version of rock raiders.

1. give the cookie to the person that posts under you.

2. go here: http://www.google.nl/#hl=nl&source=hp&q=high-def+rock+raiders&aq=f&aqi=&aql=&oq=&gs_rfai=&fp=80bf41c525371817

final step:

3. get disappointed and go cry in a corner.

Link to comment
Share on other sites


##map.py

import pygame

from pygame.locals import *

import lib.common 


from tiles import tile



class map(object):

    '''self.map={(x,y):(tile,rect,border color}

    third data point is left in as the possibility remains

    that i might want to use it for some random tile data...


    possibly creature/objects on said tile?'''

    def __init__(self,r_c=(25,25),sub_rect=pygame.Rect((0,0),(50,50)),main_rect=pygame.Rect((0,0),(475,475))):

        self.font = pygame.font.Font(None, 18)

        self.map_size=r_c

        self.sub_rect=sub_rect

        self.main_rect=main_rect

        self.map={}

        self.loc=(0,0)

        for x in range(self.map_size[0]):

            for y in range(self.map_size[1]):

                tmp=pygame.Rect(self.sub_rect.topleft,self.sub_rect.size)

                tmp.topleft=((self.sub_rect.width*x)+self.main_rect.left,(self.sub_rect.height*y)+self.main_rect.top)

                color = (255,255,0)

                #print color

                self.map[(x,y)]=[tile(),tmp,color]

    def draw(self,screen):

        '''iterate through every tile and move it and draw the contents'''


        for x in range(self.main_rect.width/self.sub_rect.width):

            for y in range(self.main_rect.height/self.sub_rect.height):

                try:

                    #set current grid x and y locations

                    xx=self.loc[0]+x

                    yy=self.loc[1]+y

                    #move the rectangle

                    tmp_r=self.map[(xx,yy)][1]

                    tmp_r.topleft=((self.main_rect.left +(x*self.sub_rect.width  )),

                                   (self.main_rect.top  +(y*self.sub_rect.height )))

                    if self.main_rect.contains(tmp_r):

                        #if the rect fits, draw it, else dont

                        screen.blit(self.map[(xx,yy)][0].surf,tmp_r)#render tile to map screen...


                        pygame.draw.rect(screen, self.map[(xx,yy)][2], tmp_r, 1)

                        if lib.common.debug > 0:

                            #render tile number text...

                            text = self.font.render(str((xx,yy)),True,(0,0,255)).convert_alpha()

                            screen.blit(text,tmp_r)

                except KeyError:

                    pass#key that doesnt exist? how and why?

                    #keys that go out of the map is what happens when we have a blank tile in the viewport...

                    if lib.common.debug >2:

                        print x,y

                        print xx,yy

        if lib.common.debug > 0:

            screen.blit(self.font.render(str((xx,yy)),True,(0,0,255)).convert_alpha(),(0,24))

            screen.blit(self.font.render(str(self.loc)

                        ,True,(0,0,255)).convert_alpha(),(0,12))

        pygame.draw.rect(screen, (0,255,255), self.main_rect, 1)



    def events(self,events):

        '''figure out if we have to do anything to the map:

        move

        highlight

        ((anything else?))



        possible TODO:::

          1)make it so that the self.loc cant move out side the realm of

            possible tile locations?


          2)set up self.loc and movement stuff so that tile moves dont

            happen every tile render? (iterating through every tile and 

            making a rect just for that one render, then doing the moving

            calculations...)'''

        for event in events:

            if event.type == MOUSEBUTTONDOWN:

                if self.main_rect.collidepoint(event.pos):

                    for x in range(self.map_size[0]-1):

                        for y in range(self.map_size[1]-1):

                          try:

                            #set current grid x and y locations

                            xx=self.loc[0]+x

                            yy=self.loc[1]+y

                            if self.map[(xx,yy)][1].collidepoint(event.pos):

                                if self.map[(xx,yy)][2] == (255,0,0):

                                    self.map[(xx,yy)][2] = (255,255,0)

                                else:

                                    self.map[(xx,yy)][2]=(255,255,0)

                          except KeyError:

                            pass 

            elif event.type == KEYDOWN:

                if event.key == K_LEFT:

                    self.loc=(self.loc[0]+1,self.loc[1])

                elif event.key == K_RIGHT:

                    self.loc=(self.loc[0]-1,self.loc[1])

                elif event.key == K_UP:

                    self.loc=(self.loc[0],self.loc[1]+1)

                elif event.key == K_DOWN:

                    self.loc=(self.loc[0],self.loc[1]-1)



    def click_engine(self,pos):

        '''return what tile was clicked. (tile pos only?)'''

        ret=None

        if self.main_rect.collidepoint(pos):

            for x in range(self.map_size[0]-1):

                for y in range(self.map_size[1]-1):

                    try:

                        #set current grid x and y locations

                        xx=self.loc[0]+x

                        yy=self.loc[1]+y

                        if self.map[(xx,yy)][1].collidepoint(pos):

                            print "%s,%s clicked"%(xx,yy)

                            ret= (xx,yy)


                        #now for fun: random tile mode!

                        #self.map[(xx,yy)][0].set_tile()

                    except KeyError:

                        pass 

        print '::::%s'%lib.common.debug

        return ret

as people scroll through the massive code sample, i steal the cookie and run....

INTO THE INTERNET!!!

Link to comment
Share on other sites

Anonymouse


<INSERT AWESOME CODE HERE>

as people scroll through the massive code sample, i steal the cookie and run....

INTO THE INTERNET!!!

*is too distracted by the epicness of this programming language to think of the cookie*

Link to comment
Share on other sites

Bioniclemaster

i send trackers after you that bring you both back.

i then tell you there's an error in that huge chunk of code. while you're looking, i take the cookie.

Link to comment
Share on other sites

Aki Dazrold

To BM (lol see what I did there?): I didn't follow that "youfail" link. I'm in the habit of hovering over such links and seeing the url to avoid getting rickrolled or whatever.

Link to comment
Share on other sites

Zjean: suddenly you are surrounded by many people asking randomly for your autograph thinking you are some random celebrity! quick! what do you do?!

----

too late... i gots a cookie!

EDIT:: error? in MY code? (yes i know it didn't work... shush!)

Link to comment
Share on other sites

look youre house is on fire! *snatches cookie* *teleports to a SECRET area*

*Hires some ninja mice to find you and steal the cookie.*

To BM (lol see what I did there?): I didn't follow that "youfail" link. I'm in the habit of hovering over such links and seeing the url to avoid getting rickrolled or whatever.

i still have the cookie :D

Link to comment
Share on other sites

I splat you with blinding pie machinegun and take the cookie

i use a fake flock of birds to convince you that you are safe. but little do you know, one of them is....

A SPY!!!

and doing his duty, he takes the cookie and gives it to me! MUAHAHAHAHAHAHAHAHA!

me and my robot army will never be stopped from holding the cookie!

<image removed>

Link to comment
Share on other sites

Aki Dazrold

But can your robots handle.... THE EMP LACED CHICKENSTICK!?!?!?

*Explode*

*takes cookie while teh 'splosion 'stracts 'u*

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.