File: gun46.py

package info (click to toggle)
golly 3.2-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 19,516 kB
  • sloc: cpp: 69,819; ansic: 25,894; python: 7,921; sh: 4,267; objc: 3,721; java: 2,781; xml: 1,362; makefile: 530; perl: 69
file content (9 lines) | stat: -rw-r--r-- 304 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
from glife.base import *

rule()   # use Life rule to evolve phases

__half = bheptomino (0, 2, flip_x) + bheptomino (0, -2, flip) + block (16, -4) + block (16, 3)

gun46_double = __half (7, -2) + __half (-8, 2, flip_x)

gun46 = __half[1] (1, -7) + __half (-13, -4, flip_x) # aligned version shooting SE