Skip to main content
11 events
when toggle format what by license comment
Aug 23, 2014 at 15:34 comment added Alexander Craggs Nice tips on how to golf a persons code! Nice to see coders helping each other out to save characters!
Aug 22, 2014 at 14:01 comment added comperendinous Save at least another 12 characters by importing randint as r, Image as I, ImageDraw.Draw as D, which, as part of the imports, doesn't count to your score.
Aug 22, 2014 at 13:38 comment added comperendinous Since the resolution only has to be at least 200x200, you could save a few characters (5, I think) by setting x=255 and using it to replace the instances of 200 and 255.
Aug 22, 2014 at 13:37 history edited Doorknob CC BY-SA 3.0
added 393 characters in body
Aug 22, 2014 at 13:34 comment added Alexander Craggs This is verified, I've gotten it to work!
Aug 22, 2014 at 13:31 comment added Alexander Craggs Ah, okay, but yeah! You can take out the library import statements.
Aug 22, 2014 at 13:30 comment added Geobits @PopeyGilbert I just asked because it's not the norm and wanted to clear it up before I chopped a few more characters from my code :D
Aug 22, 2014 at 13:27 comment added Alexander Craggs Yeah, because some languages have very few base functions, and have to import all their stuff. If you think this is not fair Geobits, then please say =) I want to try to make this fair.
Aug 22, 2014 at 13:26 comment added Geobits @PopeyGilbert So I can remove the import statements from mine? I assumed "ignore libraries" meant the library itself wasn't counted (as usual).
Aug 22, 2014 at 13:24 comment added Alexander Craggs Congrats on currently being the shortest entrant! Love your comment on n=100. Might be best to put image.new and image_size to 800. Might look less weird =)
Aug 22, 2014 at 13:22 history answered Doorknob CC BY-SA 3.0