Welcome to the "Guess My Number" repository! This is a mobile game app built with React Native. The game involves guessing a number chosen by the user within a specified range.
The app consists of three screens:
-
Number Selection Screen: On this screen, you can enter a number between 1 and 99. Once confirmed, the game will proceed to the next screen.
-
Game Screen: The computer will guess your number and prompt you to provide feedback if its guess is too high or too low. You must provide accurate feedback to help the computer guess correctly. Each guess will be listed on the same screen.
-
Game Over Screen: After the computer guesses the correct number, this screen will display the number of turns it took. You will also have the option to start a new game.
-
Clone the repository to your local machine:
git clone https://github.com/Hafilu/Number-Guessing.git -
Navigate to the project directory:
cd Number-Guessing -
Install the required dependencies:
npm install -
Run the app on a simulator or device:
npm startThis will launch the Metro Bundler and provide options for running the app on an iOS or Android simulator or device.
The app has the following dependencies:
- React Native: The core framework for building mobile applications.
- React Navigation is not used here for implementing navigation between screens, rather screens are changed based on some conditions
- Other dependencies are listed in the
package.jsonfile.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please create an issue or submit a pull request. Please adhere to the existing coding style and conventions.
Special thanks to Maximilian for helping me to create this amazing game app!
If you have any questions, suggestions, or feedback, please feel free to contact me at hafliue.c@gmail.com.
Thank you for visiting the "Guess My Number" repository. Enjoy playing the game!