Skip to content

Krasilka/guess-my-number-game-app

Repository files navigation

React Native Guess My Number Game App

StartGameScreen GameScreen GameScreenWithLogging GameOverScreen
guessMyNumber.mp4

Steps to run the project:

Prerequisites:

Ensure that you have Node.js and npm installed on your machine. You can download and install them from the official website: Node.js.

Steps:

  1. Clone the GitHub Repository:
  • Open your terminal and navigate to the directory where you want to clone the repository.

  • Run the following command to clone the repository:

    git clone <repository-url>
    
  1. Navigate to Project Directory:
  • Change into the project directory using the cd command:

    cd <project-directory>
    
  1. Install Expo-CLI Locally:
  • Install Expo CLI locally as a development dependency:
npm install --save-dev expo-cli
  1. Install Dependencies:
  • Run the following command to install the project dependencies:

    npm install
    
  1. Start the Expo Development Server:
  • Once the installation is complete, start the Expo development server:

    npm start
    
  1. Run on Emulator or Physical Device: To run the app on an emulator or physical device, you have a few options:
  • Press a to run the app on an Android emulator.
  • Press i to run the app on the iOS simulator (macOS only).
  • Scan the QR code with the Expo Go app on your physical device.
  • Once the build is complete, you should be able to see your app running on the emulator or physical device.