var time = 0
var initialI = 1;
if (initialI < 7; i = 1);
if (initialI > 7; i = initialI - 6);
var cookie = (i + 1);
var points = (cookie - 2)
// game loop
if (i = 1) {
time = (time + 1);
println(time);
}
else if (i > 1) {
cookie = i
print(cookie);
Create your playground on Tech.io
This playground was created on Tech.io, our hands-on, knowledge-sharing platform for developers.