This repository contains the code for my second React Native project, called "Digit Deducer". It is a simple application that asks the user for a number. The program then generates a random number and displays it to the user. The user responds by indicating whether the computer should guess a higher number, a lower number, or if it matches their original input.
This repository contains the code for my second React Native project, "Digit Deducer", developed while following Maximilian Schwarzmüller's Udemy course "React Native - The Practical Guide 2023". The project is a simple application that asks the user for a number. It then generates a random number and displays it to the user. The user can respond by indicating whether the computer should guess a higher number, a lower number, or if it matches their original input.
The purpose of this project is to practice working with user input, random number generation, and conditional logic in React Native. By following along with the course, I gained hands-on experience in building a functional and interactive guessing game.
Please note that the project structure and code implementation may vary slightly based on personal modifications and the progression of the course lessons.
To run this project locally, you will need to have the following installed:
- Node.js
- npm (Node Package Manager)
- React Native CLI
To get started with this project, follow these steps:
- Clone this repository:
git clone https://github.com/your-username/digit-deducer.git
- Change into the project's directory:
cd digit-deducer
- Install the dependencies:
npm install
- Run the project:
npx react-native run-android
(for Android) ornpx react-native run-ios
(for iOS) - The application should now be running on your device or emulator.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
- Completed Start Screen. [App.js // UserInputWalaDabba.js]
- Incomplete Game Screen.
- Guesser Logic
- Should guess higher / lower screen [KhelneWalaDabba.js]
- More Completed Screens! evil laughter
-
- Just the game over screen remains [GameOverDabba]
- Higher / Lower button UI
- The gahdang cursor in the textbox appears green. Can't figure out how to solve it.