Skip to content

The Script Dialog

Mark McKnight edited this page Mar 30, 2017 · 4 revisions

The script dialog allows the user to execute code and interact with the graph and players.

The scripting language is a graph traversal DSL based on Gremlin which is built on top of the Groovy programming language.

For example, type the following into the Script dialog and click the Run button:

g.addVertices(32)
g.ringLattice(3)

This code adds 32 nodes to the graph and arranges them in a ring lattice structure.

The Script Dialog

In the graph visualization, each node represents a player in the game and the ties show who will be playing with who.

Video:

breadboard Intro Video

Clone this wiki locally