read myPlayerId:int
gameloop
read roundNum:int
read mapSize:int
loop mapSize read mapRow:word(50)
read numOfPlayers:int
loop numOfPlayers read playerId:int score:int nextWormId:int
read numOfWorms:int
loop numOfWorms read wormId:int ownerId:int health:int wormX:int wormY:int digRange:int moveRange:int weaponDamage:int weaponRange:int
read numOfPotions:int
loop numOfPotions read potionId:int potionType:word(10) potionStrength:int potionX:int potionY:int
write nothing

INPUT
myPlayerId: Id of my player
roundNum: Number of the current round
mapSize: Size of the map .=AIR X=SPACE #=DIRT
mapRow: describes the row of the map
numOfPlayers: Number of players
playerId: Id of player
score: Game score of the player
nextWormId: The Id of the next worm to move
numOfWorms: Number of alive worms
wormId: worm id
ownerId: id of the player the worm belongs to
health: health points the worm has left
wormX: the x position of the worm
wormY: the y position of the worm
digRange: the range the worm can dig (always 1)
moveRange: the range the worm can move (always 1)
weaponDamage: health points a worm loses when it gets shot (always 8)
weaponRange: range a weapon can shoot (always 4)
numOfPotions: number of potions on the map
potionId: id of the potion
potionType: the potion type (always Health)
potionStrength: the strength of the potion (healing for Health type)