Skip to content

Instantly share code, notes, and snippets.

@MattRix
Created September 17, 2012 15:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattRix/3738172 to your computer and use it in GitHub Desktop.
Save MattRix/3738172 to your computer and use it in GitHub Desktop.
Really old Trainyard puzzle example
<grid rows="7" cols="7">
<pieces>
<destination pos="0,0" sides="r" colors="p"/>
<splitter pos="3,0" side="b"/>
<station pos="6,0" side="l" colors="o"/>
<factory pos="0,3" sides="tb" color="r"/>
<rock pos="1,3"/>
<rock pos="2,3"/>
<rock pos="3,3"/>
<rock pos="4,3"/>
<rock pos="5,3"/>
<factory pos="6,3" sides="tb" color="b"/>
<station pos="0,6" side="r" colors="o"/>
<splitter pos="3,6" side="t"/>
<destination pos="6,6" sides="l" colors="p"/>
</pieces>
</grid>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment