22 lines
402 B
Python
22 lines
402 B
Python
"""
|
|
B1357/S1357: Replicator
|
|
|
|
@author: jrpotter
|
|
@date: June 02, 2015
|
|
"""
|
|
if __name__ == '__main__':
|
|
|
|
import os, sys
|
|
sys.path.append(os.path.abspath('src'))
|
|
|
|
import cam
|
|
import cam_parser
|
|
|
|
c = cam.CAM(1, 100, 2)
|
|
p = cam_parser.CAMParser('B1357/S1357', c)
|
|
|
|
for i in range(49, 52):
|
|
c.master.grid[i][49:51] = 1
|
|
|
|
c.start(cam.CAM.Show.WINDOW, clock=50, rules=p.ruleset)
|