old_contents: import os
  import sys
  from time import sleep
  
  import pygame
  
  from app.game import draw_game, event_handler, game_actions, SCREEN
  from app.life import Cell, Pattern
  
  
  os.environ['SDL_VIDEO_CENTERED'] = '1'
  pygame.init()
  
  clock = pygame.time.Clock()
  fps = 10
  
  life = []
  init_life = Pattern('pulsar', (20,20))
  coordinate_list = init_life.create_pattern()
  for coordinate in coordinate_list:
      life.append(Cell(coordinate))
  
  extra_life = Pattern('glider',(1,1))
  coordinate_list = extra_life.create_pattern()
  for coordinate in coordinate_list:
      life.append(Cell(coordinate))
  
  old_life = []
  
  while __name__ == '__main__':
      tickFPS = clock.tick(fps)
      pygame.display.set_caption("Press Esc to quit. FPS: %.2f" % (clock.get_fps()))
      SCREEN.fill((0,0,0))
      event_handler()
      draw_game(life)
      old_life = life
      life = game_actions(old_life)
      pygame.display.flip()
  
new_contents: import os
  import sys
  from time import sleep
  
  import pygame
  
  from app.game import draw_game, event_handler, game_actions, SCREEN
  from app.life import Cell, Pattern
  
  
  os.environ['SDL_VIDEO_CENTERED'] = '1'
  pygame.init()
  
  clock = pygame.time.Clock()
  fps = 30
  
  life = []
  init_life = Pattern('pulsar', (40,30))
  coordinate_list = init_life.create_pattern()
  for coordinate in coordinate_list:
      life.append(Cell(coordinate))
  
  extra_life = Pattern('glider',(1,11))
  coordinate_list = extra_life.create_pattern()
  for coordinate in coordinate_list:
      life.append(Cell(coordinate))
  
  third_life = Pattern('lwss',(10,25))
  coordinate_list = third_life.create_pattern()
  for coordinate in coordinate_list:
      life.append(Cell(coordinate))
  
  old_life = []
  
  while __name__ == '__main__':
      tickFPS = clock.tick(fps)
      pygame.display.set_caption("Press Esc to quit. FPS: %.2f" % (clock.get_fps()))
      SCREEN.fill((0,0,0))
      event_handler()
      draw_game(life)
      old_life = life
      life = game_actions(old_life)
      pygame.display.flip()
  
subject: change initial patterns on screen, speed up to 30 fps