Welcome to the CS 106X Game of Life, a simulation of the lifecycle of a bacteria colony. Cells (X) live and die by the following rules: - A cell with 1 or fewer neighbors dies. - Locations with 2 neighbors remain stable. - Locations with 3 neighbors will create life. - A cell with 4 or more neighbors dies. - A cell that has lived for more than 10 generations dies. Read from (f)ile, (u)rl or (r)andom? f Grid input file name? seeds.txt Should the simulation wrap around the grid (y/n)? n ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ -------------x---------------- -------------x---------------- -------------x---------------- ---------xxx---xxx------------ -------------x---------------- -------------x---------------- -------------x---------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? t ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------xxx--------------- ----------x-x-x-x------------- ----------x-x-x-x------------- ----------x-x-x-x------------- ------------xxx--------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? t ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ -------------x---------------- -----------xx-xx-------------- ------------x-x--------------- ---------xx-x-x-xx------------ ------------x-x--------------- -----------xx-xx-------------- -------------x---------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? t ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------xxx--------------- -----------xx-xx-------------- ----------x-x-x-x------------- ------------x-x--------------- ----------x-x-x-x------------- -----------xx-xx-------------- ------------xxx--------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? t ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ -------------x---------------- -----------xx-xx-------------- ------------------------------ ------------x-x--------------- ------------x-x--------------- ------------x-x--------------- ------------------------------ -----------xx-xx-------------- -------------x---------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? t ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------xxx--------------- ------------xxx--------------- -----------xx-xx-------------- ------------------------------ -----------xX-Xx-------------- ------------------------------ -----------xx-xx-------------- ------------xxx--------------- ------------xxx--------------- ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ ------------------------------ a)nimate, t)ick, s)creenshot, q)uit? q Simulate another colony? y Read from (f)ile, (u)rl or (r)andom? u Grid input URL? http://cs106x.stanford.edu/resources/life/files/glider.txt Should the simulation wrap around the grid (y/n)? y ---------------------- ---x------------------ -x-x------------------ --xx------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, s)creenshot, q)uit? a How many frames? 75 ==================== (console cleared) ==================== ---------------------- --x------------------- ---xx----------------- --xx------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---x------------------ ----x----------------- --xxx----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- --x-x----------------- ---xx----------------- ---x------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ----x----------------- --x-x----------------- ---xx----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---x------------------ ----xx---------------- ---xx----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ----x----------------- -----x---------------- ---xxx---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---x-x---------------- ----xx---------------- ----x----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- -----x---------------- ---x-x---------------- ----xx---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ----x----------------- -----xx--------------- ----xx---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- -----x---------------- ------x--------------- ----xxx--------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ----x-x--------------- -----xx--------------- -----x---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ------x--------------- ----x-x--------------- -----xx--------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- -----x---------------- ------xx-------------- -----xx--------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ------x--------------- -------x-------------- -----xxx-------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----x-x-------------- ------xx-------------- ------x--------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------x-------------- -----x-x-------------- ------xx-------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------x--------------- -------xx------------- ------xx-------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------x-------------- --------x------------- ------xxx------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------x-x------------- -------xx------------- -------x-------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------x------------- ------x-x------------- -------xx------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------x-------------- --------xx------------ -------xx------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------x------------- ---------x------------ -------xxx------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------x-x------------ --------xx------------ --------x------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------x------------ -------x-x------------ --------xx------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------x------------- ---------xx----------- --------xx------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------x------------ ----------x----------- --------xxx----------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------x-x----------- ---------xx----------- ---------x------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------x----------- --------x-x----------- ---------xx----------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------x------------ ----------xx---------- ---------xx----------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------x----------- -----------x---------- ---------xxx---------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------x-x---------- ----------xx---------- ----------x----------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------x---------- ---------x-x---------- ----------xx---------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------x----------- -----------xx--------- ----------xx---------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------x---------- ------------x--------- ----------xxx--------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------x-x--------- -----------xx--------- -----------x---------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------x--------- ----------x-x--------- -----------xx--------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------x---------- ------------xx-------- -----------xx--------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------x--------- -------------x-------- -----------xxx-------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------x-x-------- ------------xx-------- ------------x--------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------x-------- -----------x-x-------- ------------xx-------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------x--------- -------------xx------- ------------xx-------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------x-------- --------------x------- ------------xxx------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------x-x------- -------------xx------- -------------x-------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------------x------- ------------x-x------- -------------xx------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------x-------- --------------xx------ -------------xx------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------------x------- ---------------x------ -------------xxx------ ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------x-x------ --------------xx------ --------------x------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------x------ -------------x-x------ --------------xx------ ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------------x------- ---------------xx----- --------------xx------ ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------x------ ----------------x----- --------------xxx----- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --------------x-x----- ---------------xx----- ---------------x------ ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------------x----- --------------x-x----- ---------------xx----- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------x------ ----------------xx---- ---------------xx----- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------------x----- -----------------x---- ---------------xxx---- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------x-x---- ----------------xx---- ----------------x----- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------------x---- ---------------x-x---- ----------------xx---- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------------x----- -----------------xx--- ----------------xx---- ==================== (console cleared) ==================== ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------------x---- ------------------x--- ----------------xxx--- ==================== (console cleared) ==================== -----------------x---- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----------------x-x--- -----------------xx--- ==================== (console cleared) ==================== -----------------xx--- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------x--- ----------------x-x--- ==================== (console cleared) ==================== -----------------xx--- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------------x---- ------------------xx-- ==================== (console cleared) ==================== -----------------xxx-- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------x--- -------------------x-- ==================== (console cleared) ==================== ------------------xx-- ------------------x--- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----------------x-x-- ==================== (console cleared) ==================== -----------------x-x-- ------------------xx-- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------------x-- ==================== (console cleared) ==================== -------------------xx- ------------------xx-- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------x--- ==================== (console cleared) ==================== --------------------x- ------------------xxx- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -------------------x-- ==================== (console cleared) ==================== ------------------x-x- -------------------xx- -------------------x-- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== --------------------x- ------------------x-x- -------------------xx- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== -------------------x-- --------------------xx -------------------xx- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== --------------------x- ---------------------x -------------------xxx ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- -------------------x-x --------------------xx --------------------x- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------x -------------------x-x --------------------xx ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- --------------------x- x--------------------x --------------------xx ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------x x--------------------- x-------------------xx ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ==================== (console cleared) ==================== ---------------------- ---------------------- x-------------------x- x--------------------x ---------------------x ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, s)creenshot, q)uit? q Simulate another colony? y Read from (f)ile, (u)rl or (r)andom? r How many rows? 7 How many columns? 9 Should the simulation wrap around the grid (y/n)? n --x-----x --x----xx xxx-x-xx- -x------x -xx-xx--x x-x-x--x- -xxxx--x- a)nimate, t)ick, s)creenshot, q)uit? t -------xx --x---x-x x-xx--x-- ----x-x-x x-x-xx-xx x-----xxx -xx-x---- a)nimate, t)ick, s)creenshot, q)uit? t -------xx -xxx--x-x -xxx--x-- --x-x-x-x -x-xx---- x-x-x-x-x -x-----x- a)nimate, t)ick, s)creenshot, q)uit? t --x----xx -x-x--x-x ----x-x-- ----x--x- -x--x---- x-x-xx-x- -x-----x- a)nimate, t)ick, s)creenshot, q)uit? t --x----xX --xx-xx-X ---xx-X-- ---xx---- -x--X-x-- X-xxxxx-- -X----x-- a)nimate, t)ick, s)creenshot, q)uit? t --xx--xXX --x--xX-X ------Xx- --x------ -x----x-- X-xxx-xx- -Xxxx-x-- a)nimate, t)ick, s)creenshot, q)uit? t --xx-xx-X --xx-x--X -----xXx- ------xx- -X---xxx- X---X-xx- -X--x-xx- a)nimate, t)ick, s)creenshot, q)uit? q Simulate another colony? n Have a nice Life!