My new puzzle game. My friends say they like it, but I am not sure I believe them. :P #Web: https://t.co/QHMBrXpkry #Android: https://t.co/mMVjEgFSB6 #dozen#gamedev#indiedev
Four ways to write all_equal(t) in #python:
s[1:] == s[:-1]
min(s) == max(s) # s must be non-empty
g = itertools.groupby(s)
next(g, True) and not next(g, False)
all(map(operator.eq, s, itertools.islice(s, 1, None)))
"Returns True if all the elements are equal to each other"
A short thread on a few Celeste game-feel things :) I don't think we invented any of these.
1- Coyote time. You can still jump for a short time after leaving a ledge.
[newsreader] the government are considering banning large gatherings to avoid spreading the coronvirus
[under my breath] please say stand-ups qualify as “large gatherings”