aboutsummaryrefslogtreecommitdiff
path: root/examples/guessing.sloth
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 16:21:15 -0500
committerNic Gaffney <gaffney_nic@protonmail.com>2023-06-28 16:21:15 -0500
commit73843fa284968b4efb0ae51858cb37d0189c4b83 (patch)
tree278982b5b0b8fdb933d5d57f801145ab7cbf99aa /examples/guessing.sloth
parent7d14243f769ad911d7c057b891ed89a95d7c1bfd (diff)
downloadsloth-73843fa284968b4efb0ae51858cb37d0189c4b83.tar.gz
filer added to std
Diffstat (limited to 'examples/guessing.sloth')
-rw-r--r--examples/guessing.sloth8
1 files changed, 0 insertions, 8 deletions
diff --git a/examples/guessing.sloth b/examples/guessing.sloth
index f88c35b..49c0bde 100644
--- a/examples/guessing.sloth
+++ b/examples/guessing.sloth
@@ -1,11 +1,3 @@
-foreign fn print();
-foreign fn println();
-foreign fn readln() String;
-foreign fn random(min: Int, max: Int) Int;
-foreign fn parse_int(str: String) Int;
-foreign fn randGen(min: Int, max: Int) Int;
-foreign fn istr(x: Int) String;
-
fn main() Int {
var computer: Int = randGen(1, 10);
var tries: Int = 0;