Post by El_Dorado on Dec 10, 2008 9:41:52 GMT -5
I was sitting at my computer chair when this thought occured to me... Why not make a life simulator? I had made an organism simulator before, and it wasn't hard, but I wanted something with AI!
So, I created this little program. These dotmen wander a map. They are required to drink and sleep to live. They have a set amount of stamina and health.
Of course, this isn't the basis of life I go by. I wanted to incorporate communication, memory, and purpose into the simulation.
When a dotman is created, it is assigned a gender (m/f) its health and stamina, and the job to BREED. Eventually, after wandering enough and getting bored, the dotman will chnage jobs. Dotmen know how to do three jobs: BREED, DRINK and SLEEP.
Of course, what if a dotman runs over and grabs a stick? When a dotman walks onto a stick, he picks it up and learns how to GATHER, adding this to his known list of jobs. after gathering some sticks (dotmen can only hold one item at a time) the dotman may learn to BUILD, adding this to his list of commands.
The dotman is designed to learn new actions all the time. But of course, the basics (breeding, eating and sleeping) are the only required ones.
If a dotman runs into another dotman, he/she always ASKs JOB, learning the JOB of the dotman they ran into. They then memorize the name of the dotman, their job, and their position. So, if another dotman walks up to this dotman and ASKs where Dotman121 is, and the dotman asked the question remembers dtoman121, it will tell the other dotman where he was last seen and what he was doing.
Currently, dotmen can have memories up to 882 bytes. With a maximum of 99 dotmen in the map, that's a little over 82kb. I hope to soon expand this memory to say, a hundred kilobytes, per dotman!
Anyways, this simulation is pretty complex, but when you see it in action it's pretty simple, just like real life.
The console constantly shows you information about the dotmen, and what is going on in the world of the dotmen. When dotmen talk to each other, the console tells you who said what and whom they said it to. It's a very complex social and life simulator that I hope to expand to the point where the little guys can do anything (after evolution takes its course and gives these dot guys a brain!)
My friend Eric12321 asked me in an IRC chat if they could kill each other with guns. I laughed a little bit at first, but then I realised, maybe they will. Eventually I'll have gotten the AI to a point where they'll want to make weapons, and start killing each other. "No," I said, "Not yet."
"But if the expansion of their minds takes place like it's supposed to, then yes."
"Someday they will even wage Nuclear War against each other."
"This is my vision for this program."
I've got a few screenshots of a very sloppy user interface and console I threw together for the program. I'm planning on adding better graphics, more items to the map, and a larger map (Don't want to crowd the guys out after they breed a bit, do I?).
www.team3soft.com/img/simulator1.PNG
www.team3soft.com/img/simulator2.PNG
www.team3soft.com/img/simulator3.PNG
Anyways, any thoughts about this? Anyone interested in seeing it in motion?
I'm really enthused with how even this basic engine turned out, and I'm ready to expand on it and make it into a really thorough simulation of life.
So, I created this little program. These dotmen wander a map. They are required to drink and sleep to live. They have a set amount of stamina and health.
Of course, this isn't the basis of life I go by. I wanted to incorporate communication, memory, and purpose into the simulation.
When a dotman is created, it is assigned a gender (m/f) its health and stamina, and the job to BREED. Eventually, after wandering enough and getting bored, the dotman will chnage jobs. Dotmen know how to do three jobs: BREED, DRINK and SLEEP.
Of course, what if a dotman runs over and grabs a stick? When a dotman walks onto a stick, he picks it up and learns how to GATHER, adding this to his known list of jobs. after gathering some sticks (dotmen can only hold one item at a time) the dotman may learn to BUILD, adding this to his list of commands.
The dotman is designed to learn new actions all the time. But of course, the basics (breeding, eating and sleeping) are the only required ones.
If a dotman runs into another dotman, he/she always ASKs JOB, learning the JOB of the dotman they ran into. They then memorize the name of the dotman, their job, and their position. So, if another dotman walks up to this dotman and ASKs where Dotman121 is, and the dotman asked the question remembers dtoman121, it will tell the other dotman where he was last seen and what he was doing.
Currently, dotmen can have memories up to 882 bytes. With a maximum of 99 dotmen in the map, that's a little over 82kb. I hope to soon expand this memory to say, a hundred kilobytes, per dotman!
Anyways, this simulation is pretty complex, but when you see it in action it's pretty simple, just like real life.
The console constantly shows you information about the dotmen, and what is going on in the world of the dotmen. When dotmen talk to each other, the console tells you who said what and whom they said it to. It's a very complex social and life simulator that I hope to expand to the point where the little guys can do anything (after evolution takes its course and gives these dot guys a brain!)
My friend Eric12321 asked me in an IRC chat if they could kill each other with guns. I laughed a little bit at first, but then I realised, maybe they will. Eventually I'll have gotten the AI to a point where they'll want to make weapons, and start killing each other. "No," I said, "Not yet."
"But if the expansion of their minds takes place like it's supposed to, then yes."
"Someday they will even wage Nuclear War against each other."
"This is my vision for this program."
I've got a few screenshots of a very sloppy user interface and console I threw together for the program. I'm planning on adding better graphics, more items to the map, and a larger map (Don't want to crowd the guys out after they breed a bit, do I?).
www.team3soft.com/img/simulator1.PNG
www.team3soft.com/img/simulator2.PNG
www.team3soft.com/img/simulator3.PNG
Anyways, any thoughts about this? Anyone interested in seeing it in motion?
I'm really enthused with how even this basic engine turned out, and I'm ready to expand on it and make it into a really thorough simulation of life.