Skip to content

Commit

Permalink
cleaned up output and removed debug code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Furst committed Feb 5, 2019
1 parent f475d85 commit 001952c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/com/seefurst/towersofhanoi/app/TowersOfHanoi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ object TowersOfHanoi {

def play(x: Int, board: (Int) => Board) = {
val b = board(x);
println("we have the board set up like this: " + b);
println("we have the board set up like this:\n " + b);
b.moveDisks(x-1,0,1,2, b => println(b))

}
Expand Down

0 comments on commit 001952c

Please sign in to comment.