Welcome to the Number Guessing Game app! This app allows you to play a fun number guessing game where you have to guess a secret number chosen by the computer. You'll be provided with hints to guide you to the correct answer. Let's get started!
- StartGameScreen: Begin the game by entering a number between 1 and 100.
- GameScreen: The computer will guess a number and you'll provide hints (higher or lower) to guide it.
- GameOverScreen: View the final result of the game and play again if you'd like.
- Card: Provides a styled card container for displaying content.
- InstructionText: Displays instruction text to guide the user.
- PrimaryButton: Represents a primary action button with customizable text.
- Title: Renders a title or heading for different sections of the app.
- GuessLogItem: Displays a log of guesses made by the computer during the game.
- NumberContainer: Shows the current number being guessed by the computer.
- Make sure you have Node.js and Expo CLI installed.
- Clone this repository:
git clone <repository_url>
- Install dependencies:
npm install
- Run the app:
npm start
- React Native
- Expo
- TypeScript
- Expo Fonts (for custom fonts)
- Expo Splash Screen (for a seamless launch experience)
- Expo Status Bar (for managing the status bar)
- Custom Fonts: The app uses
expo-fonts
to load and display custom fonts for a better user experience. - Splash Screen: The launch experience is enhanced using
expo-splash-screen
, ensuring a smooth transition. - Status Bar: The status bar appearance is managed using
expo-status-bar
, adapting to different screens and themes.
- Launch the app and start a new game.
- Enter a number between 1 and 100 in the StartGameScreen.
- The computer will make guesses, and you'll provide feedback whether the correct number is higher or lower.
- Keep providing feedback until the computer guesses the correct number.
- View the result on the GameOverScreen and choose to play again if desired.
This app was created as a fun project to practice React Native development.