nothing-simulator/docs/js/upgrade.js

7 lines
303 B
JavaScript
Raw Normal View History

2025-03-05 01:10:20 -05:00
document.querySelector('.buy').addEventListener('click', () => {
if (nothingness < 10) return;
nothingness -= 10;
cubePos.push([Math.random() * 1000 - 500, Math.random() * 1000 - 500, Math.random() * 30 - 200,
Math.random() * 2 - 1, Math.random() * 2 - 1, Math.random() * 2 - 1
])
})