FACN4 / week9-the-a-team

FAC's #1 Noughts and Crosses web app.
https://tic-fac-toe.netlify.com/
0 stars 1 forks source link

Base logic for board #5

Closed matthall8 closed 6 years ago

matthall8 commented 6 years ago

Create the base javascript logic for the board

tawfiknasser commented 6 years ago

built game class , the constructor build the board with border.

changeValue (x,y,who){ // who can be 1 or 2 this.board[x][y]=who; }

who

should be 1 for the first player & 2 for the second player 0 is no one , 9 for the border.

matthall8 commented 6 years ago

Base written in the current file.