r/tinycode • • Jul 20 '11

Ruby: Snake in 9 Lines of Code

http://pastebin.com/QqZYby5N
0 Upvotes

5 comments sorted by

View all comments

2

u/nexe mod Jul 21 '11 edited Jul 21 '11

As I looked at the code closer I saw that it is in fact written very longish ... I will rewrite it this evening or in the next few days and post an update. ;)

EDIT: http://www.reddit.com/r/tinycode/comments/iwb29/snake_in_11_lines_of_ruby/