TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Automata: Like the Game of Life, but with violence

165 pointsby wayspurrchenover 10 years ago

27 comments

fishtasticover 10 years ago
This game is quite different from Conway's Game of Life because it's not deterministic. During a turn, cells will rely on Math.random to find whether to move or divide; the direction that the cell move into is also randomized.
评论 #8581790 未加载
评论 #8585369 未加载
评论 #8581549 未加载
coyotebushover 10 years ago
Cool to watch, though this is a fairly straightforward model of complex contagion on a finite grid. It&#x27;s similar to Conway&#x27;s Game of Life in that there&#x27;s a grid and local rules, but beyond that, the nature of the rules results in a different kind of behavior.<p><a href="https://en.wikipedia.org/wiki/Complex_contagion" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Complex_contagion</a><p><a href="http://www.ladamic.com/netlearn/NetLogo4/DiffusionCompetition.html" rel="nofollow">http:&#x2F;&#x2F;www.ladamic.com&#x2F;netlearn&#x2F;NetLogo4&#x2F;DiffusionCompetitio...</a>
clarkmoodyover 10 years ago
Selfish feature requests:<p>+Better color scheme by default makes it easier on the eyes than full-saturation RED, GREEN, MAGENTA +Pick from existing colors to draw new cells +Time-series charts of per-color population counts +Draw on chart with default pointer instead of text select +Reset to default button<p>Overall this is really interesting to look at. It doesn&#x27;t really seem like it&#x27;s that close to Conway&#x27;s Game of Life, but it&#x27;s an interesting nonetheless.
sean13013over 10 years ago
reminds me a lot of an old multiplayer network game called &quot;liquid war&quot;<p><a href="http://www.ufoot.org/liquidwar" rel="nofollow">http:&#x2F;&#x2F;www.ufoot.org&#x2F;liquidwar</a><p><a href="http://www.youtube.com/watch?v=nj65vUy3rK8" rel="nofollow">http:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=nj65vUy3rK8</a>
评论 #8581396 未加载
评论 #8581596 未加载
pervycreeperover 10 years ago
Offtopic, but &quot;.website&quot; is pretty much the worst TLD conceivable.
评论 #8581662 未加载
lettergramover 10 years ago
Seems as if pretty much every state is a steady state. Would be interesting if some were predators and others prey, with some feature that allows them to &quot;starve&quot;
评论 #8581714 未加载
评论 #8581061 未加载
erikbover 10 years ago
I coded nearly the same game as a Java desktop application in 2009. Can&#x27;t find the binary anymore though. It&#x27;s lots of fun if you can tune some parameters, like make one species more fertile (reproduces every time, while others reproduce only 50% of the time into empty space, etc), more aggressive (can consume when surrounds an enemy from only two sides), or more strategic (tries to make sure not to get its fighting line broken up by a lucky enemy).
lettergramover 10 years ago
I made a video on how to &quot;win&quot; at Automata with minimalist moves:<p><a href="http://youtu.be/hQhXFHmXDaA" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;hQhXFHmXDaA</a>
lkrubnerover 10 years ago
The big surprise to me is that stability is possible in this game. Most of these games end in less than 60 seconds. The first several games I let run had unstable dynamics: one side gained an advantage and grew and grew until it took over the whole board, usually in less than a minute. But later, through experimentation, I found that stability is possible.<p>The corners seem to be especially stable. I waited until the game had consolidated to 3 colors, then I created 4 new colors and added them to the corners (I slowed the game down to 500,000 milliseconds so I could have time to paint the corners, then I went back to 30 milliseconds). With 4 corners held weakly by 4 colors, and 3 large colors holding the center, the game is remarkably stable. I watched it, in the background, for several hours. One of the corners disappeared, but the other 3 corners held on. I went off to bed. In the morning, 2 more of the corners had been swallowed, but 1 of them still survived. These 4 surviving colors have been battling now for over 24 hours. The game has reached equilibrium.
a_oltover 10 years ago
Hmm in some scenarios the colours would really benefit from forming an alliance... :) It&#x27;s fun to watch how different stories unfold.
lettergramover 10 years ago
If you put a 4 x 8 purple block in the center of each color, the outcome will always be purple taking over the entire map. It seems like a fairly complex, and similar tactics in Go can achieve victory (victory being purple overtaking the map).
评论 #8583749 未加载
arjieover 10 years ago
Interesting. In this simulation, fighting on multiple fronts is optimal because then no single enemy can surround you. Funny. Leads to drawing along the borders being more significant than drawing within a solid colour block.
评论 #8582393 未加载
Robadobover 10 years ago
Sugarscape is another interesting cellular automata model.<p><a href="http://en.wikipedia.org/wiki/Sugarscape" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Sugarscape</a>
评论 #8581311 未加载
toxikover 10 years ago
There is something wrong with the game, the sum of the number of cells of each color is not constant.<p>Also it for some reason got almost impossible to paint the board one color; beginning was easy enough. A splash was enough. Somehow the &quot;end-game&quot; is nearly impossible to complete. The very frustrating input method does not help the least.<p>Otherwise, nice idea!
评论 #8581893 未加载
评论 #8581339 未加载
评论 #8581364 未加载
rileyjshawover 10 years ago
Ooh! Awesome :)<p>I&#x27;ve got some similar demos for rileyjshaw.com&#x2F;terra that I haven&#x27;t thrown up yet, I&#x27;ll see if I get a chance to this week. One fun advantage of doing this in Terra is that it supports periodic boundaries (meaning that there aren&#x27;t any &quot;safe&quot; edges)
hetidover 10 years ago
The same effect could be achieved by taking a low resolution image and each turn, making each pixel the color of a random neighbor. The only thing this has to do with the Game of Life is both can be simulated by copying one array to another and applying some simple rules.
jonahrdover 10 years ago
It would be a neat feature to allow us to upload an image of the right size as a seed for the game
评论 #8581399 未加载
评论 #8581725 未加载
ObligatoryRefover 10 years ago
It&#x27;s interesting dumping groups of cells into different parts of the board and seeing how it reacts - a group in the middle of one color gets absorbed quickly, a group along the border of several colors hangs on for much longer, etc.
rsivaprover 10 years ago
Nice! I made something similar except it was more about how people are influenced by ideas of people around them and less about violence. link: <a href="http://goo.gl/H0Wqxo" rel="nofollow">http:&#x2F;&#x2F;goo.gl&#x2F;H0Wqxo</a>
a_oltover 10 years ago
Without pausing, just by rapidly adding pink cells at the borders between two colours, it is possible to make one of them go extinct.<p><a href="http://i.imgur.com/q2OIJNh.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;q2OIJNh.png</a>
infinity0over 10 years ago
Practise starting revolutions: colour the whole board white, and see which minimal combinations of black will eventually take over the board.
teddyhover 10 years ago
A bit like A. K. Dewdney’s idea of the “<i>voters</i>” simluation (as seen implemented in the old <i>xlockmore</i> program mode “voters”).
bbcbasicover 10 years ago
Interesting - red got blue and green into a corner, had time to gobble them up for itself, and then went on to defeat black!
eatitrawover 10 years ago
Surprisingly interesting to play and watch. I would like more tools to add cells(mspaint-like)
评论 #8581231 未加载
minimaxirover 10 years ago
Every time I add (pink) cells, they are always immediately killed. Is that intended?
评论 #8581035 未加载
评论 #8581030 未加载
flashmanover 10 years ago
Needs population count as a live graph.
评论 #8587971 未加载
notastartupover 10 years ago
5 minutes:<p>The hordes of Lime Green grow stronger every second. We face a growing threat from the Blacks and the Blues to the east. I shall fight for a few more minutes.<p>10 minutes:<p>We face complete annihilation from the unstoppable growth from Blacks. Lime Green horde is nearly decimated, it was only a few minutes ago they seemed unstoppable.<p>15 minutes:<p>Lime Green have been completely annihilated! We are caught between the epic battle between Blacks and Blues. I rest for a few minutes.<p>20 minutes:<p>We are caught in a stalemate with the Blacks. The eastern front bears the crushing weight of Blues onslaught of attacks and raids. The night is getting cold, we are tired.