One source code to build for 6 platforms:
- Web - with React Native for Web
- IOS - default RN
- Android - default RN
- Windows - with electron-builder
- MAC OS - with electron-builder
- Linux - with electron-builder
yarn ios
- to run in simulatoryarn build:ios
- to generate build
yarn android
- to run in simulatoryarn build:android
- to generate build
yarn add -D @expo/electron-adapter
- add electron adapter to Expo projectyarn expo-electron
- to add expo-electronyarn expo-electron start
- to start electron projectyarn add -D electron-builder
- to build project
expo web
- to run on webexpo build:web
- to create build foldernpx serve web-build
- to serve build folder
Checkout Web version deployed to AWS Amplify https://dev3591.d3om7c2gqrwvu8.amplifyapp.com/
This project is a test and demo, sorry for the bad graphics, there might be bugs while playing the game.