aboutsummaryrefslogtreecommitdiffstats
path: root/ltg.ml
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2011-06-19 01:32:32 +0200
committerThibaut Horel <thibaut.horel@gmail.com>2011-06-19 01:32:32 +0200
commitf779c415e4e2c7720aa0525397141c51d7b10fd5 (patch)
tree376782269fb0dbe2e4b27a0f11625c479831c2bc /ltg.ml
parentf414fbe3f87d18496691c1071363040a59ff468f (diff)
downloadicfp2011-f779c415e4e2c7720aa0525397141c51d7b10fd5.tar.gz
Update ltg.ml to work with latest change. Game engine is functional but
lacking end of rounds conditions and init round slot checking. Add gitignore
Diffstat (limited to 'ltg.ml')
-rw-r--r--ltg.ml4
1 files changed, 2 insertions, 2 deletions
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"
)