Page 1 of 1

sokoban - in sed

Posted: Sat Jan 16, 2016 8:44 pm
by machinebacon
This is sokoban - written in sed 0.o

Code: Select all

wget http://aurelio.net/sed/sokoban/sokoban.sed
sed -nf sokoban.sed
<hit enter>

Re: sokoban - in sed

Posted: Sat Jan 16, 2016 9:02 pm
by Theo
Thanks! This stuff makes me feel young again (as long as I don't look into the mirror) :)
Perhaps an idea to open a topic with all kind of this pretty smart programmed games that uses almost nothing (except some talent).

Re: sokoban - in sed

Posted: Sat Jan 16, 2016 9:16 pm
by simgin
^^ I love this, first AWK and then Sed ,wtf is going on. Is this some new hardcore trend? :D Brilliant.

Re: sokoban - in sed

Posted: Sat Jan 16, 2016 9:59 pm
by Theo
^ a Non-X-Windows-Game-System :) Everything what Steam-OS isn't, except the debian thing. I like it already :)

Re: sokoban - in sed

Posted: Sat Jan 16, 2016 10:09 pm
by dkeg
I can move around np, but what the hell am I doing

Re: sokoban - in sed

Posted: Sat Jan 16, 2016 10:17 pm
by rust collector
you are supposed to push the "o" to the "."
you can only push one at a time.

Re: sokoban - in sed

Posted: Sun Jan 17, 2016 1:34 am
by dkeg
aha! Maybe it should have been obvious, but for at least today, it wasn't.

Re: sokoban - in sed

Posted: Sun Jan 17, 2016 2:22 am
by rust collector
No, I had no idea either...
If you read the file, it has some info in there.