Computer Science Canada

My final project, thus far.

Author:  Martin [ Wed May 28, 2003 10:21 pm ]
Post subject:  My final project, thus far.

This is a screenshot of my civilization clone. A work in progress as of yet. I'll add stuff to this post as it comes up (this is about a week into making the game). It's Solo and I doing it. (Solo did the town menu)

Author:  Homer_simpson [ Wed May 28, 2003 10:24 pm ]
Post subject: 

looking awesome... specially the keys and pictures... really nice... if u werem't a mod i'd donate somebits to u

Author:  Homer_simpson [ Wed May 28, 2003 10:26 pm ]
Post subject: 

but it'd be better if u replace yer picture with this one... jk =Þ

Author:  Martin [ Wed May 28, 2003 10:31 pm ]
Post subject: 

Lol so far more people have looked at my naked picture than at my actual game.
MOD EDIT: Looking good so far, +100 bits

Author:  Homer_simpson [ Wed May 28, 2003 10:37 pm ]
Post subject: 

no really the game looks awesome....

Author:  Martin [ Wed May 28, 2003 10:42 pm ]
Post subject: 

Thank you very much...but this is nothing compared to what it's going to be a week from now.

Author:  Tony [ Wed May 28, 2003 11:05 pm ]
Post subject: 

yeah, really... I went from nothing to amazing in a week for my compsci project... Preaty cool... I'll upload final version monday as thats the last day to present... technically its suppost to be thursday, but since the other group didnt finish yet, we're all getting an "extension"...

oh well, I can use the time to give my program a bit of a makeover... change the colors, add help screens, etc.

And yeah... Darkness... awesome stuff

Author:  Mazer [ Thu May 29, 2003 6:39 am ]
Post subject: 

Darkness wrote:
Lol so far more people have looked at my naked picture than at my actual game.


i didn't even look at what the link said, i thought it was safe to assume that it would be a screenshot of your game! damn you! you tricked me!

Ah well, it looks good so far anyways. +8 bits, you deserve it!

Author:  Homer_simpson [ Thu May 29, 2003 2:06 pm ]
Post subject: 

lol mazer u just added 8 bits to an unlimited source of bits....
HE'S A MOD!!!

Author:  Tony [ Thu May 29, 2003 4:35 pm ]
Post subject: 

hey, easier for me then, dont have to repopulate mod's bits pool as often Laughing

Author:  Mazer [ Thu May 29, 2003 4:57 pm ]
Post subject: 

Homer_simpson wrote:
lol mazer u just added 8 bits to an unlimited source of bits....
HE'S A MOD!!!


he is?! oh shit, i never noticed! NEVER EVER! Darkness why didn't you warn me about you being a mod?

man, who would have thought? i for one never suspected that Darkness was a mod. not when he gave me bits... not even when he edits people's posts. and i ESPECIALLY didn't realize that his rank (Lamer Mod) had anything to do with being a mod.

oh dear me, i've wasted my bits...
now i'll never save enough bits to buy a corvette...





Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes Rolling Eyes

(sorry for the emoticon spam, but in my humble yet highly important opinion it was VERY necessary).

Author:  Tony [ Thu May 29, 2003 5:09 pm ]
Post subject: 

well, if someone has a word MOD in their rank... it might sujest that they are indeed a mod... Confused

heh, maybe Darkness will give you more bits for you programs from now on Laughing

Author:  Mazer [ Thu May 29, 2003 5:41 pm ]
Post subject: 

maybe he will, tony, maybe he will....

+6 bits to you! Wink

Author:  Martin [ Thu May 29, 2003 5:52 pm ]
Post subject: 

Sweet Tony, we're rich. Let's go buy new computers. Thanks Mazer Wink

Author:  FwuffyTheBunny [ Thu May 29, 2003 7:44 pm ]
Post subject: 

Looks Great man!!!

Author:  Martin [ Sun Jun 01, 2003 10:47 am ]
Post subject: 

Today I finished movement and my pathfinding algorithm. The pathfinding's really neat, because, for example say that you're in the bottom left corner of the map and you want to get to the top right, it would go left one and down one (Because the entire game is wrappable north/south and east/west)

Author:  Catalyst [ Sun Jun 01, 2003 4:09 pm ]
Post subject: 

can it maneuver around obstacles too?

Author:  Mazer [ Sun Jun 01, 2003 8:17 pm ]
Post subject: 

pathfinding? brilliant! clearly you aren't as lazy as i am!

+8 bits, keep it coming!

Author:  Martin [ Sun Jun 01, 2003 9:00 pm ]
Post subject: 

Yeah, it can go around obstacles too. What kind of half-assed programmer do you think I am, eh Catalyst?

Author:  Martin [ Sun Jun 01, 2003 9:01 pm ]
Post subject: 

Don't like bits, eh Mazer?

I can't wait till you post evasive maneuvers... Very Happy

Author:  Martin [ Sun Jun 01, 2003 9:03 pm ]
Post subject: 

Here's the pathfinding, if anyone cares.

code:
loop
  playerx += Rand.Int (-1,1)
  playery += Rand.Int(-1,1)
  exit when playerx = destx and playery = desty
end loop


Lol, just kidding.

code:
    %Procedure to generate a path from (x1,y1) to (x2,y2)
    var smallest : int := 240
    var path : string := ""
    var finalPath : string := ""
    proc generatePath (x1, y1, x2, y2, count : int, movementType : string (1))
        if x1 < 1 then
            generatePath (intMapSize, y1, x2, y2, count, movementType)
            return
        end if
        if x1 > intMapSize then
            generatePath (1, y1, x2, y2, count, movementType)
            return
        end if
        if y1 < 1 then
            generatePath (x1, intMapSize, x2, y2, count, movementType)
            return
        end if
        if y1 > intMapSize then
            generatePath (x1, 1, x2, y2, count, movementType)
            return
        end if
        if count > smallest or count > (2 * intMapSize) then
        elsif strPathMarker (x1, y1) = "m" then
        elsif movementType not= "f" and troopstack (x1, y1).tile < 48 then

        elsif x1 = x2 and y1 = y2 then
            smallest := min (count, smallest)
            if count = smallest then
                finalPath := path
            end if
        elsif strPathMarker (x1, y1) not= "m" then %Tile not marked
            strPathMarker (x1, y1) := "m"
            path += "e"
            generatePath (x1 + 1, y1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "w"
            generatePath (x1 - 1, y1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "n"
            generatePath (x1, y1 + 1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
            path += "s"
            generatePath (x1, y1 - 1, x2, y2, count + 1, movementType)
            path := path (1 .. * -1)
        end if
    end generatePath


You can't run it, but when I post the finished version of my game, I'll attach the source files for people to mess around with.

Author:  JSBN [ Sun Jun 01, 2003 9:46 pm ]
Post subject: 

your game is looking pretty sweet. Cant wait to see the full product!

Author:  paintball_guy [ Sun Jun 01, 2003 11:19 pm ]
Post subject:  coo

that looks wicked d00d, keep it up..


: