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.

Show HN: Multi-player Competitive Conway's Game of Life

85 pointsby samuellevyover 10 years ago

13 comments

samuellevyover 10 years ago
I made this as an experiment. It's an idea that I've been toying with for a long time, but I only just got around to building it.
评论 #8528989 未加载
评论 #8527618 未加载
评论 #8526976 未加载
评论 #8526858 未加载
zapharover 10 years ago
Conway&#x27;s Game of Life is my goto &quot;learn a new language&quot; project. It covers most of a languages surface. data structures, conditionals, loops, stdlib. And the rules are <i>just</i> complex enough to get a sense of how the language works.
评论 #8527311 未加载
评论 #8527093 未加载
adwfover 10 years ago
Really cool. Spent ages building a glider gun and then pointed it in the wrong direction...<p>I think there are probably a few too many civilians in there as well, messed up any cool formations I had far too early for them to be effective.
评论 #8527887 未加载
modover 10 years ago
I had a lot of fun with this, until now:<p>My challenge has been accepted, but my challenger will not place his armies, and so I&#x27;m effectively unable to play.<p>Perhaps he&#x27;s placing a really, really elaborate pattern.<p>Edit: He placed about 30 minutes after accepting. I could still see this being a problem, and so this is a type of bug report.
评论 #8529342 未加载
eevilspockover 10 years ago
Not meant as a criticism, but a thought: It&#x27;s a bit ironic that for a thing meant to demonstrate the concept of emergence, players are designing states rather than rules conducive to emergence.<p>For example, imagine a game where flocks of boids[1] did battle, but instead of setting their initial position, you programmed the rules of behavior that governed each boid identically. The fixed rules of the system are such that the more &quot;cooperative&quot; the behavior, the greater the chance of success. Individual boids aren&#x27;t allowed to have any memory (i.e. stateless), so AI solutions are precluded.<p>[1] <a href="http://www.red3d.com/cwr/boids/" rel="nofollow">http:&#x2F;&#x2F;www.red3d.com&#x2F;cwr&#x2F;boids&#x2F;</a>
评论 #8527928 未加载
jonahrdover 10 years ago
I created the Max space filler. too bad it&#x27;s very volatile inside <a href="http://gameoflifetotalwar.com/challenge/pwtOc" rel="nofollow">http:&#x2F;&#x2F;gameoflifetotalwar.com&#x2F;challenge&#x2F;pwtOc</a>
cpfohlover 10 years ago
Do you detect stable states to declare a draw? They can take many generations to develop and reveal themselves...
评论 #8527196 未加载
评论 #8529532 未加载
whittenover 10 years ago
This is an impressive bit of coding, especially since it displays the battles in real-time.
lytedevover 10 years ago
This is too fun. Unfortunately, seems that an excellent and simple strategy to win is to just place entire columns full of life, particularly on the front and back ends (with whatever subdivisions you can afford also).
drewblaisdellover 10 years ago
Very cool. I made a multiplayer version of Conway&#x27;s Game of Life a few months ago, and it is fascinating to see how much our versions differ.<p>I dig how you are using &quot;war&quot; as not just a metaphor, but a game concept.
hanozover 10 years ago
Good work, excellent fun! I don&#x27;t know if it&#x27;s just me but I&#x27;m finding Firefox has the &quot;I&#x27;m ready for battle&quot; button disabled on first load of the challenge page.
arikrakover 10 years ago
Cool idea. Maybe make it easier to get started, it&#x27;s a bit unclear initially what to do. Also, maybe have a mini version where you just place 20-30 armies instead of 100.
rev_birdover 10 years ago
This looks like a more organized version of <a href="http://lifecompetes.com" rel="nofollow">http:&#x2F;&#x2F;lifecompetes.com</a>, which is itself a LOT of fun.