summaryrefslogtreecommitdiff
path: root/userspace/snake.c
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2015-05-23 23:44:44 +0200
committerMichal Idziorek <m.i@gmx.at>2015-05-23 23:44:44 +0200
commit98eb242e282650e9c6645dd2e5290e144b105bb4 (patch)
tree69963b6d1d5f51d8eaa5552f402ed34e0bd58241 /userspace/snake.c
parentdadd5202a3ccfd8c03fb9eb60e6a15b0fb987672 (diff)
improved params and environment passing and started snake-game :)
Diffstat (limited to 'userspace/snake.c')
-rw-r--r--userspace/snake.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/userspace/snake.c b/userspace/snake.c
new file mode 100644
index 0000000..afc6bf8
--- /dev/null
+++ b/userspace/snake.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+int main()
+{
+ printf("Hello I am FoolSnake 0.1\n");
+
+ while(1)
+ {
+ printf("%c",getc(stdin));
+ }
+}