International Journal of Computer Games Technology / 2009 / Article / Lst 1

Research Article

Experiences from Implementing a Mobile Multiplayer Real-Time Game for Wireless Networks with High Latency

Listing 1

Procedure for predicting movement
(1) Last received position update from player A:
(2) Receive position update for player A:
(3) Movement
(4) Movement
(5) If Movement
(6)  Movement Movement /Math.abs (Movement ) //Operate with 0’s or 1’s
(7) If Movement
(8)  Movement Movement /Math.abs (Movement )
(9) Each time the play area is redrawn
(10)     A’s position A’s position (A’s speed) [Movement , Movement ]

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.