Welcome to the CS 106B 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. Grid input file name? glider-edge.txt Should the simulation wrap around the grid (y/n)? y ---------------------- ---------------------X -------------------X-X --------------------XX ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- --------------------X- X--------------------X --------------------XX ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------X X--------------------- X-------------------XX ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- X-------------------X- X--------------------X ---------------------X ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- X--------------------- X-------------------X- X--------------------X ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------X XX-------------------- X--------------------X ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- X--------------------- -X-------------------- XX-------------------X ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- -X-------------------X XX-------------------- X--------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- -X-------------------- -X-------------------X XX-------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- X--------------------- -XX------------------- XX-------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- -X-------------------- --X------------------- XXX------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- X-X------------------- -XX------------------- -X-------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- --X------------------- X-X------------------- -XX------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- -X-------------------- --XX------------------ -XX------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- --X------------------- ---X------------------ -XXX------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -X-X------------------ --XX------------------ --X------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---X------------------ -X-X------------------ --XX------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --X------------------- ---XX----------------- --XX------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---X------------------ ----X----------------- --XXX----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- --X-X----------------- ---XX----------------- ---X------------------ ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----X----------------- --X-X----------------- ---XX----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---X------------------ ----XX---------------- ---XX----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ----X----------------- -----X---------------- ---XXX---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---X-X---------------- ----XX---------------- ----X----------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? t ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- -----X---------------- ---X-X---------------- ----XX---------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- a)nimate, t)ick, q)uit? q Have a nice Life!