/react-native_guess_number

A game that allows the user to pick a number from 0-99 and the phone will try to guess the number.

Primary LanguageJavaScript

Guess The Number Mobile App

License

License: MIT

Description

This app is a game that allows the user to select a number and the mobile devvide will try to guess the number. Each time the device makes an incorrect guess the user will indicate if the next guess should be higher or lower.

If the next guess should be higher and the user selects lower an alert will appear telling the user not to lie. The round number and device's guesses are displayed and when the device gets the correct number a new screen is displayed with the user's number and the number of rounds it took for the device to get the correct number.

There is also a 'Start New Game' button.

Table of Contents

Installation Instructions

!Guess_The_Number

  • Clone this repo by entering the folling command from the command prompt: https://github.com/judo2000/react-native_guess_number.git
  • Change into the new director: cd react-native_guess_number
  • From the command prompt, enter: npm i to install all necessary packages

(back to top)

Usage

!Guess_The_Number

This app is not deployed as it is a mobile app. To view it you will need to install the Expo Go app to your device or download the Android Studio app to your computer to view it on an Android simulator. From the terminal screen in your IDE, run npm start. From there you will see a QR Code that you can scan from your mobile device or if you are using the Android simulator you can just press a from the terminal after running npm start.

!Guess_The_Number

Once running you can click the 'Add New Goal' button and a modal will slide up. Enter your goal and click 'Add Goal'. The modal will slide out and the new goal will appear on the home screen. To delete a goal, simply tap it and it will be deleted.

(back to top)

Contributors

NA

(back to top)

Testing

NA

(back to top)

Questions

Stephen Moore

(back to top)