Behind the scenes


This was a breeze to program. A lot of fun to do, once you learn pico-8, its always a good time coming back after a while. 

I used this jam as an opportunity to check on picotron web export and it looks like it is not quite there yet. My export got a stack overflow and was unable to play. I didn't investigate further, even though I could've hit a corner case bug and vast majority of functionality may work fine.

I might work on another game for the jam too like perhaps a typing trainer. I've had a hankering for educational games recently.

Here's the picotron code for anyone interested. It includes SUBTRACTION as a bonus feature for all you quick maths fans.

```

function _draw() 

function p(a) return ceil(rnd(a)) end

cls(p(15))

function w()

::x::

flip() if btnp()>0 then goto y end goto x

::y::

end

function m(a,b) return a*b end

function n(a,b) return a+b end

function o(a,b) return a-b end

function b(x) return ({n,o,m})[p(x)] end

q,r,s=p(99),p(99),p(999)

u,v=b(3),b(2)

a={[m]="*",[n]="+",[o]="-"}

?q..a[u]..r..a[v]..s, 199,99,7

w()

c=u(q,r)

?"="..c..a[v]..s

w()

d=v(c,s)

?"="..d

w()

end


```

Files

math_web.zip Play in browser
84 days ago

Leave a comment

Log in with itch.io to leave a comment.