Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC: Rewind feature for Games using OrbitDB #16

Open
vasa-develop opened this issue Oct 11, 2019 · 2 comments
Open

RFC: Rewind feature for Games using OrbitDB #16

vasa-develop opened this issue Oct 11, 2019 · 2 comments
Labels
Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com new-rfc To identify incoming RFCs (for review purposes)

Comments

@vasa-develop
Copy link
Member

What new topic/thread/tutorial are you proposing? Please describe.
Proposed By @aphelionz: I was playing around using OrbitDB for games in my spare time using an entity component system architecture and one thing that orbit could probably do really well is a "rewind" feature like in Braid.

@vasa-develop vasa-develop added new-rfc To identify incoming RFCs (for review purposes) Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com labels Oct 11, 2019
@haadcode
Copy link

haadcode commented Jan 3, 2020

Hey @vasa-develop and @aphelionz would love to understand the use case better. OrbitDB, via ipfs-log, supports "rewind" and in fact imo is one of the best features of immutable logs, albeit underutilized and not necessarily intuitively exposed to the user in OrbitDB. Would love to understand what you'd need for "rewind", we can probably make it happen 😄 ✌️

Huge fan of EC systems personally and rooting to see OrbitDB used in one 👍 Happy to help if anyone's working on it.

@aphelionz
Copy link

Yeah! I had envisioned this basically by using either the log or the docstore abstraction on top of it, with some performance improvements.

You could do it with the log by simply saving the game state as a payload for each entry, OR

You could do it with the docstore with each game entity getting its own document and then performing the rewind on top of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hacktoberfest Hack to Win a T-Shirt from https://hacktoberfest.digitalocean.com new-rfc To identify incoming RFCs (for review purposes)
Projects
None yet
Development

No branches or pull requests

3 participants