Traverser module
Currently only check if any circuit on the board is closed or not.
Currently only check if any circuit on the board is closed or not.
- Source:
Methods
start(board)
- Source:
Start the traversal
Example
let traverser = Traverser();
traverser.start(board);
Parameters:
Name | Type | Description |
---|---|---|
board |
Board |
Traverser({ debugopt) → {Traverser}
- Source:
Traverser
Example
let traverser = Traverser();
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
{ debug |
boolean |
<optional> |
false }={ debug : false }
|
Returns:
- Type
- Traverser