08.09.2019 Views

Progettazione e Sviluppo di un Multiplayer Online Game su Reti Peer-to-Peer

Alma Mater Studiorum Universit`a degli Studi di Bologna Facolta` di Scienze Matematiche, Fisiche e Naturali Corso di Laurea in Scienze di Internet Tesi di Laurea in Laboratorio di Programmazione Internet

Alma Mater Studiorum Universit`a degli Studi di Bologna
Facolta` di Scienze Matematiche, Fisiche e Naturali
Corso di Laurea in Scienze di Internet
Tesi di Laurea in Laboratorio di Programmazione Internet

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5.2. OTTIMIZZAZIONE NET LAYER 111<br />

Figura 5.7: In T1 avviene la collsione tra il Bullet del Player A ed il Character<br />

del Player B; in T2, il Player A decrementa il valore <strong>di</strong> HP appartenente<br />

al Player B <strong>di</strong> 10 p<strong>un</strong>ti come da specfiche, mentre il Player B, cheatando,<br />

decrementa il valore del proprio HP <strong>di</strong> solo <strong>un</strong> p<strong>un</strong><strong>to</strong>. In T3 il Player A riceve<br />

la notifica <strong>di</strong> aggiornamen<strong>to</strong> e nota la <strong>di</strong>fferenza tra il valore previs<strong>to</strong> (90) e<br />

quello notifica<strong>to</strong> (99).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!