Make Ten
Select numbers that add to ten, to remove them from the board. How high can you score in just 2 minutes? Try again by pressing Enter!
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.
- Press Enter to pause. (restart / change volume)
- Click the bottom-right icon to play 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!
> code
This was made for a jam with a code-size restriction: 500 characters or less. Here's the entire source 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(p==a)p=x q=f?"⁷i6v1c1"
😐=c&min(x,p)⌂=c&min(f,q)♪=c&max(x,p)♥=c&max(f,q)else if(p)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?"⁶jc1score "..s,-🅾️
if(btnp(6))🅾️=⬇️
if(p)rect(😐,⌂,♪+9,♥+8)
d=-t()?"⁶x2¹b█",d-5,106
if(d==-128)➡️=0g="⁶j8rtime up!"⬇️=🅾️?"⁷v3fg"
if(s<⬅️)s+=1?"⁷x5v3c0"
?"⁶.¹³⁷ᶠ³⁴\0\0",x-2,y-2,7
goto _
Some highlights:
- check if a number is inside the selection region with
if(x-cx0|cx1-x|y-cy0|cy1-y>0)
(checking that each term isn't negative) - draw the timer using cursed P8SCII
?"⁶x2¹b█"
instead ofrectfill()
, saving 3 chars - instead of counting up from 0 to 10, count down from 2 to -8, saving 1 character
- some tricky whole-program structure that sums numbers using the same line of code that removes them (one frame later)
Status | Released |
Platforms | HTML5, Windows, macOS, Linux |
Rating | Rated 4.7 out of 5 stars (235 total ratings) |
Author | pancelor |
Genre | Puzzle |
Made with | PICO-8, Sublime Text |
Tags | High Score, Math, PICO-8, Short, sizecode, sourcecode, Time Attack, tweetcart, tweettweetjam |
Average session | A few minutes |
Inputs | Mouse, Touchscreen, Smartphone |
Accessibility | Color-blind friendly, High-contrast, Interactive tutorial, Textless |
Links | BBS, cohost, mastodon, Source code |
Download
Download NowName your own price
Click download now to get access to the following files:
make-ten-windows.zip 1,014 kB
Version 6
make-ten-linux.zip 767 kB
Version 6
make-ten-osx.zip 7.5 MB
Version 6
make-ten-raspi.zip 2.2 MB
Version 6
make-ten.p8.png 4.9 kB
Version 6
Development log
- v1.4: pause indicator + deluxe edition!May 31, 2024
- v1.2 audio, source codeMay 15, 2024
- v1.1 mobile tweaksMay 11, 2024
Comments
Log in with itch.io to leave a comment.
Really elegant design! It's actually pretty engaging and fun. The fact that it was made with so few code makes it even more incredible.
Also kudo for the color choices: I'm colorblind and was still able to recognize the relevant pairs! ^^
I love this game, it's really clever and addictive.
SO epic that this was made in just 500 characters! truly a simple game yet producing something that can be more than what one might first assume. Amazing how complex this game can get!
Neat game, thanks
Finally got to 400!
I think this is the highest I'm ever going to get
my brain hurts
almost able to crack into 500 so close
this is a cool math game
get it
Thanks to the tips, I finally got 400 after a lot of rounds...
I was aiming for 200...
Been totally hooked lately
The Game is good
like it a lot, nice idea, congrats
Updated high score, just play it occasionally when you had time and you will be comfortable with it
Hello
I'm having a lot fun making an alternative version of make ten called factor72. I've sent you an email with a link to try it. It would feel bad if I released it and you felt my version was too close to yours.
This is actually surprisingly fun! Great job!
EZ
In case you're wondering about how to get higher scores, the score you get is equal to the area of the selection you make. So you should make as big of an area as possible even if the numbers are close together.
I am completely obsessed with this game. I had to keep going until I finally broke 200.
HOW BROTHER
i got new high scorie
Hello ! I really like the simplicity of your game and I wanted to ask you if I could adapt it to play it on the Playdate ? It's a little handheld device designed for games like this.
If you're interested could you hit me up on discord ? My username is "elioth_"
my highest score
pretty neat! That's some... colorful code!
Could you make the pause menu cover the whole board? Otherwise it's easy cheating your way around the 2 minute timer. Other than that, this is the kind of simple, ingenious, game concept I wish I would've thought of, even though I'm not a game dev. Also, I got 69 on my first try, which is really nice imo.
thank you! nice indeed.
pausing: true! but I like it how it is currently: the score changes color slightly after pausing, which strikes a nice balance – it makes it easy to tell if someone paused, without forcing them to play the intended way. (and here’s a longer version of these thoughts: https://pancelor.itch.io/make-ten/devlog/740875/v14-pause-indicator-deluxe-edition )
fun simple game, my first game I got 26, cool game.
This is a really cool and good looking concept for a game! I would love to remake it and add certain things like levels, unlimited time mode, and so on... But before I do I would like your permission as I don't want to steal anything. I will of course give you full credit!
Its such a simple yet addicting idea. So impressive that you managed to cram all that in such a small script
Everything ingenious is simple. Good luck in the future.
made an account to write this comment, very nice game :]
really fun game. So simple, but so addictive!
Defo coming back to replay this one!
The work is mysterious and important.
Awesome stuff. This is one of those game where I'm like it's so simple and good that I can't believe I didn't come up with it first.