Skip to content

Instantly share code, notes, and snippets.

@recursor94
Created May 7, 2013 01:42
Show Gist options
  • Save recursor94/5529697 to your computer and use it in GitHub Desktop.
Save recursor94/5529697 to your computer and use it in GitHub Desktop.
public void dropChecker(int column, int player) {
int y = 0;
while(y < grid[0].length-1 && grid[column][y] == 0) {
y++;
System.out.println(column + ", " + y);
}
grid[column][y] = player;
System.out.println("FINAL: " + grid[column][y]);
updateDisplay();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment