1193 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 ...
1162 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,528
832 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
797 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,076
756 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
  • 29k
710 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
57 votes

Build a sandpile

R, 378 343 297 291 bytes As usually, the user supplies his/her input via scan() (I already used the variable t, so let us take <...
Andreï V. Kostyrka's user avatar
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
  • 73.8k
42 votes

Build a digital clock in Wireworld

Latching Clock Score - 53,508 (of which only 36,828 is actively used due to the L-shaped design) High Quality recording - https://1drv.ms/u/s!ArQEzxH5nQLKhvt_HHfcqQKo2FODLQ Golly pattern - https://...
niemiro's user avatar
  • 1,071
34 votes

The Quantum Drunkard's Walk

Wolfram Language (Mathematica), 92 91 bytes Print@@@CellularAutomaton[{7049487784884,{3,{a={0,3,0},3-2a/3,a}},{1,1}},{j={{1}},0},{j#}]& A perfect challenge to ...
JungHwan Min's user avatar
  • 13.8k
30 votes

Dig a border trench

Wolfram Language (Mathematica), 15 bytes 2#-#~Erosion~1& Try it online! Or (39 bytes): ...
lirtosiast's user avatar
  • 21.4k
25 votes

Shortest Game of Life

x86 Assembler, MSDOS, 32 bytes ...
HellMood's user avatar
  • 598
21 votes

The XOROR sequence

Mathematica, 133 bytes ...
hYPotenuser's user avatar
20 votes

Square snowflake

MATL, 21 19 bytes l31:"TTYat3Y6Z+1=Y| Try it online! Explanation ...
Luis Mendo's user avatar
  • 104k
17 votes

Minimally destroy CGCC in Game of Life

\$n=2\$, 41 generations ...
Dingus's user avatar
  • 10.9k
14 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
14 votes

Bacterial expansion

JavaScript (ES6), 66 62 bytes a=>a.map(_=>a=a.map((c,i)=>c||Math.max(a[i-1]|0,a[i+1]|0)))&&a Explanation ...
user81655's user avatar
  • 11.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
  • 73.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

Draw constraint system #18762389

Python 3 with numpy, 90 87 86 84 bytes from numpy import* lambda n:2*((4<<(a:=(y:=c_[1-n:n])-y.T)//4)+a%4-2&a-2*y)-1<<a<y%2 Takes \$\left\lceil \...
m90's user avatar
  • 9,771
13 votes

Build a sandpile

MATL, 55 53 48 43 42 bytes Inspired by @flawr's answer. Graphical output: 0i:"Gto~+XytP*+t"t4=t1Y6Z+b+w~*]]tat3$)1YG Try it at MATL Online!. It takes ...
Luis Mendo's user avatar
  • 104k
12 votes

Binary triangle A141727

Python 2, 52 bytes Outputs an infinite sequence of rows. As a bonus, it runs extremely slowly. n=1 while 1:print'%o'%n;x=n;n*=64;exec'n^=x;x/=8;'*x Try it online! ...
dingledooper's user avatar
  • 22.3k
11 votes

Stable Game of Life

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

The Quantum Drunkard's Walk

Python 2, 192 bytes ...
hyper-neutrino's user avatar
  • 41.3k
10 votes

Digital Cellular Automata

CJam, 21 bytes l~_,\2/f-l:~fm>:.+Af% Test it here. Explanation ...
Martin Ender's user avatar
10 votes

Bacterial expansion

Pyth, 18 bytes um|@d1eSd.:++0G03Q Test suite Takes input as a list of integers. Essentially, this uses a apply until convergence loop, ...
isaacg's user avatar
  • 42k
10 votes

Electrons bouncing in a wire

Python 2, 148 142 87 bytes n=input() p=l=1 t=1 h=2 while t!=h: if p==l:t,l,p=h,0,p*2 h=h/2^h*2%2**n;l+=1 print l Uses Brent's cycle detection algorithm, and thus ...
orlp's user avatar
  • 39k
10 votes
Accepted

Build a digital clock in Wireworld

Binary counter clock (score = 134×33 = 4422 134×32 = 4288) As promised 2⅔ years ago. Actual building time from scratch was less than 3 days. I took inspiration from several sources, but in the end ...
Mark Jeronimus's user avatar
10 votes

Build a sandpile

Matlab, 160 156 148 bytes ...
flawr's user avatar
  • 43.7k

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