-
Couldn't load subscription status.
- Fork 0
REVEALTILE
stanislawbartkowski edited this page Mar 13, 2019
·
5 revisions
Reveals the tile.
executeCommand(token,"REVEALTILE",row,col,"<orientation>")
- row,col : coordinates of the tile to be revealed
- orientation: Up,Down,Left,Right
executeCommand(token,"REVEALTILE",1,0,"Down")
List of tiles can be of length 1 or 2. Two tiles to reveal if the figure is standing at the corner.
{ p : {row : <number>,col : <number>, tiles : [{ p : { row : <number>,col : <number>,orientation : <orientation>} ....])
Example:
{'p': {'row': 3, 'col': 1}, 'tiles': [{'p': {'row': 1, 'col': 0}, 'orientation': 'Down'}]}