About me I've been a computer programmer since I first started typing in program listings on a Commodore Vic 20 when I was about 8. My hobbies include electronics, CNC manufacturing, photography, beer and winemaking.
I live with my wife and lots of left-over parts from unfinished projects in Lincoln, Nebraska, USA.]
Blog
19 February 2015, 19:31 UTCCheating at incremental games using angularjs
I don't know a thing about javascript frameworks, but I like to cheat at
incremental games. So it's frustrating when a game is made with some framework
that seems to leave everything inaccessible. (I think this is more about
the framework trying to be hygenic than anti-cheating)
So I was happy to learn enough about angularjs to cheat at my favorite
incremental game of the moment, Swarm Simulator.
var sc = angular.element(document.querySelector('.ng-scope')).scope()
sc.env.isDebugEnabled = 1
sc.game._units.byName.nexus.prodByName.energy.val = new Decimal(1000)
sc.game.unit('mutagen')._addCount(new Decimal(1e100))
Cheating at incremental games using angularjs
I don't know a thing about javascript frameworks, but I like to cheat at incremental games. So it's frustrating when a game is made with some framework that seems to leave everything inaccessible. (I think this is more about the framework trying to be hygenic than anti-cheating)
So I was happy to learn enough about angularjs to cheat at my favorite incremental game of the moment, Swarm Simulator.
var sc = angular.element(document.querySelector('.ng-scope')).scope()
sc.env.isDebugEnabled = 1
sc.game._units.byName.nexus.prodByName.energy.val = new Decimal(1000)
sc.game.unit('mutagen')._addCount(new Decimal(1e100))
All older entries
Website Copyright © 2004-2024 Jeff Epler