Log In  

Cart #make_ten-2 | 2024-05-16 | Code ▽ | Embed ▽ | No License
13

Select numbers that add to ten, to remove them from the board. How high can you score in just 2 minutes?

An homage to Fruit Box. A FruitBox-like? There are some big differences in this version, the most obvious being the lack of music. (the music in the original is incredible)

how to play

  • Drag your mouse to select groups of numbers that add up to 10.
  • I recommend playing in fullscreen; it's easier to click on larger numbers.
  • In the original game, you're awarded one point per number removed,
  • Get the highest score you can within 2 minutes. Good luck!

This was my submission for TweetTweetJam 9, written in 490 characters of code:

z={}c=-8s=0g='⁶!5f58⁵d8"◝'::_::?"⁶1⁶c0⁶!5f2d3"
e=1x=stat(32)y=stat(33)if btn(5)do f=mid(16,96,y)if(btnp(5))p=x q=f?"⁷i6v1c1"
😐=c&min(x,p)⌂=c&min(f,q)♪=c&max(x,p)♥=c&max(f,q)elseif p do p=a if(n==c)e=0?"⁷i7f1a"
end?g,d
n=2for i=32,207do w=z[i]or rnd(9)\1+1u=i%16*8v=c&i\2if(u-😐|♪-u|v-⌂|♥-v>0)w*=e n-=w ⬅️+=➡️&~e
z[i]=w?w,u,v,w
end?"⁶jc1ᶜcscore "..s
if(p)rect(😐,⌂,♪+9,♥+8)
d=128-t()rectfill(-1,107,d,113)if(d==0)➡️=0g="⁶j8rtime up!"?"⁷v3fg"
if(s<⬅️)s+=1?"⁷x5v3c0"
?"⁶.¹³⁷ᶠ³⁴\0\0",x-2,y-2,7
goto _

See also: itch | mastodon | cohost

P#148268 2024-05-11 11:27 ( Edited 2024-05-16 06:24)


[Please log in to post a comment]