Skip to content

Instantly share code, notes, and snippets.

@dtrailin
Created July 31, 2012 01:28
Show Gist options
  • Select an option

  • Save dtrailin/3212557 to your computer and use it in GitHub Desktop.

Select an option

Save dtrailin/3212557 to your computer and use it in GitHub Desktop.
Will this work
for (int x = 0; x < 6;x+=3 )
{
if (Grid[x+1] == Grid[x+2] && Grid [x+2] == 2 && Grid[x+3] == 0){
Grid[x+3] = 2;
break;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment