-1 won’t give -1

Project link:

What is happening in the project, and what do you want to happen instead?
i can’t make myself -1. What I do want to happen is it to at least give a result

Screenshots of code:


what happens

7 Likes

I’m not sure exactly what you’re trying to do. Could you elaborate?

2 Likes

This is because -1 simply does not exist in hopscotch

3 Likes
  1. You don’t seem to ever include any non-matching characters
  2. the / characters and the i part of the regex are handled by hs, what you’re matching for is basically this:
    /\/[iljrtf1]\/i/i which will never be true for just one character.

@hopbot -1

5 Likes
8 Likes

hopbot, you are a disgrace.

(for legal reasons, you are not)

3 Likes

Ok that did help for later but it didn’t work!


3 Likes

Sus

4 Likes

you could enter a different number but make the game display -1, if that is what you want to happen.

3 Likes

in other words, for the variable, type a different number e.g. 600 and put the results for -1.

3 Likes

There is nothing here

1 Like

It is supposed to be like that

1 Like

It’s like the typewriter effect but used in a different way

2 Likes