Created
May 17, 2014 13:12
-
-
Save C-F-K/dd9e3e9a967b33461f60 to your computer and use it in GitHub Desktop.
AST assignment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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