Snake in 35 lines
Snake in 35 lines.
Pygame.org account Comments
Jay Thomas 2013-11-23 11:38:53
Not read the entire thing, but already noticed that line 8 doesn't really count as 1 line as you've got multiple statements on it.
lolster 2013-12-08 05:33:18
how do i play it??
Temesgen Abera 2015-03-14 14:22:24
It is so amusing
Geek On Java 2015-07-30 11:51:03
Make Snake Game In Swing | Geek On Java - Hub for Java and Android
olykos 2016-01-01 10:27:54
Ugh horrible coding practice. You're combining so many statements on one line and then think it counts as "one line". What's the point of this, it's not readable or elegant, it's a mess.
brad 2016-09-22 08:38:32
brad 2016-09-22 08:38:48
Casimir Gaul-Berrard 2017-01-02 16:10:41
Clearly, almost half of the lines are composed of multiple statements, separated by ';'. In theory, this could be done in just 1 line (maybe 7-8 due to the functions and while statement).