Made game interactive

This commit is contained in:
2024-01-18 19:40:04 +00:00
parent 03af54b32f
commit 1756972e8c
2 changed files with 238 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
defmodule Utils do
@min_print_level 1
@min_print_level 2
def safecast(p, m) when p == nil, do: IO.puts('Trying to safecast #{m} with p as nil')
def safecast(p, m) when is_pid(p), do: send(p, m)