Showing posts with label Organism production. Show all posts
Showing posts with label Organism production. Show all posts
Tuesday, 4 November 2008
Success!!!!
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...
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.
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
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
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
Labels:
death,
java,
Organism production,
poison,
pseudocode
Subscribe to:
Posts (Atom)


