2015-06-02 21:30:22 +00:00
|
|
|
"""
|
|
|
|
B1357/S1357: Replicator
|
|
|
|
|
|
|
|
@author: jrpotter
|
|
|
|
@date: June 02, 2015
|
|
|
|
"""
|
|
|
|
if __name__ == '__main__':
|
|
|
|
|
|
|
|
import os, sys
|
|
|
|
sys.path.append(os.path.abspath('src'))
|
|
|
|
|
|
|
|
import cam
|
2015-06-06 23:07:52 +00:00
|
|
|
import cam_parser
|
2015-06-02 21:30:22 +00:00
|
|
|
|
|
|
|
c = cam.CAM(1, 100, 2)
|
2015-06-06 23:07:52 +00:00
|
|
|
p = cam_parser.CAMParser('B1357/S1357', c)
|
2015-06-02 21:30:22 +00:00
|
|
|
|
2015-06-14 00:55:51 +00:00
|
|
|
for i in range(49, 52):
|
|
|
|
c.master.grid[i][49:51] = 1
|
|
|
|
|
2015-06-14 22:12:45 +00:00
|
|
|
c.start_console(50, p.ruleset)
|