React Native based Tic Tac Toe
2 players play Tic Tac Toe taking turns on the same device (no network-multiplayer, no AI).
- NodeJS (Version 12.14)
- Build the app for iOS or Android
- iOS requires an Mac with MacOS and XCode >= 8.2
- Android works on MacOS, Windows and Linux, but requires an Android development environment
-
Setup React Native by following the official Getting Started Guide
- Install NodeJS, watchman
- Install react-native-cli
- Install a development environment for iOS or Android
-
Clone your fork on your machine
-
Use your favorite terminal and navigate to the project folder, than install the dependencies:
$ npm install
- Use our favorite terminal and navigate to the project folder
- Build and start your app:
- iOS:
npm run ios
- Android:
npm run android
- iOS:
- Run all JS tests:
npm test
- React for UI rendering
- React Native for mobile components
- Jest as the test runner
- Enzyme as the UI test renderer