AleksLitynski / teller

A game engine dedicated to making generative content easier to make.
1 stars 0 forks source link

Live update graph from running copy of database #17

Open kyung01 opened 10 years ago

kyung01 commented 10 years ago

Connect to a real database to populate the graph.

When the database updates, update the graph.

kyung01 commented 10 years ago

TODO @tavoe 0) database needs to fire event "I am updated" 1) server keeps random number as it's "current version" and if it received "I am updated" from database, set new "current version" 2) client keeps asking "hey, the last time your current version was this, do you still have the same version? or different version" 2) client receives different "current version" from server, then it updates its graph

This is the best model I can think of. I lack practice in this field. Feedback needed.