aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--ltg.ml4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..166d81d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+ltg
diff --git a/ltg.ml b/ltg.ml
index 8aed118..d3b7473 100644
--- a/ltg.ml
+++ b/ltg.ml
@@ -14,9 +14,9 @@ let opponent = match me with
let read_move () = Scanf.scanf "%d\n" (fun d -> match d with
| 1 -> Scanf.scanf "%s\n%d\n" (fun s d ->
- Cards.left_apply opponent (card_of_string s) d)
+ Game.left_apply opponent (card_of_string s) d)
| 2 -> Scanf.scanf "%d\n%s\n" (fun d s ->
- Cards.right_apply opponent (card_of_string s) d)
+ Game.right_apply opponent (card_of_string s) d)
| _ -> failwith "Wrong move number"
)