Game
Software prerequisites
Install the below tools/packages
Serial No | Software | Version | Installation site |
---|---|---|---|
1 | Node.js | >= 16.17.0 | Install NodeJS |
2 | yarn | >= 1.22.0 | Install Yarn |
3 | react-js | ^17.0.2 | Install reactjs |
5 | electron | ^21.2.1 | Install Expo |
System setup
- Clone the repo with
git clone [REPO_URL]
command - Switch to the project's root directory in terminal
- Install the dependencies by running
yarn
Setup
yarn dev
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser. The desktop executable development version will open
Note
I'm using a library complete uniform UI for ReactJS and React Native, is being developed but there are enough components to help with the app/web page. React Bulk
In the project directory, you can run:
yarn start
Runs the app in the development mode. Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
yarn build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.