splatweet
splatoon, in 486 characters of code. (less than 2 tweets!)
disclaimer: I have not played splatoon and have no idea how it works. something about paint?
controls:
- move: arrow keys
- restart: ctrl-r
- pause: p / enter
code:
u=0v=0y=64x=y
e=128h=rnd
cls()pal({135,138,3,12,140,141,137},1)f=circfill
for i=1,6do
f(h(e),h(e),24,i)end::_::c={[0]=0,0,0,0,0,0,0,0}for i=0,7679do
p=@(25088+i)c[p&7]+=1c[p>>4&7]+=1end
for i=0,350do
q=h(e)r=h(120)+8s=pget(q,r)
if(s%7>0)f(q,r,max(1,3-c[s]/650),s)
end
b=btn()u+=b\2%2-b%2<<2v+=b\8%2-b\4%2<<2u*=.5v*=.5x=mid(e,x+u)y=mid(8,e,y+v)f(x,y,7,7)circ(x,y,1,0)m=0for i=0,7do
n=c[i]/120rectfill(m,0,m+n,7,i)m+=n
end::w::flip()
if(c[7]<15356)goto _
?"you monster",42,61,t()%6
goto w
Updated | 2 days ago |
Status | Released |
Platforms | HTML5 |
Rating | Rated 4.5 out of 5 stars (2 total ratings) |
Author | pancelor |
Genre | Action |
Made with | PICO-8, Sublime Text |
Tags | 2D, Gardening, Generator, Minimalist, PICO-8, Short, sourcecode |
Average session | A few seconds |
Inputs | Keyboard, Gamepad (any), Touchscreen |
Accessibility | High-contrast, Textless |
Comments
Log in with itch.io to leave a comment.
Four metagaming proposals :
Supremacy: erase all other colors
spoiler
in fact it seems to be the expected way to play the game:Division : have all colors in game without them being in contact.
Celular automaton : watch the algorithm evolve without intervening.
Painting : make a painting.
omg yes I love these :D
Is that an original painting or a recreation/reference to something? it’d fit right in with these: https://www.wikiart.org/en/mark-rothko :)
A lakeside cabin:
Another mode:
Sorting : sort the colors into a gradient
Nice ! The gradient is impressive !
The painting from my comment is an “original painting” (not a rothko reference). This is a sunset scene with the sky turning dark and you can see small trees and houses at the bottom :)
oh! your painting gave me a sunset vibe but I didn’t realize how zoomed out it was – it’s so lovely!
love how they struggle before they die :)