The default return values are always easiest to implement and this one is no exception:
public String play(int x, int y) { checkAxis(x); checkAxis(y); setBox(x, y); lastPlayer = nextPlayer(); return "No winner"; }
The default return values are always easiest to implement and this one is no exception:
public String play(int x, int y) { checkAxis(x); checkAxis(y); setBox(x, y); lastPlayer = nextPlayer(); return "No winner"; }