Skip to content

Instantly share code, notes, and snippets.

Jonathan Cormier jjcf89

View GitHub Profile
jjcf89 / snippet-oracle.js
Last active May 29, 2020
Javascript to draw lines in Yucata's Oracle of Delphi
View snippet-oracle.js
// Draw paths of each ship through out the game
// Need to run code in console and replay the game
y$.gameState.GameData.PlayerData.forEach(function(n, t) {
// Select players ship
const i = y$".boardship" + t);
// Save original transform only once
if (!i.old) {
i.old = i.transform;
// Create new wrapper around original transform and draw lines
You can’t perform that action at this time.