How do I make a score

Fill this out this info to make it easier for the community to help you! If you don’t fill out this information, your post may be deleted or removed.

What Wick Editor Version are you using?
1.19.3

Describe the Problem
I cant find out how to make a high score

What have you tried so far?
norhing

Do you have a Wick Editor File that we can see? Optional*
My Project2-25-2021_23-54-02.html

high score is usually something saved server side
you can save your best scores using your browser cookies, local storage or indexed db BUT it will be accessible only on your browser, not shared among other players

here is how you do it

I think you should use local storage, it’s easier to use than cookies.

And besides cookies are meant to be read by a server – an example usage of cookies is for the client to keep a code that the client receives when signing in, so they wouldn’t have to keep putting in their username and password when they want to do something as the user.

if you don’t care about the whole local saving or cookies thing and you are okay with the highscore resetting upon reloading/closing the tab, you can just store a variable called “highscore” or something. when the game is over and you get the score, check if highscore or score is bigger and replace highscore with the score if it is bigger.

Idea: You could make an online scoreboard using Node.js, Express and MongoDB

this video can help you