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

Decide on a heavy or lightweigh client app #7

Open
yifu opened this issue Sep 4, 2015 · 2 comments
Open

Decide on a heavy or lightweigh client app #7

yifu opened this issue Sep 4, 2015 · 2 comments

Comments

@yifu
Copy link
Owner

yifu commented Sep 4, 2015

Heavy
  • Pro: light network protocol
  • Con: Less network traffic: easier on battery life (iphone, ipad, macbook. etc)
Lightweigh
  • Pro: The lighter, the easier to fix bugs : only need to upgrade the server.
  • Con: Bigger network protocol? Report all the board each turn? Report all the next valid moves?
@yifu
Copy link
Owner Author

yifu commented Sep 5, 2015

In the end the delivered app wil be an heavyweigh app.

But we need a lightweigh app to send 'fake' or 'wrong' command to the server. Probably a separated app is suitable. We should be able to toggle when sendin move msg or not to the server in order to change piece positions. Maybe two view: one with the right game as seen by the server and the 'wrong' one.

@yifu
Copy link
Owner Author

yifu commented Sep 5, 2015

Peut etre un mix est meilleur: le client check les erreurs flagrantes: l'utilsateur selectione une piece adverse, ou alors repose une meme piece a sa place, etc. Avec un procotol plus lourd qui rappelle les positions de chaque piece a chaque etape. Il faudrait essayer une implementation de ce style et voir l'impact sur la taille des message sur le network.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant