Just to get things out. Some guy wrote a blog in which he wasted hours playing a game and he found a way to automate things.
So here are the cheats or ahem testing scripts.
# Giant Shaft Cheats
The lines below simulate clicks, to run then open up the Javascript Console (in Chrome this is Ctrl+Shift+i) and enter them. To change the amount of simulated clicks change the second value in the for loop ( i < 100 ) to something other than 100. Going above 1,000 will probably crash the app
# Do Business Opportunities
for ( i=0; i < 100; i++ ) { $('div[ng-click="doBusiness(opportunity, $event)"]').click(); }
# Buy Minium Wage Worker
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[0].click(); }
# Buy Cubicle
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[1].click(); }
# Buy Salary Employee
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[2].click(); }
# Buy Hardware
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[3].click(); }
# Buy HR Department
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[4].click(); }
# Buy Accounting Department
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[5].click(); }
# Buy Benefits Package
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[6].click(); }
# Buy (Useless) Upper Management
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[7].click(); }
# Buy Executive
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[8].click(); }
# Buy Office Building
for ( i=0; i < 100; i++ ) { $('div[ng-click="buyStoreItem($event, item)"]')[9].click(); }
Here is the blog:
https://levlaz.org/hacking-an-angular-js-game-for-fun-and-fake-profit/And this is the game.
http://giantshaft.com/game/#/businessI think you can use the ROI optimizers via Google Dev tools. I am tempted to try the game but short or limited on time. So, if you're feeling bored and want to experiment go ahead.
Comments