Skip to content

Instantly share code, notes, and snippets.

@MartinZikmund
Created December 13, 2020 07:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MartinZikmund/bbcd64d9b8a5ac5a7495264de7132fce to your computer and use it in GitHub Desktop.
Save MartinZikmund/bbcd64d9b8a5ac5a7495264de7132fce to your computer and use it in GitHub Desktop.
public class GameState
{
public GameState(int size)
{
Cells = new CellState[size, size];
Size = size;
}
public int Size { get; }
public CellState[,] Cells { get; set; }
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment