kolibrios-fun/programs/demos/life2/lif/THINGUN.lif

483 lines
3.4 KiB
Plaintext
Raw Normal View History

#Life 1.05
#D 4-bit binary counter
#D A p736 (= 46 * 2^4) gun based on 4 boat-bits which form a binary
#D counter. (A boat-bit is a memory device in which a bit of
#D information is represented as the presence or absence of a boat
#D adjacent to a snake (or eater or beacon or ...). Hitting the
#D boat-bit with a glider changes its state. The transition from
#D 1 to 0 can be detected by another glider.)
#D Dean Hickerson, dean@ucdmath.ucdavis.edu 2/9/90
#N
#P -55 -72
**
**
#P -45 -72
.**
**
.*****
..****
.
..****
.*****
**
.**
#P -22 -75
...***
.*...*
*....*
*...*
.
*...*
*....*
.*...*
...***
#P -8 -75
**
**
.
.
.
.
.
**
**
#P -29 -67
..*
*.*
.**
#P -17 -56
.*
..*
***
#P -6 -44
..*
*.*
.**
#P 10 -75
**
**
.
.
.
...**
.*...**
.*....*
.*...**
...**
#P 22 -77
.**
...*
**..*
.*..*
..*.*
..**
.
..**
..*.*
.*..*
**..*
...*
.**
#P 42 -74
...*
..**
.***.*
**
.**
..*
.
..*
.**
**
.***.*
..**
...*
#P 57 -72
**
**
#P 52 -67
...*
.**.*
**.***
.*..*
..**
#P 25 -62
*.*
**
.*
#P 13 -51
..*
**
.**
#P 2 -39
*.*
**
.*
#P -55 -37
**
**
#P -57 -33
...**
..***
***
***
***
..***
...**
#P -49 -33
**
***
..***
..***
..***
***
**
#P -40 -38
**...*
***.*.**
***....*
...*...*
....***
.
....***
...*...*
***....*
***.*.**
**...*
#P -30 -41
..**..*.*
.***.*...*
**......*
.*.*****
..***
.
..***
.*.*****
**......*
.***.*...*
..**..*.*
#P -8 -40
**
**
.
.
.
.
.
**
**
#P -21 -24
..*
*.*
.**
#P -9 -13
.*
..*
***
#P 2 -1
..*
*.*
.**
#P -4 -30
**
*
.*
**
#P 10 -40
**
**
#P 17 -41
..****
.**..*
**..*
.*..*
..**
.
..**
.*..*
**..*
.**..*
..****
#P 46 -38
.**
**.**
.*..*
.*..*
..**
.
..**
.*..*
.*..*
**.**
.**
#P 57 -37
**
**
#P 28 -31
..*
**
.**
#P 5 -8
..*
**
.**
#P -55 -4
.*..*
....*
*
**
......*
...**
#P -53 3
.**
*...*
*..*
*..*
.**
#P -45 -3
..***
*....*
*.....*
.....*
...**
.
...**
.....*
*.....*
*....*
..***
#P -23 -7
...*
..**
.***.*
**
.**
..*
.
..*
.**
**
.***.*
..**
...*
#P -8 -5
**
**
.
.
.
.
.
**
**
#P -24 7
.*
..*
***
#P -13 19
..*
*.*
.**
#P -1 30
.*
..*
***
#P 10 42
..*
*.*
.**
#P -4 5
**
*
.*
**
#P 10 -5
**
**
#P 24 -5
****
*.**
*
.**
.
.**
*
*.**
****
#P 32 -5
.***
..**
.*
.
.
.
*
****
**
.
..*
#P 40 -2
*..**
.**.*
...*
.***
.
.***
...*
.**.*
*..**
#P 57 -2
**
**
#P 20 12
..*
**
.**
#P -55 33
**
**
#P -47 32
..**
.*.*
**.*
.**
..*
.
..*
.**
**.*
.*.*
..**
#P -19 29
.**
**.**
.*..*
.*..*
..**
.
..**
.*..*
.*..*
**.**
.**
#P -8 30
**
**
.
.
.
.
.
**
**
#P -28 39
..*
*.*
.**
#P -16 50
.*
..*
***
#P -5 62
..*
*.*
.**
#P 7 73
.*
..*
***
#P -4 40
**
*
.*
**
#P 10 30
**
**
#P 11 35
..***
**.*.**
**.....*
**.*.**
..***
#P 23 30
...***
.*...*
*....*
*...*
.
*...*
*....*
.*...*
...***
#P 40 33
.**
**
.*****
..****
.
..****
.*****
**
.**
#P 57 33
**
**
#P 51 38
...**
**.*.*
**...**
**.*.*
...**
#P 24 44
*.*
**
.*
#P 12 55
..*
**
.**
#P 10 65
**
**
#P 15 64
..**..*.*
.***.*...*
**......*
.*.*****
..***
.
..***
.*.*****
**......*
.***.*...*
..**..*.*
#P 45 67
**...*
***.*.**
***....*
...*...*
....***
.
....***
...*...*
***....*
***.*.**
**...*
#P 57 68
**
**
#P 27 75
..*
**
.**
#P -4 71
.*
*.*
**
.
**
*
.*
**