|      1  |      1  | 
|      2 Below is the feedback and provisional marks for your submission |      2 Below is the feedback and provisional marks for your submission | 
|      3 for assignment 8 Advanced Part 2.  Please note all marks are provisional until |      3 for assignment 8 Part 1.  Please note all marks are provisional until | 
|      4 ratified by the assessment board -- this is not an official |      4 ratified by the assessment board -- this is not an official | 
|      5 results transcript. |      5 results transcript. | 
|      6  |      6  | 
|      7 knight2.scala does not contain vars, returns, Arrays, ListBuffers etc? |      7 knight1.scala does not contain vars, returns, Arrays, ListBuffers etc? | 
|      8   --> success |      8   --> success | 
|      9 knight2.scala runs? |      9 knight1.scala runs? | 
|     10   --> success |     10   --> success  | 
|     11  ordered_moves(8, List((3,4), (3,2)), (1,3)) == List((0,1), (0,5), (2,1), (2,5)) |     11  is_legal(8, Nil, (3, 4)) == true  | 
|     12  ordered_moves(8, List((4,0)), (0,0)) == List((2,1), (1,2)) |     12  is_legal(8, List((4, 1), (1, 0)), (4, 1)) == false  | 
|     13  ordered_moves(8, List((0,4)), (0,0)) == List((1,2), (2,1)) |     13  is_legal(2, Nil, (0, 0)) == true | 
|     14   --> success |     14   --> test failed | 
|     15  first_closed_tour_heuristic(6, List((3,3))) found and correct? |     15  legal_moves(8, Nil, (2,2)) == List((3,4), (4,3), (4,1), (3,0), (1,0), (0,1), (0,3), (1,4)) | 
|     16   --> success |     16  legal_moves(8, Nil, (7,7)) == List((6,5), (5,6)) | 
|     17  first_tour_heuristic(8, List((0,0))) found and correct? |     17  legal_moves(8, List((4,1), (1,0)), (2,2)) == List((3,4), (4,3), (3,0), (0,1), (0,3), (1,4)) | 
|     18  first_tour_heuristic(40, List((0,0))) found and correct? |     18  legal_moves(8, List((6,6)), (7,7)) == List((6,5), (5,6)) | 
|     19   --> success |     19  legal_moves(1, Nil, (0,0)) == Nil | 
|     20 knight3.scala does not contain vars, returns, Arrays, ListBuffers etc? |     20  legal_moves(2, Nil, (0,0)) == Nil | 
|     21   --> success |     21  legal_moves(3, Nil, (0,0)) == List((1,2), (2,1)) | 
|     22 knight3.scala runs? |     22   --> test failed | 
|     23   --> success |     23  all_tours from every position on the board | 
|     24  tour_on_mega_board(70, List((0,0))) found and correct? |     24  dim = 1: 1 | 
|     25   --> success |     25        2: 0,0,0,0 | 
|     26 Overall mark for CW 8, Part 2 |     26        3: 0,0,0,0,0,0,0,0,0 | 
|     27 4 |     27        4: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 | 
|         |     28        5: 304,0,56,0,304,0,56,0,56,0,56,0,64,0,56,0,56,0,56,0,304,0,56,0,304 | 
|         |     29   --> test failed | 
|         |     30  enum_tours(5, List((0,2)) ) => 56 tours? and all correct? | 
|         |     31   --> test failed | 
|         |     32  val f = (x:(Int, Int)) => if (x._1 > 3) Some(List(x)) else None  | 
|         |     33    first(List((1,0),(2,0),(3,0),(4,0)), f) == Some(List((4,0))) | 
|         |     34    first(List((1,0),(2,0),(3,0)), f) == None | 
|         |     35   --> test failed | 
|         |     36  is first_tour(8, List((0, 0))) ok?  | 
|         |     37  is first_tour(4, List((0, 0))) == None  | 
|         |     38   --> test failed | 
|         |     39 Overall mark for Part 1 | 
|         |     40 0 |