topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 19, 2024, 6:47 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: The unique excitement of coding something emergent  (Read 4460 times)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
The unique excitement of coding something emergent
« on: November 14, 2012, 10:21 PM »
I've been meaning to write this post for a while -- a post aimed at new coders.

I want to write a little about the unique excitement and satisfaction that comes from writing code with the capacity to surprise you.

I think fiction writers often get this kind of satisfaction when the characters in their stories start to take on a life of their own and the writer can stand back and marvel at what happens.

There are lots of programming projects that have this flavor of emergent interactions with the ability to surprise.  Most games have this flavor, where enemies and non-player characters interact in ways that you didn't anticipate.  And of course most simulations have this flavor.

So this is my post encouraging new programmers to find a little project that is like a little simulation -- interacting components that can product outcomes that you can't predict.

Some good places to get started might be implementing Conway's Game of Life, or the Mandelbrot set, or just pick any simulation-based game like sim city and try to code the absolute simplest little form of it.

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: The unique excitement of coding something emergent
« Reply #1 on: November 16, 2012, 06:12 AM »
I've just recalled this program to design 'cellular automata', wouldn't be a nice project to make a tower defense with CA autogenerated patterns like this one
It seems to me that the app103's nany entry might have some function to autogenerate amerindian patterns this way with cellular automata.
btw I use the screenshot program from this very same author though I want to give Screencaptor a try ^^
« Last Edit: November 16, 2012, 07:06 AM by kilele »

kilele

  • Charter Member
  • Joined in 2006
  • ***
  • default avatar
  • Posts: 243
    • View Profile
    • Donate to Member
Re: The unique excitement of coding something emergent
« Reply #2 on: November 16, 2012, 06:46 AM »
Imagine a tower defense game made by the DC community this way:

- The program could allow to make 'gamified' cellular automata to find patterns usable as game elements like roads, enemies, heroes, towers, landscapes..
- Any member could submit his discovery to a dedicated website.
- The program could make 2d or 3d versions of these patterns, change colors, cartoonify...
- The program could join every pattern to be placed in the battlefield.
- The program could allow enter behavior relationships between the different ca involved in the game, such relations could be user defined or even another ca on top of all of them.
- The program could create user scores, guis, etc
« Last Edit: November 25, 2012, 05:53 PM by kilele »