git clone https://github.com/toburger/tic-tac-toe--skeleton.git tic-tac-toe
cd tic-tac-toe
npm install
code . # open with the editor of your choice
npm start
cd tic-tac-toe
yarn
code . # open with the editor of your choice
yarn start
Examples of the different states used in ./src/App.js
Show the initial state:
Show the state after player 'X' made a move:
Show a more evolved board:
Show the state with a winner:
Show the state with a draw: