about to open connection
opened connection; sending player
reading dimensions from server
width = 5 height = 5
myId = 176 maxCap = 100 initMoney = 20
parseServerResponse: uninterpreted response = #176 X 1 Y 1
parsed server response: 176 X 1 Y 1  end server response
176 is a new robot -- not in  
*....
.....
.....
.....
@....
***176 X 0 Y 0 []***
packages at current position: 
pkg string = 
pkgs = 
pkgsToBeAddedTo = 
addPackages: setting packages to 
GOAL = (4, 0)
PATHFINDING
PATH (4, 0), (3, 0), (2, 0), (1, 0), (0, 0)
calling getResponse on 1 Move N
sending 1 Move N to the server 
reading response from server
done! response = #176 X 1 Y 1 N
server response = #176 X 1 Y 1 N
parseServerResponse: uninterpreted response = #176 X 1 Y 1 N
parsed server response: 176 X 1 Y 1 N end server response
[H[J
.....
*....
.....
.....
@....
***176 X 1 Y 0 []***
packages at current position: 
pkg string = 
pkgs = 
pkgsToBeAddedTo = 
addPackages: setting packages to 
GOAL = (4, 0)
PATHFINDING
PATH (4, 0), (3, 0), (2, 0), (1, 0)
calling getResponse on 1 Move N
sending 1 Move N to the server 
reading response from server
done! response = #176 N
server response = #176 N
parseServerResponse: uninterpreted response = #176 N
parsed server response: 176  Move N end server response
[H[J
.....
.....
*....
.....
@....
***176 X 2 Y 0 []***
packages at current position: 
pkg string = 
pkgs = 
pkgsToBeAddedTo = 
addPackages: setting packages to 
GOAL = (4, 0)
PATHFINDING
PATH (4, 0), (3, 0), (2, 0)
calling getResponse on 1 Move N
sending 1 Move N to the server 
reading response from server
done! response = #176 N
server response = #176 N
parseServerResponse: uninterpreted response = #176 N
parsed server response: 176  Move N end server response
[H[J
.....
.....
.....
*....
@....
***176 X 3 Y 0 []***
packages at current position: 
pkg string = 
pkgs = 
pkgsToBeAddedTo = 
addPackages: setting packages to 
GOAL = (4, 0)
PATHFINDING
PATH (4, 0), (3, 0)
calling getResponse on 1 Move N
sending 1 Move N to the server 
reading response from server
done! response = #176 N
server response = #176 N
parseServerResponse: uninterpreted response = #176 N
parsed server response: 176  Move N end server response
[H[J
.....
.....
.....
.....
*....
***176 X 4 Y 0 []***
packages at current position: 
pkg string = 0 5 1 100
pkgs = 0 X 0 Y 4 100
pkgsToBeAddedTo = 
addPackages: setting packages to 0 X 0 Y 4 100
calling getResponse on 1 Pick 0
sending 1 Pick 0 to the server 
reading response from server
done! response = #176 P 0
server response = #176 P 0
parseServerResponse: uninterpreted response = #176 P 0
parsed server response: 176  Pick 0 end server response
applyEventToGrid: oldPkgs = 0 X 0 Y 4 100
applyEventToGrid: picked pkgs = 0 X 0 Y 4 100 unpicked pkgs = 
applyEventToGrid: adding 0 X 0 Y 4 100 to 4 0
applyEventToGrid: setting packages to 0 X 0 Y 4 100
[H[J
.....
.....
.....
.....
*....
***176 X 4 Y 0 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (0, 3), (1, 3), (1, 2), (2, 2), (2, 1), (2, 0), (3, 0), (4, 0)
calling getResponse on 1 Move S
sending 1 Move S to the server 
reading response from server
done! response = #176 S
server response = #176 S
parseServerResponse: uninterpreted response = #176 S
parsed server response: 176  Move S end server response
[H[J
.....
.....
.....
*....
@....
***176 X 3 Y 0 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (1, 4), (1, 3), (2, 3), (2, 2), (3, 2), (3, 1), (3, 0)
calling getResponse on 1 Move E
sending 1 Move E to the server 
reading response from server
done! response = #176 E
server response = #176 E
parseServerResponse: uninterpreted response = #176 E
parsed server response: 176  Move E end server response
[H[J
.....
.....
.....
.*...
@....
***176 X 3 Y 1 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (0, 3), (1, 3), (1, 2), (1, 1), (2, 1), (3, 1)
calling getResponse on 1 Move S
sending 1 Move S to the server 
reading response from server
done! response = #176 S
server response = #176 S
parseServerResponse: uninterpreted response = #176 S
parsed server response: 176  Move S end server response
[H[J
.....
.....
.*...
.....
@....
***176 X 2 Y 1 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (1, 4), (1, 3), (2, 3), (2, 2), (2, 1)
calling getResponse on 1 Move E
sending 1 Move E to the server 
reading response from server
done! response = #176 E
server response = #176 E
parseServerResponse: uninterpreted response = #176 E
parsed server response: 176  Move E end server response
[H[J
.....
.....
..*..
.....
@....
***176 X 2 Y 2 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (0, 3), (0, 2), (1, 2), (2, 2)
calling getResponse on 1 Move S
sending 1 Move S to the server 
reading response from server
done! response = #176 S
server response = #176 S
parseServerResponse: uninterpreted response = #176 S
parsed server response: 176  Move S end server response
[H[J
.....
..*..
.....
.....
@....
***176 X 1 Y 2 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (1, 4), (1, 3), (1, 2)
calling getResponse on 1 Move E
sending 1 Move E to the server 
reading response from server
done! response = #176 E
server response = #176 E
parseServerResponse: uninterpreted response = #176 E
parsed server response: 176  Move E end server response
[H[J
.....
...*.
.....
.....
@....
***176 X 1 Y 3 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (0, 3), (1, 3)
calling getResponse on 1 Move S
sending 1 Move S to the server 
reading response from server
done! response = #176 S
server response = #176 S
parseServerResponse: uninterpreted response = #176 S
parsed server response: 176  Move S end server response
[H[J
...*.
.....
.....
.....
@....
***176 X 0 Y 3 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
GOAL = (0, 4)
PATHFINDING
PATH (0, 4), (0, 3)
calling getResponse on 1 Move E
sending 1 Move E to the server 
reading response from server
done! response = #176 E
server response = #176 E
parseServerResponse: uninterpreted response = #176 E
parsed server response: 176  Move E end server response
[H[J
....*
.....
.....
.....
@....
***176 X 0 Y 4 [0]***
packages at current position: 0 X 0 Y 4 100
pkg string = 
pkgs = 
pkgsToBeAddedTo = 0 X 0 Y 4 100
addPackages: setting packages to 0 X 0 Y 4 100
calling getResponse on 1 Drop 0
sending 1 Drop 0 to the server 
reading response from server
done! response = Robot 176 died.
server response = Robot 176 died.
parseServerResponse: uninterpreted response = Robot 176 died.
Money = 7
Te morituro saluto.

*** Reason: Game over
*** Score : 100
*** Money : 6

real	0m0.135s
user	0m0.020s
sys	0m0.030s
