Joachim Ford Games Articles News Experiments

10.07.2023

Leap Lava

An (almost) 1 kilobyte platform game.

PLAY

Hello everyone! Recently, I entered a competition for projects under 1024 bytes of code. It was a great challenge to compress a complete platform game into this tight size limitation.

Use the arrow keys to leap from the lava! Can you get to 2048 points in time?

Here is the entire 1067 byte source code: (It was originally 1024 bytes but it's a bit longer due to performance and response fixes)
_='S=Math.sin,R=l=>{(w=a.width,h=a.height,Y>m+P?(k):(A-A-GU)Z5,t.2^$-$-Y+P)/15,i@P;)c[g="DStyle"]=L${P*SXZK},jK`f="DRect"](j5,w,h);X@60;)s/12,o=SX)*w/s,T=w+s,r(wZ-sZ+o*s-A)%T+T)%T-szr,G$,s,-h+$)vi<59?LB,B,B)`:"#011";(Yy,Y|I?u?y12:Y?Yyy.4zp=U+h-A,q=Y+GP-$,5jPHE8V)E29V^r?U4:lJ(U-=4^I=ji=-<+++)d=h-A+60,eS((O%P9)*O)<.6|(b%30==K)&iJ20*(SX)+i)-~X/3K*2-(bJi+SX+t/X/15))/.7^F$+Ge,p>d-50&pF-PJ(Cq+(F-P^C<-9-5*y?Up-d?4:-4:(YC-y,I=1))zd,F,6je);c.ft="3em arial"v"#f50b"zj-$+hZ,w,m?mm-W=.2+.3*S(t/3K+tZ4K<2.4?W:2.4)E16QE37QvL255,jj${.6-(m-$)/3e3})`zjjw,hH,c.DText(t<2048?~~t:(m,"YOU WIN!!"^9,45^M>150J0==kJlocati.reload(^requestAnimatiFrame(R)},t=y=U=I=M=m=1,Y1jA=$50jk={},N=X,f)=>{38=q.Code)|90_|87_J(u=f^39_|68_?r=f:37_|65_|81_J(l=f)},down,1^up^R()zf](vg]=j0,_==q^),Z/2X(iV,q+9,14,14Q,q+14,5,5)P99L`rgb(K0)J&&H)v"#fff"GhZ-Ezp+DfillB${i}@=0;++i<w)/6K;i=(+=*i=ik./400*s>0=-onfor,c[=0:key~~((A=jM++=>NX';for(i of'@BDEGHJKLPQVXZ^_jvz')with(_.split(i))_=join(pop());eval(_)


03.05.2023

Squirtcopter

An Infinite JoBase Shooter

I've just finished another JoBase game! Use your helicopter to explore a procedural world of procedural enemies with procedural powers! The game can go on forever, but my current record is 8581m (I could have carried on, but I'd already spent some hours on it and was getting bored). Anyway, feel free to email me your score if you like, and I hope you enjoy it!
You can play the game by typing python -m JoBase.examples.squirtcopter into the terminal. Alternatively, you can play it online here. (I'll just mention that the online version of JoBase can be a bit laggy. For best performance, download JoBase and run the game from there)

You can find its source code here.


10.12.2022

Blue Hue

A JoBase Platform Game

I have just finished making a new platform game for JoBase - a fast python library for beginner coders.

JoBase has been a collaboration between me and my brother for a while now, and it's nice to finally have given it a solid contribution.
You can play Blue Hue by installing JoBase (and Python, if you haven't already) and running the command python -m JoBase.examples.blue_hue into the terminal. Feel free to check its source code on Github.


© Copyright Joachimford.uk — contact@joachimford.uk