nickpunt / storysynth Goto Github PK
View Code? Open in Web Editor NEWStorysynth Game Assets
Storysynth Game Assets
3R
for 3rd deck that should be randomized)politics
for card that establishes politics) - this could also be variablespolitics
)Present DOM includes a few unnecessary divs (⭐️):
body
#app
div ⭐️
.navbar
.non-footer-content
.roomLink-section
div ⭐️
.game-room
.full-page-background
div
style
div 📝
.before-game-card
.game-meta // heading
.card.main-card
.deck-number ⭐️
.card-body
div ⭐️
p
// contents of game card
.after-game-card
footer
Changes that could be made without breaking anything:
#app
.non-footer-content
that holds .game-room
.deck-number
up to .game-room
and get rid of its div.card-body
.game-room
that contains card items, suggest .card-holder
p
tag in .card-body
also wouldn't exist for content that was custom html.After:
body
#app
.navbar
.non-footer-content
.roomLink-section
.game-room
.full-page-background
div
style
.card-holder 📝
.before-game-card
.game-meta // heading
.card.main-card
.card-body
p
// contents of game card
.after-game-card
footer
This is for builders of cards to know what to expect
Can support better theming with variables and a few other changes.
--bg-roomlink
, --bg-card
, --text-primary
, --text-secondary
and probably a bunch morefill
css to target color, so need to refactor buttonsThis is to change StorySynth existing buttons to the new button style
The navbar has wonky padding and bootstrap stuff that is brittle and needs fixing. Should get css grid'd or something.
Need to refactor and combine game-link
, player count, and before-game-content
together into one unified system. This would then allow redesign to accommodate the info box on mobile.
.game-room
header for future player turn (top left) and info button (top right)Powered by Storysynth
here instead, removing footer^
to .after-game-card
left corner, which when pressed opens scrollable extensions widgets (possibly below card, or in modal)<
& >
buttons to .after-game-card
.before-game-card
vm.$children[0].$refs.shuffled.nextCard()
card-body
class added twicetype
or template, which adds the class to the card .card-%type%
. This would allow specifying custom colors and layouts for a given template once, rather than per card. (See #11)name
, which adds the class to the card .card-%name%
.#app.style-template-undefined
.navbar
.non-footer-content
.roomLink-section
.game-room.container.shuffled
.full-page-background
div
.game-meta
.mb-4 (standard bootstrap class)
.card.main-card.shadow etc
.card-body
div
h1
p
.btn-container
footer
ideal layout
.navbar
.non-footer-content
.roomLink-section
.game-room
.full-page-background
.before-game-card
.game-meta
.card-navigation-buttons
.game-card
.after-game-card
.extension-lower (extensions. But should they be here in an absolute positioned element?)
footer
Add the ability to specify a template within the Google sheet.
Why
default
templateConsider future possible states and potential affordances: individual, decide together
Prerequisite: #5
This moves the extensions to a tray below the main buttons.
.game-meta-buttons
to open tray. Use class .control-button-tray
.tray-open
to .game-room
. This does several things
position:fixed
control-button-tray
background image to other direction for affordanceafter-game-card
using new div with .extensions
class.after-game-card
.extensions // all extensions
.extension // individual extension
.row // each option in a separate row including header
Consider whether extension tray should default open on desktop at certain heights
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.