News for hackers. Stuff that matters.
Re:Sprout Life by shapiro on Thursday February 11, 2016 @09:57PM (#11085015)
Hey guys, I made this, I would be happy to tell you more about it. The idea is pretty simple, static 2x2 blocks are replaced by another shape that creates a lot of growth. That replacement is treated like the birth of a new organism. The goal of the organism is to produce more 2x2 blocks. It can have slight mutations that make it faster to produce these blocks. What's interesting about this is that rather than having reproduction be a given, an organism spends it's whole life building a structure that lets it reproduce. It can collide with other organisms and disrupt them. It's simple, but it's open ended and is fast to compute.
Re:Sprout Life by jakeogh on Thursday February 11, 2016 @10:43PM (#11085150)
Nice. I feel like there's a relation to[1], but it's not obvious to me how to apply it.

[1]: https://news.ycombinator.com/item?id=11078635

Re:Sprout Life by t3hprogrammer on Thursday February 11, 2016 @11:45PM (#11085369)
Awesome! Replacing one block with another is clever, although it's tricky when organisms of one species are adjacent to organisms of another species.

I've played around with a similar idea in falling sand games [0], where individual cells interact to create new cells, but I got stuck developing a language flexible enough for greater expressiveness while still being performant.

[0] https://github.com/ericleong/sand.js

Re:Sprout Life by shapiro on Friday February 12, 2016 @12:05AM (#11085433)
You were developing a new language? Javascript is great because you can see the results in a browser. I'm a bit torn because java is easier for developing this kind of data intensive thing.
Re:Sprout Life by eggy on Thursday February 11, 2016 @09:36PM (#11084949)
Very cool! I'm reading and coding along with Sher's Neuroevolution Through Erlang to learn the benefits of Erlang/BEAM for just such stuff. I believe somebody is also translating it to Elixir. The visualizations are great. I guess Java doesn't have a problem with distributed computing or processes for such work?
Re:Sprout Life by shapiro on Thursday February 11, 2016 @10:05PM (#11085035)
This works on just a single machine for now. I imagine it would be relatively easy to distribute. One could simply clone a bunch of applications. Then creatures from cloned grids could be swapped, or grids could be placed adjacently to determine who the winners are...
Re:Sprout Life by GeorgeHahn on Friday February 12, 2016 @12:43AM (#11085543)
Anyone who enjoys this sort of work may also like the book Complexity by Waldrop, which covers the history of Complexity theory through the eyes of the people who created it. It's a really fun story that's inspirational and intellectually satisfying.
Re:Sprout Life by taneq on Thursday February 11, 2016 @10:40PM (#11085145)
"The enemy of my enemy is my food."

I love this restatement of RPS.

Re:Sprout Life by dfischer on Thursday February 11, 2016 @07:40PM (#11084552)
This is pretty cool. Kudos.