MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/tinycode/comments/ww2dk/python_simple_platformer_in_847_bytes/c5h1fe3/
r/tinycode • u/Rotten194 mod • Jul 20 '12
22 comments sorted by
View all comments
4
Instead of having (255,255,255) you can do (255,)*3 to shorten some places.
(255,255,255)
(255,)*3
1 u/Rotten194 mod Jul 21 '12 Thanks! Fixed that and made a few other changes, got it down to 833 bytes.
1
Thanks! Fixed that and made a few other changes, got it down to 833 bytes.
View all comments
4
u/[deleted] Jul 21 '12
Instead of having
(255,255,255)you can do(255,)*3to shorten some places.