yifu / chess

Chess is attempt to write a chess client and server for online playing in c++. SDL is use on the client side for graphics.
0 stars 0 forks source link

Decide on a heavy or lightweigh client app #7

Open yifu opened 9 years ago

yifu commented 9 years ago
Heavy
yifu commented 9 years ago

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 commented 9 years ago

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.