From 07535bb5f97f49cf63d5ea41acb79043b9705122 Mon Sep 17 00:00:00 2001
From: Adam Blank <blank@caltech.edu>
Date: Fri, 15 Nov 2024 20:54:08 +0000
Subject: [PATCH] Add new file

---
 16/AnimalGame.java | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 16/AnimalGame.java

diff --git a/16/AnimalGame.java b/16/AnimalGame.java
new file mode 100644
index 0000000..51f1eda
--- /dev/null
+++ b/16/AnimalGame.java
@@ -0,0 +1,37 @@
+import static java.io.IO.*;
+
+import java.util.Random;
+
+// def play_animal_game():
+void play_animal_game() {
+    // choices = ['cow', 'dog', 'horse', 'cat', 'bird']
+    // choice = choices[random.randInt(0, len(choices))]
+    // animal = input("Which animal am I thinking of between " + ", ".join(choices) + "? ")
+    // if animal == choice:
+        // print("Yes! It was " + choice + "!")
+    // else:
+        // print("No! It was " + choice + "!");
+}
+
+
+/*
+def play_until_exit():
+    again = True
+    while again:
+        play_animal_game()
+        again = input("Would you like to play again (y/n)? ")
+        if again.lower().startswith("n"):
+            print("Goodbye!")
+            again = False
+ */
+ void play_until_exit() {
+
+ }
+ 
+ double play_5_times() {
+    return 0.0;
+}
+
+ void main() {
+    play_until_exit();
+}
-- 
GitLab