Skip to content
/ d20 Public

🎲 Blueprint 2025 demo written using React Native and Expo.

License

Notifications You must be signed in to change notification settings

techx/d20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image


d20 is a React Native and Expo application made as a demo for the mobile development learnathon track at Blueprint 2025.

File Structure

  • assets/ - All icons and static images are stored in this folder
  • components/ - Stores reusable React components which are not screens
  • pages/ - Stores all of the screens for the application (in this case just one)
  • app.json - Stores metadata for mobile application
  • package.json - Tracks dependencies used in application

Installation

Node.js

React Native and Expo uses Node.js as the underlying JavaScript runtime. Install Node.js version 23.8.0 from the official site.

Running

To run the application, first install dependencies then start it:

npm install
npx expo start

Exercises

  • Easy: Don't play dice roll sound effect when there are no dice.
  • Easy: Show the expected value of a roll given some set of dice.
  • Easy: Show the formula of dice in standard notation (e.g. 2d6+1d20).
  • Easy: Add another screen which allows you to customize settings (e.g. turn sound on/off, change color of dice, etc.).
  • Hard: Animate rolling dice using 3D animation.

License

d20 is licensed under MIT. You may use and distribute this source code as long as it follows the guidelines set by the license.

About

🎲 Blueprint 2025 demo written using React Native and Expo.

Resources

License

Stars

Watchers

Forks