Pergunta

I want to make quiz game that allow multiplayer in realtime. The player can play alone (offline) or with other (online), so can you tell me how should I storage my database? on local assert or database server? Thanks!

Foi útil?

Solução

If you support play alone when unconnected server, you use client database.
if you want show same quiz on multiplayer, server send quiz number every player.
when client receive quiz number, you can use quiz number for display quiz in client database.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top