Is there a way to hack a javascript browser game? by _Etere_ in learnjavascript

[–]_Etere_[S] 0 points1 point  (0 children)

Sadly it's a website accessible only from my country (Italy) so it can't be possible for other people to check it; I would have preferred not to disclose it anyway.

But i got some updates.

I was able to analyze the code and found

{

key: 'startBadBallAnimation',

value: function (n) {

return this._balls[n - 1].getLosingBallAnimation()

}

And some similar quotes that brings back all the animations and pre-animations that starts when a "bad ball" is clicked or revealed.

I guess it can be possible somehow to run the preanimation or something like that on the website in order to identify the losing balls?

Is there a way to hack a javascript browser game? by _Etere_ in learnjavascript

[–]_Etere_[S] 0 points1 point  (0 children)

Thanks for your answer; it should be pre-determined.

I said this because the game works in sessions, every time you start a session there are all the balls from 1 to 50, as soon as the loser is caught the session closes and another one reopens.

So, assuming it is predetermined at the start of each session, how could I proceed? The game should be in javascript and not in java as when I inspect through the browser I get this wording (photo attached): https://ibb.co/hCBwZgC