pre_solution4/knight1.scala
changeset 371 0b7f7b402064
parent 370 823eebffe3db
equal deleted inserted replaced
370:823eebffe3db 371:0b7f7b402064
     1 // Part 1 about finding and counting Knight's tours
     1 // Part 1 about finding and counting Knight's tours
     2 //==================================================
     2 //==================================================
     3 
     3 
     4 object CW8a {   // for preparing the jar
     4 object CW9a {   // for preparing the jar
     5 
     5 
     6 type Pos = (Int, Int)    // a position on a chessboard 
     6 type Pos = (Int, Int)    // a position on a chessboard 
     7 type Path = List[Pos]    // a path...a list of positions
     7 type Path = List[Pos]    // a path...a list of positions
     8 
     8 
     9 
     9