Skip to content

Instantly share code, notes, and snippets.

@keshavsaharia
Created November 1, 2014 22:10
Show Gist options
  • Save keshavsaharia/2a8adf6571626d6b3d9b to your computer and use it in GitHub Desktop.
Save keshavsaharia/2a8adf6571626d6b3d9b to your computer and use it in GitHub Desktop.
TicTacToe move class
public class Move {
private int x;
private int y;
public Move(int x, int y) {
this.x = x;
this.y = y;
}
public int getX() {
return x;
}
public int getY() {
return y;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment