| searchMsg |
db |
Message Type Player Numer |
Sent by every player It triggers an rsvpMsg on receiving if player is not in a game |
| rsvpMsg |
db |
Message Type |
This Packet is sent when a searchMsg comes by. The Opponent Num is the number of the person who sent the packet |
| rejectMsg | db db db |
MassageType Player Num Opponent Num |
This packet is sent back to the person who sent an rsvpMsg rejecting his request |
| acceptMsg | db db db |
Message Type Player Num Opponent Num |
This packet is sent back to the person who sent an rsvpMsg accepting his request |
| serverMsg |
db |
Message Type |
This message is sent only by the player who is the SERVER to syncronize the sprite animation but processed by both. It updates the sprite position on both screens |
| updateMsg | db db |
MassageType Player Num |
This message is sent by the player who shot the sprite |
| goodbyeMsg |
db |
Message Type PlayerNum |
Sent when any one player decides to leave or game is complete |