Skip Navigation

Infinite Craft, an endless crafting game, is out.

neal.fun Infinite Craft

A game about crafting

Infinite Craft

Attention: This game does not have a save feature, but people on Hacker News have already found a way to save their progress.

Export the items to a json string:

console.log(JSON.stringify({discoveries: window.$nuxt.$root.$children[2].$children[0].$children[0]._data.discoveries, elements:window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements}))

Load the items from a json string:

a = PUT YOUR JSON HERE;

window.$nuxt.$root.$children[2].$children[0].$children[0]._data.elements = a.elements; window.$nuxt.$root.$children[2].$children[0].$children[0]._data.discoveries = a.discoveries;

55

You're viewing a single thread.