the glider gun

One last item for you to add to your game.

For a long time it was thought that any layout would eventually die out completely or just oscillate with no change in the number of live cells.

The glider gun was the first pattern discovered that showed that this isn't necessarily always true.

function glider_gun() {
  var arr=[[1,26],[2,24],[2,26],[3,14],[3,15],[3,22],[3,23],[3,36],[3,37],[4,13],[4,17],[4,22],[4,23],[4,36],[4,37],[5,2],[5,3],[5,12],[5,18],[5,22],[5,23],[6,2],[6,3],[6,12],[6,16],[6,18],[6,19],[6,24],[6,26],[7,12],[7,18],[7,26],[8,13],[8,17],[9,14],[9,15]];
  set(arr);
}

That's all I have for you but check out the Internet for other patterns that you might like to add yourself.