Overview
Syllabus
How to build a Tic Tac Toe game in React Native
- Download prerequisites for Tic Tac Toe game tutorial
- Initializing React Native Project
- Open Project with Visual Studio Code
- Run the development server with npm start
- Run the app on an iOs emulator
- Overview of your React Native project folders
- Adding assets and creating designs for “O” and “X”
- Create a map for the Tic Tac Toe game
- Define a data structure for a two-dimensional array
- How to handle onPress events in React Native
- Implement switching of the turns to play
- Set up the winning state
- Reset the game
- Set up “ a tie” state
- Indication of the players next turn
- Create a bot as a player
- Bot local, bot easy, bot medium
- Overview and ideas for implementation
Taught by
notJust․dev