Created with love by: Philip Nguyen
View online at: https://github.com/Nguyephi/tic-tac-toe-app
A tic tac toe game that helps to understnad the fundamentals of react. More specifically, better understanding of states and props
The following required functionalities are completed (this is a sample):
- Set up our Workspace & Draw Our Board
- Pass the components data through props
- Let's Fire Up some Action
- Storing Value with State
- Implement X/O turn
- Figure Out the Winner
The following optional features are implemented:
- Implement Time Travel Feature
The following additional features are implemented:
- Style the page
Time spent: 7 hours spent in total.
Following the document I was able to understand using states and props. Destructuring is an impoprtant concept that helped to understand what is the parent and child component. Introduced to the jumpTp method.
Copyright [2019] [Philip Nguyen]
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
You can learn more in the Create React App documentation.