Skip to content

REVEALTILE

stanislawbartkowski edited this page Mar 13, 2019 · 5 revisions

Action

Reveals the tile.

Format

executeCommand(token,"REVEALTILE",row,col,"<orientation>")

Parameters

  • row,col : coordinates of the tile to be revealed
  • orientation: Up,Down,Left,Right

Usage example

executeCommand(token,"REVEALTILE",1,0,"Down")

Itemize

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'}]}
Clone this wiki locally