(Beginner) How do I change something based on the player's score?

miltonharvey
27 Oct 2021, 01:12

I'm currently using

if (game.score>50) {
msg ("You are feeling stronger")
}

but it doesn't seem to work, since when I get the score over 50 nothing happens


mrangel
27 Oct 2021, 07:48

That looks valid. Are you sure that code is being reached? Where are you putting it?