aegis41 / dragon-egg-game Goto Github PK
View Code? Open in Web Editor NEWA dragon egg game
A dragon egg game
Just Earth left.
In the incubation data block the Magic element it labeled “Water”
nested if statements are of the devil.
make an array of outcomes and their parameters and iterate over them to see which one passes.
The final eggs for Air and Earth need to be switched.
If the elemental choices don't match any of the outcomes in the outcomes list, it results in an empty array with an undefined breaking the game.
Add an inert egg case
Add an inert egg image. Maybe with a crack in it or something.
I need to use a CDN or storage or something to serve the images associated with the completed tracks. As of right now, there are two images in the assets folder. One is the main egg, one is an alternative egg. I'll add a couple other eggs. I need at least one of them to switch out as a result of the end of the game
I mean, what I just said. Decouple? Keep methods close to where they belong, but bubble them up where it makes sense. The whole thing, well, I just got sloppy.
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.