From 46439007cf417cbd9ac8049bb4122c890097a0fa Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Fri, 22 Dec 2006 20:52:35 +0000 Subject: 20060303-partial --- module/scoretable.m | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 module/scoretable.m (limited to 'module/scoretable.m') diff --git a/module/scoretable.m b/module/scoretable.m new file mode 100644 index 00000000..2501e4b4 --- /dev/null +++ b/module/scoretable.m @@ -0,0 +1,12 @@ +# only used by tetris currently. this interface will change. +Scoretable: module { + PATH: con "/dis/lib/scoretable.dis"; + Score: adt { + user: string; + score: int; + other: string; + }; + init: fn(port: int, user, name: string, scorefile: string): (int, string); + setscore: fn(score: int, other: string): int; + scores: fn(): list of Score; +}; -- cgit v1.2.3