summaryrefslogtreecommitdiff
path: root/src/among_us/among_us.cr
diff options
context:
space:
mode:
authorMatthew Hall <hallmatthew314@gmail.com>2022-09-07 00:05:23 +1200
committerMatthew Hall <hallmatthew314@gmail.com>2022-09-07 00:05:23 +1200
commit97e3b4a9d7e995848341e53b2c002930c85d5c47 (patch)
tree45299ac50115bc3cc87f546cbbc8ba7519813a61 /src/among_us/among_us.cr
parentb5aecfbd9d32bf894ab82d7b594f91a5f59acb2a (diff)
Parser + boilerplate for Among Us
Diffstat (limited to 'src/among_us/among_us.cr')
-rw-r--r--src/among_us/among_us.cr29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/among_us/among_us.cr b/src/among_us/among_us.cr
new file mode 100644
index 0000000..4b4f3b8
--- /dev/null
+++ b/src/among_us/among_us.cr
@@ -0,0 +1,29 @@
+module AmongUs
+
+ enum Command
+ SUS
+ VENTED
+ SUSSY
+ ELECTRICAL
+ WHO
+ WHERE
+ end
+
+ enum Color
+ RED
+ BLUE
+ PURPLE
+ GREEN
+ YELLOW
+ CYAN
+ BLACK
+ WHITE
+ BROWN
+ LIME
+ PINK
+ ORANGE
+ end
+
+ alias Instruction = Command | Color
+end
+