Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1200 votes
Accepted

Build a working game of Tetris in Conway's Game of Life

This began as a quest but ended as an odyssey. Quest for Tetris Processor, 2,940,928 x 10,295,296 The pattern file, in all its glory, can be found here, viewable in-browser here. This project is the ...
1164 votes
Accepted

Build a digital clock in Conway's Game of Life

11,520 generations per clock count / 10,016 x 6,796 box / 244,596 pop count There you go... Was fun. Well, the design is certainly not optimal. Neither from the bounding box standpoint (those 7-...
dim's user avatar
  • 8,558
837 votes

Build a working game of Tetris in Conway's Game of Life

Part 2: OTCA Metapixel and VarLife OTCA Metapixel (Source) The OTCA Metapixel is a construct in Conway's Game of Life that can be used to simulate any Life-like cellular automata. As the LifeWiki (...
El'endia Starman's user avatar
801 votes

Build a working game of Tetris in Conway's Game of Life

Part 3: Hardware With our knowledge of logic gates and the general structure of the processor, we can start designing all the components of the computer. Demultiplexer A demultiplexer, or demux, is ...
K Zhang's user avatar
  • 7,116
760 votes

Build a working game of Tetris in Conway's Game of Life

Part 4: QFTASM and Cogol Architecture Overview In short, our computer has a 16-bit asynchronous RISC Harvard architecture. When building a processor by hand, a RISC (reduced instruction set computer)...
PhiNotPi's user avatar
  • 29.1k
713 votes

Build a working game of Tetris in Conway's Game of Life

Part 6: The Newer Compiler to QFTASM Although Cogol is sufficient for a rudimentary Tetris implementation, it is too simple and too low-level for general-purpose programming at an easily readable ...
Blue's user avatar
  • 28.5k
49 votes
Accepted

Minimally destroy CGCC in Game of Life

Score 1, 35 generations Sorry, but I guess I wrecked the challenge. I brute-forced all meaningful one-dot additions by hand, and found no other answer that wins against this. Raw ASCII format ...
Bubbler's user avatar
  • 76.8k
36 votes

Display the Hacker Logo

CSS+HTML, 56+84=140 bytes 52+84=136 bytes Saved 4 bytes by incorporating suggestions from the comments. td{border:1px solid#888;line-height:.4;font-size:3em <...
Octopus's user avatar
  • 849
32 votes
Accepted

Display the Hacker Logo

Mathematica, 62 bytes Grid[{{,a=██,},{,,a},{a,a,a}},Frame->All,FrameStyle->Gray] Mathematica, 71 bytes ...
ZaMoC's user avatar
  • 24.9k
26 votes

Shortest Game of Life

x86 Assembler, MSDOS, 32 bytes ...
HellMood's user avatar
  • 618
26 votes

Display the Hacker Logo

GLSL (fragment shader), 278 235 256 bytes ...
Frxstrem's user avatar
  • 696
25 votes

Display the Hacker Logo

Python 2,  169 140  137 bytes ...
Jonathan Allan's user avatar
17 votes

Game of Life arrowslits

Python 2, 142 136 135 bytes -6 bytes thanks to ElPedro -1 byte thanks to TuukkaX ...
Rod's user avatar
  • 18.4k
17 votes

Minimally destroy CGCC in Game of Life

\$n=2\$, 41 generations ...
Dingus's user avatar
  • 11.2k
15 votes

Shortest Game of Life

Vim, 549 552 533 421 420 bytes Nice. +3 because of a bug where cells wouldn't die if no cells came to life. -19 because I made a version that was generalized to any grid size and realized that I ...
Aaroneous Miller's user avatar
15 votes

Display the Hacker Logo

HTML & CSS, 155 bytes Turns out HTML is really forgiving about syntax errors. 1 byte saved thanks to @Octopus · 1 byte saved thanks to @Downgoat · 2 bytes saved thanks to @StephenS 2 bytes ...
Uriel's user avatar
  • 13.2k
14 votes

Display the Hacker Logo

Applesoft BASIC, 479 476 516 515 483 482 bytes -32 by using unreadable variable names :P -1 because Apple decided to be magical and let me use an implicit/nonexistent GOTO Here is my own (very ...
MD XF's user avatar
  • 13.9k
14 votes

Display the Hacker Logo

IA-32 machine code, 81 80 bytes Hexdump: ...
anatolyg's user avatar
  • 13.7k
14 votes

Is it a still-life?

APL (Dyalog Extended), 61 56 48 40 37 36 35 33 32 bytes 6∧+/w∘≢¨⊢∘⌂life\5/⊆w←0,∘⌽∘⍉⍣16⊢⎕ Try it online! Outputs 0 for still-life, 6 for oscillators, and 12 for ...
Razetime's user avatar
  • 27.2k
14 votes

Minimally destroy CGCC in Game of Life

Score 8, 69 generations This is what I promised for in the comment, but it got already beaten by Dingus... I can't upload images right now, so I include a text-based initial configuration and the copy....
Bubbler's user avatar
  • 76.8k
14 votes

Keep PPCG running in Game of Life

2986 2320 1228 generations I wrote a rudimentary Python script for Golly to generate random 5x10 patterns until it encountered one whose population was fixed, and whose bounding box was not too large (...
Cloudy7's user avatar
  • 703
14 votes
Accepted

Golf Conway's Primordial Still-Life

Nibbles, 37 33 bytes ...
Darren Smith's user avatar
13 votes

Display the Hacker Logo

PNG, 105 100 bytes    (i.e. this image file) Considering that HTML and other non-programming languages are allowed, I was curious to see how much I could golf a plain browser-displayable image, to ...
Meyer's user avatar
  • 281
12 votes

Display the Hacker Logo

R (130 119 113 bytes) plot(c(2,4,6,4,6),c(2,2,2,6,4),an=F,ax=F,xli=(l=c(1,7)),yli=l,xaxs="i",yaxs="i",pch=16,cex=19);grid(3,lt=1);box()
mschilli's user avatar
  • 231
11 votes

Stable Game of Life

Mathematica, 130 129 bytes ...
Martin Ender's user avatar
11 votes

Is it a still-life?

MATL, 42 38 31 29 bytes 2 bytes saved thanks to @Neil! 4thYaXJ4:"3Y6QZ+5:7mtJX=w]xvu Input is a binary matrix. Output is Still life: ...
Luis Mendo's user avatar
  • 105k
11 votes

Golf Conway's Primordial Still-Life

Wolfram Language (Mathematica), 131 bytes ...
alephalpha's user avatar
  • 48.2k
10 votes

Shortest Game of Life

><>, 284 bytes ...
tjjfvi's user avatar
  • 7,350
10 votes

Display the Hacker Logo

Bash + ImageMagick, 233 226 characters ...
manatwork's user avatar
  • 20.2k

Only top scored, non community-wiki answers of a minimum length are eligible