From 98eb242e282650e9c6645dd2e5290e144b105bb4 Mon Sep 17 00:00:00 2001 From: Michal Idziorek Date: Sat, 23 May 2015 23:44:44 +0200 Subject: improved params and environment passing and started snake-game :) --- userspace/snake.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 userspace/snake.c (limited to 'userspace/snake.c') 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 + +int main() +{ + printf("Hello I am FoolSnake 0.1\n"); + + while(1) + { + printf("%c",getc(stdin)); + } +} -- cgit v1.2.3