Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsShowcase → To think this is helping me get a degree.
To think this is helping me get a degree.
2005-02-25, 7:46 PM #1
I got bored, so here's a picture of my third year university project.

Link

It's basically a framework for development of cellular AI agents. Once it's complete it should be able to do things like model the behaviour of Ant colonies, i'll probably try and copy that Zombie simulator I saw a while back too.

It's currently got a few models working, Conway's Game of Life and the Greenberg-Hastings excitable-state automata. There's also a few fun ones that I made for the sake of it.

I'll probably make it available for download at some point so people can play around with it.
Detty. Professional Expert.
Flickr Twitter
2005-02-25, 8:04 PM #2
Neat. So it models that game of life, eh? That was always fun. Wasted so many hours of my childhood on that. Looks very nice. Nice GUI, etc.
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2005-02-26, 1:11 PM #3
Neato.
I think I even understand what it is. :p
2005-02-26, 1:43 PM #4
Quote:
Originally posted by Freelancer
Neat. So it models that game of life, eh? That was always fun. Wasted so many hours of my childhood on that.


Not the board game you dolt! :P

2005-02-26, 5:55 PM #5
Definitly don't understand this whatsoever.
2005-02-26, 6:30 PM #6
Wow...very nice. The more I see of what (i assume computer science or a related field) majors are doing, the more I'm sure it's what I want to do. This is exactly the kind of project I would undertake. I'd love to see it in action.
Warhead[97]
2005-02-26, 6:54 PM #7
Just to shatter everybody's dreams, it's written in Java.
Detty. Professional Expert.
Flickr Twitter
2005-02-26, 7:55 PM #8
A few screen captures.

[http://etc.dettylog.co.uk/emergy/01.png]

[http://etc.dettylog.co.uk/emergy/02.png]

[http://etc.dettylog.co.uk/emergy/03.png]

[http://etc.dettylog.co.uk/emergy/04.png]

[http://etc.dettylog.co.uk/emergy/05.png]

[http://etc.dettylog.co.uk/emergy/06.png]

[http://etc.dettylog.co.uk/emergy/07.png]
Detty. Professional Expert.
Flickr Twitter
2005-02-26, 10:13 PM #9
Quote:
Originally posted by DeTRiTiC-iQ
[http://etc.dettylog.co.uk/emergy/02.png]


THAT is Life, Freelancer. :)

2005-02-26, 10:28 PM #10
CAs are cool. I like that you included a bunch of different ones (the lovely GUI is a nice touch too; and the zoom is definitely a good idea). So when it's complete, will you actually be able to go in and change the rules for the individual cells manually?
Stuff
2005-02-26, 11:34 PM #11
Quote:
Originally posted by DeTRiTiC-iQ
Just to shatter everybody's dreams, it's written in Java.


:( My dreams are shattered.

Looks cool though. Makes my Scrabble AI look cheesy (and I'll never write another Java program after that one). Shame I like Operating Systems and Algorithms better than this, because this is pretty spiffy stuff.
[This message has been edited. Deal with it.]
2005-02-27, 11:26 AM #12
I just wrote this one quickly, it's kinda cool though. Each cell chooses a random neighbouring cell to steal the colour of. The colours all start off completely random and then clusters start to form.

[http://etc.dettylog.co.uk/emergy/08.png]

At the moment you won't be able to change the rules of individual cells, any changes will be applied to all copies of that agent globally (it's far more practical for me). Each agent type is actually a java class that implements an agent interface. so basically they're free to do whatever they want within the limits of the environment. I'm working on properly implementing pheromones (the 1st, 5th and 6th screenshots are actually pheremone views), once this is done i'll be able to do the Ant and Zombie simulators (the Zombies will be able to sniff out people even if they can't see them).
Detty. Professional Expert.
Flickr Twitter
2005-02-27, 11:48 AM #13
Quote:
Originally posted by The_Mega_ZZTer
THAT is Life, Freelancer. :)


Yeah, I know. And that was what I was talking about when I said "The Game of Life". That's what it's called.
"it is time to get a credit card to complete my financial independance" — Tibby, Aug. 2009
2005-02-27, 3:08 PM #14
I spent 5 minutes trying to fiddle with the buttons on that first link until I realized it was a .PNG. O.o
DO NOT WANT.
2005-02-27, 7:08 PM #15
Silly Zell.

I just wrote a new simulation, this one makes spiral-like shapes.

[http://etc.dettylog.co.uk/emergy/09.png]

[http://etc.dettylog.co.uk/emergy/10.png]

[http://etc.dettylog.co.uk/emergy/11.png]
Detty. Professional Expert.
Flickr Twitter
2005-02-27, 8:13 PM #16
I am not sure what so ever what the hell this is
Author of the JK levels:
Sand Trap & Sand Trap (Night)

2005-02-28, 1:37 AM #17
A fun thing to do with the Game of Life is to set up logic gate structures. Then you can build up mini computers. I forget exactly how you set them up, but you should be able to google it.

[Edit: ah yes, the key is to set up "gliders", there's a bit of info on these pages:
http://www.reed.edu/alife/classes/models/life/
]
2005-02-28, 4:18 AM #18
I don't get the joke about java, but the program looks really interesting. Wrote a simple port of conway's game of life myself, back in time. I think it was my first VB "code".
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
2005-02-28, 8:34 AM #19
detty, Lsd is baaad, m'kay
Code:
if(getThingFlags(source) & 0x8){
  do her}
elseif(getThingFlags(source) & 0x4){
  do other babe}
else{
  do a dude}
2005-02-28, 11:16 AM #20
What's worse is setting that last picture as your wallpaper.
Detty. Professional Expert.
Flickr Twitter
2005-02-28, 12:01 PM #21
Quote:
Originally posted by Dark__Knight
I am not sure what so ever what the hell this is


same.

anyone care to emphasize what psychadellic images have to do with programming languages?
2005-03-01, 8:48 AM #22
What's happening is you've got a grid of agents [read: pixels]. Each 'round' of the simulation, each agent changes state [read: colour] (or not) based on what the neighbouring agents' states are.

The simulation will start off with each agent being in a random state, and will look like static on your TV (if you had just black and white states - imagine that with many colours). Then depending on what rules the agents follow, after a while you start getting patterns in the output. That's what Det is posting pictures of - the result of the self-organisation of the system.

The programming aspect of it is that Det had to code the framework that the simulation is running in. It's a great little system to code. I remember having to code a very limited Game Of Life as part of my Java course. It being a one week software exercise it was much less refined than Det's system sounds to be and much less flexible (i.e. ONLY did GoL, couldn't change the behaviour of agents etc).
2005-03-02, 10:24 PM #23
Quote:
Originally posted by DeTRiTiC-iQ
Just to shatter everybody's dreams, it's written in Java.

STOP CRUSHING MY DREAMS YOU...DREAM CRUSHER!
Code to the left of him, code to the right of him, code in front of him compil'd and thundered. Programm'd at with shot and $SHELL. Boldly he typed and well. Into the jaws of C. Into the mouth of PERL. Debug'd the 0x258.
2005-03-03, 9:42 AM #24
http://etc.dettylog.co.uk/emergy/

download emergy.jar and Agents.zip

extract Agents.zip to a folder somewhere

run with:

java -jar emergy.zip [path to where you extracted the agents]

There are a few bugs and typos i've since fixed.

The easiest ones to setup are (just select from the list and fill all):

GreenbergHastings
Voter
Cyclic
Detty. Professional Expert.
Flickr Twitter

↑ Up to the top!