Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

The 20 Line Challenge / The Game of LIFE - DBP - No Media

Author
Message
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 26th Jun 2006 20:32 Edited at: 27th Jun 2006 09:24
The Game of LIFE

no, not life the board game, but life the mathematical simulation.
presented here as an actual game.

The Theory:


My Version:


3 Distinct AIs:


Screenshot:



The 20-Line Code:



The Spaced-Out and Commented Code:


download a compiled version right here, less that 500k
http://forum.thegamecreators.com/xt/xt_apollo_download.php?i=921343

i did the whole thing in about 10 hours,
and as single lines, it's only 270 lines...zzz

bob

Zerk
17
Years of Service
User Offline
Joined: 13th May 2006
Location: Orbiting Jupiter
Posted: 27th Jun 2006 00:41 Edited at: 27th Jun 2006 00:57
Pretty cool. I did something similar recently as well using DarkAI. Its called "Blobos". Little blobs mate, marry, have kids, build houses, get old and die, have birthdays, fight, forage for food. Strange though that they will build colonies and have wars and migrate and I didnt even program them to do so.

Blobos screenshot attached.

Life sims are fun. Good job!

PS love Dungeon Dilema BTW.

I am putting myself to the fullest possible use, which is all I think that any conscious entity can ever hope to do. ~Hal-9000

Attachments

Login to view attachments
IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 27th Jun 2006 09:23
can i get that "blobos" anywhere?
is dark AI really that good, complicated, in-depth etc.?
really???

thanks,
bob

Zerk
17
Years of Service
User Offline
Joined: 13th May 2006
Location: Orbiting Jupiter
Posted: 27th Jun 2006 15:33
I havent released it. I made it for my entry into the Dark AI competition but then I realized that the prize was a video card I already have.

I only use DarkAI to move the blobos around the world and to have spontaneous behavior.

Its interesting to watch them. I've been stunned sometimes by unpredictable behavior.

As soon as I get the foraging and the home building stuff worked out and finished, I'll give it to you.

I am putting myself to the fullest possible use, which is all I think that any conscious entity can ever hope to do. ~Hal-9000
Tallun
19
Years of Service
User Offline
Joined: 30th Oct 2004
Location: Existence
Posted: 27th Jun 2006 17:10
It seems that it's always a move behind. It doesn't display anything until I click on the screen and whenever I make a move it executes the last move I assigned. If the last move I assigned would now be illegal, the game locks and I can't do anything. Furthermore, it doesn't seem to allow exiting by hitting escape.

It could be a really cool game, but it's unplayable this way.
Jrock
18
Years of Service
User Offline
Joined: 20th Feb 2006
Location: Riven
Posted: 27th Jun 2006 20:36 Edited at: 27th Jun 2006 20:43
Blobos sounds cool, maybe I could have a copy?

Edit: How long did it take you to make it?

erm

IBOL
Retired Moderator
20
Years of Service
User Offline
Joined: 30th Mar 2004
Location: @IBOL17
Posted: 27th Jun 2006 20:56
@Tallun ,
i get absolutely none of the behavior you're talking about.
escapekey() is not disabled,
mine has never locked up,
and it DOES in fact execute my current moves.
it put's your latest move on the screen in green.
deaths are in red, births are in blue.

what version of dbp are you running?

Dr Manette
18
Years of Service
User Offline
Joined: 17th Jan 2006
Location: BioFox Games hq
Posted: 28th Jun 2006 04:19
Very nice game, I was a little confused on what to do at first. Basically, I clicked places and stuff happened. But for the twenty line code, i'd say you did a great job!

Bio Fox...four guys, one computer, games like nobody's business.
Dark Phoenix
17
Years of Service
User Offline
Joined: 17th Sep 2006
Location:
Posted: 19th Sep 2006 05:44
Blobos sounds pretty cool....
Ive neva used Dark A.I b4
Is it really that spontaneous?

Hope you finish so i can take a look.

Reality will sneak up behind you and slit your throat -- silently, without hesitation, without mercy.
DrDunc
18
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: MemBlock 12 (alt. file Thinking12.mem)
Posted: 17th Nov 2006 15:34
Thats really quite snazzy

Login to post a reply

Server time is: 2024-04-18 12:42:06
Your offset time is: 2024-04-18 12:42:06