We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 530fd6a commit c6e6ffeCopy full SHA for c6e6ffe
maze_fun.ml
@@ -51,3 +51,9 @@ let make_naive_move = (fun s -> (check_if_sitting_on_letter s); if (there_is_a_l
51
let sort_char_list_alphabetically = ()
52
let concatenate_list = ()
53
54
+let rec lets_play n = match n with
55
+ | 0 -> print_string "End of Game"
56
+ | _ -> print_char (make_naive_move (read_line ())); print_newline(); (lets_play (n-1))
57
+
58
59
0 commit comments