.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Star Legacy (http://forum.shrapnelgames.com/forumdisplay.php?f=224)
-   -   Off Topic Thread (http://forum.shrapnelgames.com/showthread.php?t=45268)

Ed Kolis May 27th, 2010 08:53 PM

Re: Off Topic Thread
 
To get back off-topic, thought I'd share some nursery rhymes... programmer style! :D

Code:

// Little Bunny Foofoo v1.0 beta
public static void Main()
{
        var foofoo = new Bunny();
        foofoo.Size = 0.001; // foofoo is a little bunny
        var forest = new Forest();
        forest.PopulateMice(typeof(FieldMouse), 50); // TODO - more diverse mouse population
        foofoo.HandleMice(forest);
        var fairy = new Fairy(Alignment.Good);
        for (var chances = 3; chances > 0; chances--)
        {
                fairy.SetDesiredVisibilityOf(foofoo, "mouse handling", false);
                fairy.Warn(foofoo, "mouse handling", "goonification", chances);
                foofoo.HandleMice(Forest);
        }
        fairy.SendLink(foofoo, "somethingawful.com"); // should turn him into a goon!
}
// Mouse event handler
private static void HandleMice(this Bunny bunny, Forest forest)
{
        foreach (var mouse in forest.Mice.OfType<FieldMouse>())
        {
                bunny.Scoop(mouse); // prevents mouse out of range exception
                bunny.Bop(mouse.Head);
        }
}

REM ANNUAL TODO LIST
1 PRINT "1-2 BUCKLE SHOE"
2 GOSUB BUKLSHOE
3 PRINT "3-4 SHUT DOOR"
4 GOSUB SHUTDOOR
5 PRINT "5-6 PICK UP STICKS"
6 GOSUB PIKUPSTX
7 PRINT "7-8 LAY THEM STRAIGHT"
8 GOSUB LAYMSTRT
9 PRINT "9-10 BEGIN AGAIN"
10 GOTO 1

// Dog Finding Script
// TODO - figure out why we're getting out of memory errors
function FindMyLittleDog() {
        // Find all dogs in world
        var dogs = Array();
        for (var i = 0; i < world.length; i++) {
                if (world[i].type == "dog")
                        dogs.append(world[i]);
        }
        // Criterion: it's a little dog
        var littleDogs = Array();
        for (var i = 0; i < dogs.length; i++) {
                if (dogs[i].height < 15)
                        littleDogs.append(dogs[i]);
        }
        // Criterion: it's a he
        var littleMaleDogs = Array();
        for (var i = 0; i < littleDogs.length; i++) {
                if (littleDogs[i].sex[0] == 'M' || littleDogs[i].sex[0] == 'm')
                        littleMaleDogs.append(littleDogs[i]);
        }
        // TODO - check with SPCA on ethicality of these next search criteria
        var withCuts = Array();
        for (var i = 0; i < littleMaleDogs.length; i++) {
                if (littleMaleDogs[i].cuts["ears"] < 5 && littleMaleDogs[i].cuts["tail"] > 10)
                        withCuts.append(littleMaleDogs[i]);
        }
        // Where oh where could he be?!?
        return FindMyLittleDog();
}


Gandalf Parker May 27th, 2010 08:58 PM

Re: Off Topic Thread
 
You might get a real kick out of this..
http://www.99-bottles-of-beer.net/
I often refer to it when people are discussing different program languages and trying to choose one.

(Oh and I love the SA Goons reference)

Smight April 8th, 2011 04:25 AM

Re: Off Topic Thread
 
Any news , is the project still alive:confused:

Kwayne April 10th, 2011 12:08 PM

Re: Off Topic Thread
 
It is, though there are holes in game design documentation we should fill before progressing forward. Too bad we announced the game without a complete game design document but that's just how much amateurs we are.

Gregstrom April 20th, 2011 03:40 PM

Re: Off Topic Thread
 
I don't think that necessarily makes you amateurs (Elemental?). Also, there wouldn't have been so much interesting discussion if the design documentation was complete.

Kwayne April 23rd, 2011 04:34 PM

Re: Off Topic Thread
 
Quote:

Originally Posted by Gregstrom (Post 775956)
I don't think that necessarily makes you amateurs (Elemental?). Also, there wouldn't have been so much interesting discussion if the design documentation was complete.

Yes but no matter how interesting they are, discussions won't make a game done. It would be less disappointing for everyone if you knew what is to be expected, yet you got nothing from us except an irresponsible announcement from last year. Without a full GDD those promises raised false expectations we have no choice but to betray, especially when it comes to the time of release.

dumbluck April 25th, 2011 05:13 PM

Re: Off Topic Thread
 
I for one would much rather see the release date promise broken in favor of fixing gameplay issues. Just because everyone else releases beta code (or sometimes even alpha code!) for purchase, doesn't mean that you have to. Buck the Trend! Forge your own path! and all that stuff....


All times are GMT -4. The time now is 07:29 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.