Numbup - a little number game I made

Project URL: https://numbup.glitch.me

I’m somewhat of a beginner in web development and I decided to make a little fast paced number game to mark my progress a bit. Feel free to try it and leave suggestions if you want! I had a lot of fun making and playing it!

6 Likes

it’s pretty fun! I got 637 points, it gets a bit hard past 7 digits

1 Like

btw quick tip: store the high score in localStorage so it gets saved even if you close your browser.

1 Like

Alright, I’ll look into that, I’ve been trying to figure out how to store data on refresh. Thanks for helping and playing my game!

1 Like

LocalStorage is pretty easy to use. Just run localStorage.getItem("key"), to read a key and localStorage.setItem("key", "value") to set one.

2 Likes

Pretty fun!
On my first try, I got 1395 score.
It’s definitely easier on mobile.

2 Likes

Fun! Hard to do on a trackpad but really fun! I love the sounds!

2 Likes

let’s gooooo

no I would never do that!! what are you talking about?! bro i didn’t!!! i would never!1

1 Like

dang it how are you so good???

2 Likes

there’s no way! :astonished:


2 Likes

Lmfao I laughed so hard at that, it’s really good! I’m actually very sorry for you if you decided to look through my code to make that

(Also can I steal it :pleading_face:)

1 Like

thanks lol

no prob!

sure! although optional, i would love if you could add some credits if you used it - something very small :slight_smile: also don’t ask me for the CSS changes, I don’t have them

for more bad web design checkout wwe2

This games a lot of fun! Great job. I got 1,397 points.

1 Like

dang I would get such a high score if this had keyboard controls

1 Like

You beat my score by 2 points…

1 Like

the sounds are really just pure joy, and I love the new game mode.


here’s a some quick code i wrote for anyone to cheat use keyboard controls:

document.addEventListener("keydown", function (e) {
  document.querySelectorAll(".numtile.inseq").forEach((tile) => {
    if (tile.innerText == e.key) { tile.click() }
  })
}) 

(run it in the devtools console: right-clickinspectconsole (it’s at the top))

1 Like

got 1237 my first go pretty fun

1 Like