creatures caves welcome, guest
downloads   gallery   dev   community   creatchi   forum   mycaves
bookmarks | search | post new topic
Strangeo Forum
old
The Coder's Game   
Papriko
Peppery One

Papriko
Germany  


  5/27/2013

This is some funny game I saw once in a forum while I googled something. Wanted to see if it works here too.

The concept is pretty simple: I will present a small piece of code. Afterwards you take the code and make it more complex. The next one takes the complexified code and adds another stage.
You may go really crazy, like using several agents which message each other or catalogues or something lke that. The only rule is that all code you add is directly involved into the evaluation and/or the output.
The changes don't need to make sense, though, they just have to make things complicated! I guess I'll give an example:

Poster A
doif 1 = 2 outs "Maths stopped working!"


Poster B
setv va00 1
setv va01 2
doif va00 = va01 outs "Maths stopped working!"


In this example the numbers got replaced with va, making the code unnecessarily longer.
When enough people join, the code will get hilariously long, making this whole thing quite fun actually :D
Alright, let's use this thing as a starting point:

doif 2 = 2 outs "Seems like the universe is still okay yet" endi


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
ylukyun
Patient Pirate

ylukyun

Manager



  5/27/2013

doif 2 gt 1 AND 2 lt 3 outs "Seems like the universe is still okay yet" endi


Though if you forget to close a code tag, the universe is NOT okay...

 
Malkin

Malkin

Manager


 visit Malkin's website: Malkin's page at CWiki
  5/27/2013

doif 2 gt 1 AND 2 lt 3 outs "Seems like the universe is still okay yet" else outs "Time to save the universe!" endi


My TCR Norns
 
RisenAngel
Sanely Insane

RisenAngel

Manager


 visit RisenAngel's website: The Realm
  5/27/2013  1


sets ov00 "Seems like the universe is still okay yet"
sets ov01 "Time to save the universe!"

doif 2 > 1 and 2 < 3
outs ov00
else
outs ov01
endi


~ The Realm ~
Risen Angel's Creatures Blog


 
ylukyun
Patient Pirate

ylukyun

Manager



  5/28/2013

sets ov00 "Seems like the universe is still okay yet"
sets ov01 "Time to save the universe!"
setv ov02 2
setv ov03 1
setv ov04 3

doif ov02 > ov03 and ov02 < ov04
outs ov00
else
outs ov01
endi

 
Papriko
Peppery One

Papriko



  5/28/2013

sets ov00 "Seems like the universe is still okay yet"
sets ov01 "Time to save the universe!"
sets ov02 "hi"
setv ov03 1.7
seta ov04 ownr

doif type ov02 > type ov03 and type ov02 < type ov04
outs ov00
else
outs ov01
endi


Assuming ownr is a simple agent :P


Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
RisenAngel
Sanely Insane

RisenAngel

Manager


 visit RisenAngel's website: The Realm
  5/28/2013


inst
new: simp 1 1 18432 "blnk" 1 0 0
attr 16
tick 100
sets ov00 "Seems like the universe is still okay yet"
sets ov01 "Time to save the universe!"
sets ov02 "hi"
setv ov03 1.7
seta ov04 ownr

scrp 1 1 18432 9
doif type ov02 > type ov03 and type ov02 < type ov04
outs ov00
else
outs ov01
endi
endm

rscr
enum 1 1 18432
kill targ
next
scrx 1 1 18432 9


~ The Realm ~
Risen Angel's Creatures Blog


 
TheSecond

TheSecond


 visit TheSecond's website: Dr. Ni's Laboratory of Wonder
  5/30/2013


inst
new: simp 1 1 18432 "blnk" 1 0 0
attr 16
tick 100
sets ov00 "Seems like the universe is still okay yet"
sets ov01 "Time to save the universe!"
sets ov02 "hi"
setv ov03 1.7
seta ov04 ownr
setv ov05 0

scrp 1 1 18432 9
enum 2 4 18932
addv ov05 1
next
doif ovo5 < 1000000
outs ov00
else
outs ov01
doif type ov02 > type ov03 and type ov02 < type ov04
outs ov00
else
outs ov01
endi
endm

scrp 1 1 18432 1
inst
new: simp 2 4 18432 "blnk" 1 0 1000
timer 1
endm

scrp 2 4 18432 9
mesg writ 1 1 18432 0
endm

rscr
enum 1 1 18432
kill targ
next
enum 2 4 18432
kill targ
next
scrx 1 1 18432 9



My favorite norn is still Belldandy.
 
Papriko
Peppery One

Papriko



  5/31/2013

I don't quite get this one. Does it make multiple outputs?

Lets play plants! Photosynthesis... Photosynthesis... Photosynthesis...
 
TheSecond

TheSecond


 visit TheSecond's website: Dr. Ni's Laboratory of Wonder
  5/31/2013

Yes, because I barely know what I'm doing when it comes to caos, and didn't want to break the functional code. To be honest, though, one output should never process since the agent never creates a child agent, and activating the agent by hand should be impossible.

My favorite norn is still Belldandy.
 


downloads
cobs
adoptions
creaturelink
metarooms
breeds
 
gallery
art
wallpaper
screenshots
graphics
promos
sprites
dev
hack shack
script reservations
dev resources
active projects
dev forum
 
community
links
advice
chat
polls
resources
creatchi
 
forum
bookmarks
general
news
help
development
strangeo
survivor
mycaves
log in
register
lost pw
0 online
creatures caves is your #1 resource for the creatures artificial life game series: creatures, creatures 2, creatures 3, docking station, and the upcoming creatures family.

contact    help    privacy policy    terms & conditions    rules    donate    wiki