+
{status}
+ {/*
*/}
-
-
-
+ {this.renderSquare(0)}
+ {this.renderSquare(1)}
+ {this.renderSquare(2)}
-
-
-
+ {this.renderSquare(3)}
+ {this.renderSquare(4)}
+ {this.renderSquare(5)}
-
-
-
+ {this.renderSquare(6)}
+ {this.renderSquare(7)}
+ {this.renderSquare(8)}
);
@@ -29,3 +68,23 @@ class TicTacToe extends React.Component {
}
ReactDOM.render(