[HN Gopher] Build a working game of Tetris in Conway's Game of L...
___________________________________________________________________
Build a working game of Tetris in Conway's Game of Life (2014)
Author : wxw
Score : 154 points
Date : 2024-12-27 07:04 UTC (2 days ago)
(HTM) web link (codegolf.stackexchange.com)
(TXT) w3m dump (codegolf.stackexchange.com)
| szopa wrote:
| This is simply... incredibly impressive. I wasn't expecting they
| would build a computer all the way up from a CPU and memory to an
| assembler to a compiler, all in the game of life.
|
| Kudos.
| Cthulhu_ wrote:
| It reminds me of people building computers in Minecraft, but
| for Game of Life they had to go another abstraction level lower
| and build the basics like wires and transistors out of GoL
| constructs.
| eichin wrote:
| I was actually a _tiny_ bit disappointed - I was hoping for a
| closer coupling of tetris-logic to life-logic :-) Per
| https://conwaylife.com/wiki/Universal_computer the first
| turing-machine-in-Life goes back to 2000, and "building a CPU
| to run code" is at this point the "obvious" way to do it. See
| https://nicholas.carlini.com/writing/2020/intro-to-circuits-...
| for a tutorial with a (circular) "final goal of designing an
| Intel 4004 and using it to simulate the game of life."
| mukunda_johnson wrote:
| TIL that Conway's game is turing complete. Wow.
| throwaway71271 wrote:
| then you will be even more impressed by Rule 110 being turing
| complete with a specific background pattern.
|
| https://en.wikipedia.org/wiki/Rule_110
| Joel_Mckay wrote:
| It gets even funnier, some folks implemented a version in
| geometry nodes within Blender.
|
| https://www.youtube.com/watch?v=iSoqddxoCl8
|
| One could do all sorts of fun abstractions with the
| simulation data. =3
| nomilk wrote:
| Struggling to wrap my head around how this is possible. Seems
| others are too [0]. A computer made in, say, minecraft can be
| given inputs. But since GoL is a zero player game (the player
| only selects the initial states), how can it possibly compute
| anything other than the static inputs it's originally provided?
| Perhaps that's sufficient for Turing Completeness? (when I
| click 'Run' on the provided link, my chrome tab becomes
| unresponsive; was hoping to disprove my own disbelief by
| playing Tetris in GoL but thus far unsuccessful, yet remaining
| hopeful!).
|
| [0] https://stackoverflow.com/questions/394957/why-can-
| conway-s-...
|
| [1] https://copy.sh/life/?pattern=TetrisOTCAMP.mc
| chunkyks wrote:
| If you think about it, a Turing machine is also Turing
| complete, and also is a zero player game where one only sets
| initial inputs...
| hcs wrote:
| > how can it possibly compute anything other than the static
| inputs it's originally provided? Perhaps that's sufficient
| for Turing Completeness?
|
| Yes, the basic Turing machine model isn't "interactive", it
| takes some initial input and runs from there.
|
| Edit: Maybe a better way of putting this:
|
| Since you can build a Turing machine as a GoL pattern that
| will interact with another pattern (its input), analysis of
| GoL patterns includes analysis of Turing machines, generally.
| fosterfriends wrote:
| I love how projects like this can give folks a chance to
| understand and derive computer mechanics from scratch, in a
| visual way. I feel like living in the land of bits and high level
| constructs for too long really creates black boxes and fear that
| it's too complicated to ever understand the metal. Projects like
| that dismistify things in clean 2d space. Props, and great write
| up!
| modeless wrote:
| Building larger switching squares out of smaller ones reminds me
| of the infinite zoom recursive life game:
| https://oimo.io/works/life/
| neontomo wrote:
| I wonder why nerds are obsessed with Game of Life. I know I am
| one of them, but I still don't quite get why it hits the spot so
| well
| Towaway69 wrote:
| Something to do with the name perhaps!
|
| Game of Death doesn't sound half as fun ;)
| Y_Y wrote:
| That's what we spend the rest of our time playing
| sargon23 wrote:
| I only have one word to say about this.
|
| Doom.
___________________________________________________________________
(page generated 2024-12-29 23:00 UTC)