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 | |
| 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
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | ltg.ml | 4 |
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 @@ -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" ) |
