Game templating engine