Skip to main content
formatting fix
Source Link
Sparr
  • 6.1k
  • 25
  • 36
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • '12-12 12-1 3-12 3-1 1-2 3-3`12-12 12-1 3-12 3-1 1-2 3-3 is valid, uses larger dominoes, and has an ambiguous placement
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • '12-12 12-1 3-12 3-1 1-2 3-3` is valid, uses larger dominoes, and has an ambiguous placement
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • 12-12 12-1 3-12 3-1 1-2 3-3 is valid, uses larger dominoes, and has an ambiguous placement
12-12 test case
Source Link
Sparr
  • 6.1k
  • 25
  • 36
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • '12-12 12-1 3-12 3-1 1-2 3-3` is valid, uses larger dominoes, and has an ambiguous placement
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • 0-6 is valid, as is any other single domino
  • 0-6 6-0 is not valid, there is only one 0-6 domino in a set
  • 6-6 6-5 5-3 3-0 is valid, a simple linear arrangement
  • 6-6 6-5 3-0 5-3 is not valid, there is no 3 or 0 in play for the third domino to connect to prior to the 5-3 being played
  • 1-1 1-2 1-3 1-4 1-5 1-6 is not valid, all four open 1 ends are used up leaving nowhere to connect the 1-6
  • 1-1 1-2 1-3 1-4 1-5 3-6 1-6 is valid, the 3-6 connects to the 1-3, then the 1-6 can connect to the 3-6
  • 5-5 5-4 5-0 0-6 6-6 6-4 6-2 2-1 6-3 5-1 1-1 1-6 4-1 1-0 0-0 2-0 3-0 0-4 is valid, the above illustrated example
  • '12-12 12-1 3-12 3-1 1-2 3-3` is valid, uses larger dominoes, and has an ambiguous placement
edited tags
Link
Laikoni
  • 26.3k
  • 6
  • 52
  • 115
Tweeted twitter.com/StackCodeGolf/status/946309667893936129
examples
Source Link
Sparr
  • 6.1k
  • 25
  • 36
Loading
input clarification
Source Link
Sparr
  • 6.1k
  • 25
  • 36
Loading
add examples
Source Link
Sparr
  • 6.1k
  • 25
  • 36
Loading
elaboration
Source Link
Sparr
  • 6.1k
  • 25
  • 36
Loading
Source Link
Sparr
  • 6.1k
  • 25
  • 36
Loading