diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2011-06-19 01:32:32 +0200 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2011-06-19 01:32:32 +0200 |
| commit | f779c415e4e2c7720aa0525397141c51d7b10fd5 (patch) | |
| tree | 376782269fb0dbe2e4b27a0f11625c479831c2bc /ltg.ml | |
| parent | f414fbe3f87d18496691c1071363040a59ff468f (diff) | |
| download | icfp2011-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.ml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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" ) |
