Menu

Random number game – React Native

0 Comment


Sharpen your addition skills using this random number game. It will generate a random number and you select numbers that add up to that number.


You have 10 seconds to do so!


You can change the `randomNumberCount` and `initialSeconds` in `App.js`.

What you learn in this project

  • Styling components
    • Backgrounds
    • Rounded buttons
    • Flexboxes
  • Hiding status bar
  • Conditional logic
  • Simple arithmetic

Suggested improvements

  • Settings page to set variables
  • Automatically increase difficulty level
  • Save results in local storage
  • Display results as numbers are added
  • Add other arithmetic such as multiply, divide and subtract

If you make any fancy improvements, please share below and I will integrate them to this demo.

Tags: , ,