Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save C-F-K/dd9e3e9a967b33461f60 to your computer and use it in GitHub Desktop.
Save C-F-K/dd9e3e9a967b33461f60 to your computer and use it in GitHub Desktop.
AST assignment
How exactly does the Firebase JS client interact with Polymer?
Specifically, what can and can't I do in terms of defining new Firebase references and getting/setting values from within nested elements?
model of component:
+-------
|discount-room
|+------
||discount-input
|| takes user-input characters and sends to firebase
|+------
|+------
||discount-display
|| reads user character and position thereof from firebase
|| reads other characters and position thereof from firebase
|| renders "room" in nethack-style ASCII graphics
|| user character rendered as itself
|| other characters rendered as random
|| listens for arrow keystrokes from any user and updates their character position accordingly
|+------
+-------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment