Ask coding questions

← Back to all posts
How to make sure that when you start the game in the console, the code is completely normal?
Agzamikail (2)

How to make sure that when you start the game in the console, the code is completely normal?

Comments
hotnewtop
X24 (28)

Just run it, and if any red things pop up, it's wrong. Replit luckily gives the error. Alternatively, run a unit test by clicking on the tick on the left, then "New Unit Test", then copy and paste all of your code into the thing, then run the test. I hope that this answers your question.

Agzamikail (2)

@X24 I have no errors there and it does not show

Agzamikail (2)

it doesn't show me that there are errors @X24

Agzamikail (2)

But when there are errors, yes, he shows where @X24

X24 (28)

@Agzamikail If there are no errors, your code is fine.

Agzamikail (2)

then why does the text in the console look like this @X24

X24 (28)

@Agzamikail It's a bug in the console.

X24 (28)

@Agzamikail Not really, the best advice I can give you is to try cutting down on the word count