Skip to content

Instantly share code, notes, and snippets.

using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class DungeonGenerator : MonoBehaviour {
// Cleanup, organize.
int height = 40;
int width = 40;
bool[,] currentGrid;
@mgeist
mgeist / gameoflife
Created July 31, 2012 18:39
game of life c#
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class GoL : MonoBehaviour {
public bool[,] currentGrid = new bool[40, 40];
bool[,] bufferGrid = new bool[40, 40];
List<GameObject> liveCells = new List<GameObject>();
float startTime;