Predetermine minesweeper outcome?

698 views
Skip to first unread message

reflex gamers

unread,
Jan 6, 2017, 4:52:25 AM1/6/17
to Google Chrome Developer Tools
I am playing a little minesweeper like game.
Nothing is shown on any tiles until they are clicked upon.
If you are lucky you will gain score, if unlucky the tile will show a bomb that pops up and you lose.

Is there any way to use inspect element to predetermine what outcome pressing the tile will have? (To avoid pressing on the bomb tile)

Thanks!

PhistucK

unread,
Jan 6, 2017, 4:57:21 AM1/6/17
to Google Chrome Developer Tools
I am not sure I condone such cheats. ;)

Seriously, though, it really depends on how the game was made. It might be visible using Inspect and it might not.
For example, if the HTML element that represents the square has a class attribute (<div class="something") and it is used for predetermining the identity of the square (not likely), then you are in luck and any identity would have a different class value.
Otherwise, it is in the "code behind" (JavaScript), which means it would be buried somewhere in a variable. You can probably still get it, but it would take more time to get there (and out of scope for this group, since it is for developers, not users).


PhistucK

--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/ce063f47-52cf-4674-b9a0-67ff4112aa55%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages