I am considering building a turn-based card game using Couchbase Mobile.

The playing sequence is as follows:
Deal cards to Player 1 (face-down)
Player 1 Actions         (on table)
Deal cards to Player 2 
Player 2 Actions
Deal cards to Player 1
........................

A server will deal the cards and handle the actions through the sync 
gateway.

It seems to me I could have 
A) a channel per player and duplicate the game state to both, plus the 
cards to the next player to act
B) a channel per game and only push the latest revision with cards to the 
next player to act.

Is this an inappropriate use of revisions?

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/b54aa6a7-72bc-4db6-bdd4-c24e492db2e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to