summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
10bc834)
So that the data in the board array is always of a consistent type.
constructor(id) {
super(id);
this.moves = [];
constructor(id) {
super(id);
this.moves = [];
- this.board = Array(9).fill(null);
+ this.board = Array(9).fill("");
}
/* Returns Boolean indicating whether move was legal and added. */
}
/* Returns Boolean indicating whether move was legal and added. */