Conway's Game of Life, in real life

(lcamtuf.substack.com)

175 points | by surprisetalk 8 hours ago

24 comments

  • smcameron 4 minutes ago
    Something like those switches might be made very cheaply with a 3D printer, possibly a laser cutter, some transparent or semitransparent acrylic sheet, tactile switches and some LEDs. I designed a cheapo replacement for $50 tellite switches and got the price down to about $0.60 Not quite the same, as these are a lot bigger, and getting things down to the desired size might be troublesome. Anyway, here's a little video of my fake cheapo tellite switches: https://www.youtube.com/watch?v=LaenrgPVCjc
  • exolab 4 hours ago
    > I figured out what would be a reasonable amount to spend on the project and then multiplied that by 10.

    I like the way you think.

    • alexpotato 41 minutes ago
      Jeff Atwood has a great quote:

      "I needed to replace 18 lightbulbs in my chandelier. Turns out 18 times any number is a lot. In cash"

  • kangalioo 17 minutes ago
    A much cheaper way might have been to buy a couple of Novation Launchpads. 8x8 full RGB tactile buttons for 90€, MIDI-controllable. Four of those next to another for 16x16 at 360€ plus a little bit for cables and controller comes out at 1/3 the price
  • mittermayr 2 hours ago
    Totally off-topic, and I may be wrong, but I immediately loved the non-LLM writing-style and felt glued to the content just through the writing alone. It's getting rare.
    • Lerc 1 hour ago
      I have not felt that it was becoming rare. Certainly on platforms like YouTube you can see automated processes cranking blandness at scale. I haven't found it encroaching on the topics that interest me like toy electronic projects, how some ancient game rendered its Sprites, colour space analysis, or a compiler that fits in a tweet,

      I'm sure there are an abundant source of 'How I hustled a thumpawangy into $1000 a month in subscriptions" written by AI, but I doubt I could perceive a loss in that compared to the ones we had before.

    • tmountain 1 hour ago
      Personally, I can barely stomach reading LLM writing. I find myself closing lots of articles after a sentence or two. I wonder how this plays out longer-term regarding engagement.
    • zytek 1 hour ago
      lcamtuf is doing that for decades!
  • MrGilbert 18 minutes ago
    I wonder if going for keyboard switches with RGB could bring the price down, if you then either print the keycaps yourself, our use a 3d printing service. 23 Cherry MX switches cost 20€, that‘s roughly 260€ for a 17x17 matrix.
    • waterproof 0 minutes ago
      Should be doable to implement GoL on an ortholinear RGB keyboard using QMK
  • eps 3 hours ago
    I saw one in a computer museum in Switzerland. It was a much larger field, it was just large orange LEDs (or were they tubes?), but it also cycled between a dozen of different cell automata games. Something about being able to see individual "pixels" made it really mesmerizing.
  • cjfd 3 hours ago
    When I was a teenager, I read a book about assembly language for the commodore and implemented the game of life in a really simple way. I just used the text screen. To switch on a cell, I would put an asterisk ('*') in it. Then I could run my machine code program and it would evolve according to the rules of the game of life.
    • abcd_f 2 hours ago
      And who didn't do that! :)

      You could also 4x the resolution by using half- and quarter-block characters from the top half of the ASCII table (or it'd be the PETSCII one i C64 case).

      • lproven 1 hour ago
        > And who didn't do that! :)

        Exactly. It's even how I taught myself extremely basic Pascal -- getting my BASIC Life program running in Pascal. With asterisks.

        A taught a friend at uni, who was a much better programmer than me, how the algorithm worked. He did a pixel-by-pixel version in machine code, but it was a bit slow on a ZX Spectrum.

        So he did exactly the quarter-character-cell version you describe. I wrote the editor in BASIC, and he wrote a machine-code routine that kicked in when told and ran the generations. For extra fun he emitted some of the intermediate state to the border, so the border flashed stripes of colour as it calculated, so you could see it "thinking". Handy for static patterns -- you could see it hadn't crashed.

        I've been considering doing a quarter-cell Mandelbrot for about 30Y now. Never got round to it yet.

  • jFriedensreich 16 minutes ago
    how is this real life more than a monitor, its just bigger pixels. i was expecting programmable live cells or something mechanical
    • waterproof 5 minutes ago
      Check out the video - you can draw on the game by pressing the switches.
  • PetitPrince 5 hours ago
    My Alma matter has a jumbo version of this, in which the game if life is one of several available mode https://en.wikipedia.org/wiki/BioWall
  • mastermedo 3 hours ago
    A thousand bucks for 17x17 touchscreen. Add a painting frame, hang it on the wall, and you made yourself amazing art for cheap.
  • possiblydrunk 1 hour ago
    Nicely done! Scale matters. If you make something big enough relative to its expected size, it will impress and captivate, even if it's simple. General observation, not that the construction here was by any means simple.
  • Cthulhu_ 2 hours ago
    I love this and would love to see it on a wall at our office or something like that. Maybe there's smaller/cheaper led/switches that would work in a handheld version.
  • rojoroboto 58 minutes ago
    I bet that the author would really get a kick out of the T2 Tile Project.
  • lproven 1 hour ago
    This is fantastic, but there's no way I am taking the time to build one, and the cost is a little frightening...
  • slow_typist 4 hours ago
    Très cool.

    A grid of capacitive touch sensors could be printed directly on the pcb, bringing down costs by a degree of magnitude. Real switches are much more satisfying though.

    • f1shy 4 hours ago
      I want to do a game like lights out. I'm thinking in 3d printing transparent caps and using dirt chip pcb switches and standard leds. The cost must be also down to 30 cts. Would be like a middle ground.
  • vunderba 6 hours ago
    Nice. A friend of mine just picked up a Linnstrument, and I’m very tempted to create a Conway’s Game of Life-based musical visualization for it.

    https://www.rogerlinndesign.com/linnstrument

  • galaxyLogic 5 hours ago
    I wonder is there a version GoL where every bit on a computer-display or LCD TV is one cell? How does it look?
    • alex_duf 4 hours ago
      Do you mean every pixel or every sub-pixel? Sub-pixel is interesting because the geometry of the grid isn't going to be the same from one screen to the other. It might also look compressed horizontally.
    • eps 3 hours ago
      Conversely, it'd be cool to play it on an large empty office building.

      One window = one pixel.

  • CJefferson 5 hours ago
    I've always wanted something like this board, buttons which can light up (preferably a few colours), to use to make games. Anyone ever found such a board which is hackable / programmable?
    • rmnclmnt 4 hours ago
      Novation Launchpad used to be exactly that: you send MIDI CC messages with proper values and you can light up the grid (with different colors).

      Did that a few years back, i guess this might still be possible

    • Cthulhu_ 2 hours ago
      https://www.adafruit.com/category/280, they're ready made from 4x4 to 16x8 but in theory you can just put more modules into an enclosure.
  • fwipsy 5 hours ago
    I don't want to build this or pay for it, but I really want to mess with it for an hour.
  • mkirsten 3 hours ago
    It is beautiful
  • Traubenfuchs 2 hours ago
    Would be interesting to do this with people and observe the inevitable mistakes they make.

    Now that would be simulating life witg life.

    • ordu 2 hours ago
      Well, people can die if they have too many or too little of neighbors, but they can't be summoned from a thin air if they have just enough neighbors. Hard to simulate life with people. Though if you are ready for a simulation step of 20 years or so... But it still may not work, because you need people of two opposing sexes and compatible genders near the empty sell to fill it. In Game of Life all cells are hermaphrodites.

      But I agree mistakes might be fun to watch.

  • self_awareness 3 hours ago
    That's not a "physical" version of game of life -- that's a digital version, like every version, but with bigger pixels.
  • gethwhunter34 2 hours ago
    [flagged]
  • shawoodle65 3 hours ago
    [flagged]