self.send("Another player pushed you out of the playing field.\nYou are dead.\nGood Bye.")
self.game.removePlayer(self)
else:
asserttravelDistance>=1
iftravelDistance==1:
self.send("Another player pushed you to the "+directions_t[(dy,dx)]+".")
eliftravelDistance==2:
self.send("Another player pushed you SO HARD to the "+directions_t[(dy,dx)]+", that you flew right THROUGH A WALL!\nThis must have been a very rare occurence of quantum tunneling!\nYou feel a bit dizzy.")
else:
self.send("Another player pushed you SO HARD to the "+directions_t[(dy,dx)]+", that you flew through a very thick, gamma-ray proof wall.\nYou are unsure about how you survived this, but quickly remember that you are in a completely virtual world with arbitrary phsyics. This makes you feel comfortable.")
playerToPush=None
forthinginpushTarget.things:
ifthing!=selfandisinstance(thing,Player):
playerToPush=thing# yes, this may have higher speeds than one *grin*
self.send("After coming out of the wall with incredible speed, you hit another player, who is in turn pushed away by your momentum. Poor bastard...")