Skip to content

Instantly share code, notes, and snippets.

@NonlinearFruit
Last active October 19, 2022 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NonlinearFruit/5b9275f6b68e18025643887bd5f5775f to your computer and use it in GitHub Desktop.
Save NonlinearFruit/5b9275f6b68e18025643887bd5f5775f to your computer and use it in GitHub Desktop.
JS Hack that plays a spaceship, typing game https://zty.pe/
// Record:
// - Score = 104102
// - Accuracy = 100
// - Streak = 34724
// - Wave = 111
function goGoGadgetBot() {
try {
var chars = Array.from(ig.game.entities[0].remainingWord);
var length = chars.length;
for( var j = 0; j < length; ig.game.virtualKeydown(chars[j++]));
} catch (e) {}
setTimeout(goGoGadgetBot,1);
}
goGoGadgetBot();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment