The language is very much secondary here, this game is about coming up with efficient algorithms first and foremost.
Agreed, but I find the JavaScript to be difficult to work with. (This is less about he language and more about the fact that the API is a little vague and errors are not well reported.)
Then I recommend the Typescript version.
Getting a high score requires good algorithms. However, it's a good language learning game.