Bug or Feature?
Feature
Currently there is now easy way to access the local variables of another player (except for np.X, pp.X).
With more than 3 players this might be not enough.
With a new datatype (Player) one could store a reference to a player in a variable e.g.
Player x = cp
...
x = np
...
/* any player could run this */
x.Y = ...
Further thoughts
However we then could only use cp/np/pp as a value for such a player variable so it might also be useful to allow player indices (0 to players.length - 1) or to get a player from an index via a function e.g. player(0)? and make the player count accessible e.g. playerCount
Bug or Feature?
Feature
Currently there is now easy way to access the local variables of another player (except for np.X, pp.X).
With more than 3 players this might be not enough.
With a new datatype (Player) one could store a reference to a player in a variable e.g.
Further thoughts
However we then could only use cp/np/pp as a value for such a player variable so it might also be useful to allow player indices (0 to players.length - 1) or to get a player from an index via a function e.g. player(0)? and make the player count accessible e.g. playerCount