Line-of-sight robot detection command #1207
Labels
L-Commands
Built-in commands (e.g. move, try, if, ...) in the Swarm language.
Z-Feature
A new feature to be added to the game.
So far there are many commands for locating entities, but few for locating robots.
A
scout
command would answer whether any (visible) robot exists along a direct line of sight in a cardinal direction.Introducing such a command with "limited power"---in this case, returning a Boolean rather than some richer type, and requiring that the user position themselves "inline" with the target robot---facilitates more interesting challenges.
Furthermore, a new property of entities,
Opaque
, should be introduced, which can block the line of sight for this command.The text was updated successfully, but these errors were encountered: