shavingseagull / star-wars-dice Goto Github PK
View Code? Open in Web Editor NEWA dice app for the RPG tabletop games from the Star Wars franchise.
License: MIT License
A dice app for the RPG tabletop games from the Star Wars franchise.
License: MIT License
The main act will show all 7 dice used in the game, with the aim being the user selects the one they want to roll.
There are some dice, such as the green one, which have more than one in the game (there are three green dice in the game, for example). For these situations, when the user selects one of those dice to roll, they should be presented with a modal that asks them how many of the dice to roll, between 1 and the total number.
The dice will use an array of image names to represent the faces. A random number between 0 and the number of faces minus one will be chosen and that image name retrieved from the array. The app will then show that result.
The random effect should work just fine, but will need test sampling.
Will follow successful completion of the prototype, here: #3
Layout will feature all seven dice on screen, with a galaxy background and the Star Wars logo at the top.
This will need to pause the app while the sound effect plays, then show the results - thus simulating a real dice throw.
After the user selects a die to roll, the roll will be done and the result shown in a modal in the centre of the screen.
Multiple rolls are unaffected
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.