Showing posts with label Organism production. Show all posts
Showing posts with label Organism production. Show all posts

Tuesday, 4 November 2008

Final Organism

Download it here

Web development.


Hooray! Finally have a working, embedded applet, in an (as yet offline) website.

Success!!!!

(He's dead!)

The red dot is my organism. Pink dots are poison. And when he's eaten more that 10 pink squares, there's too much poison in his body, and he dies.

Took me a while, and a lot of help from Martin, but it goes! Hooray!

My organism has a lifecycle!

Saturday, 1 November 2008

Aaargh!

It's not working!! GUI development in Java seems the most pernickety thing in the world- jDev is never happy!!! But, it's ok, I have a working model, and the time to produce a view easily. So its all good.
Breathe...

Friday, 31 October 2008

CAUTION: Organism Production in Progress

I have a (text based) organism! Hooray! It eats colour! Hooray!

Had a few iffy moments in between, where it fell off the edge of the world for a while, (rectified by wrapping it around- yep, the world is no longer flat!!) ate everything in sight, (needed to add the poisonous property- I forgot at first!!)

But the text works!!! And I'm a happy bunny! May even make this deadline yet, it seems possible!!!

Here's the Java screenshot, for those interested.



The pattern of 2's and 1's here are empty and filled pixels... the organism has eaten some! Hooray!

Now all I need is a GUI... (It doesn't look very friendly at the mo...)



Wednesday, 29 October 2008

What organisms should know...

Planning the attributes of each organism... what it's aware of.

Poison and death. (What a lovely blog title!)


Been working on the count functionality that determines whether an organism has too much poison in its body.
It's an if statement really... this is the (very basic) pseudocode.

BEGIN A LOOP
If your poison count is more than 3, you're dead.
Else, move squares and eat.
If the square you ate is poisonous, add one to your poison count.
Repeat the loop.
END THE LOOP