Step 6: Introduce patterns


  • A domino stone may hit multiple successing stones
  • A domino stone by be hit by more predecessing stones
  • Not necessarily all stones are hit at the same time
  • Changing state of class Domino
    • head and tail now are OrderedCollections
  • Mulitple stones may be toppling at the same time