Skip to content

harshpandit2004/Digit-Deducer

Repository files navigation

Digit Deducer

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.

Project Overview

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.

Prerequisites

To run this project locally, you will need to have the following installed:

  • Node.js
  • npm (Node Package Manager)
  • React Native CLI

Getting Started

To get started with this project, follow these steps:

  1. Clone this repository: git clone https://github.com/your-username/digit-deducer.git
  2. Change into the project's directory: cd digit-deducer
  3. Install the dependencies: npm install
  4. Run the project: npx react-native run-android (for Android) or npx react-native run-ios (for iOS)
  5. The application should now be running on your device or emulator.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

React Native Notes

Features Added

  • Completed Start Screen. [App.js // UserInputWalaDabba.js]
  • Incomplete Game Screen.
  • Guesser Logic
  • Should guess higher / lower screen [KhelneWalaDabba.js]

Features to be Added

  • More Completed Screens! evil laughter
    • Just the game over screen remains [GameOverDabba]
  • Higher / Lower button UI

Known Bugs

  • The gahdang cursor in the textbox appears green. Can't figure out how to solve it.

About

A React-Native project that guesses your number

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published