Skip to content

Instantly share code, notes, and snippets.

@nperez
Created August 17, 2019 11:49
Show Gist options
  • Save nperez/7c6128efb863bbfbb4440188bbd60fae to your computer and use it in GitHub Desktop.
Save nperez/7c6128efb863bbfbb4440188bbd60fae to your computer and use it in GitHub Desktop.
for(int x = 0; x < 3; x++) {
if(this.getElement(x, 0) == this.getElement(x, 1) && this.getElement(x, 0) == this.getElement(x, 2)) {
return true;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment