-
Notifications
You must be signed in to change notification settings - Fork 0
New Player type #2
Copy link
Copy link
Open
Labels
discussthis/some ideas should be discussed furtherthis/some ideas should be discussed furtherfeature-request
Description
Metadata
Metadata
Assignees
Labels
discussthis/some ideas should be discussed furtherthis/some ideas should be discussed furtherfeature-request
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