diff --git a/images/infinite_zoom.png b/images/infinite_zoom.png index 6655b35..847bcc5 100644 Binary files a/images/infinite_zoom.png and b/images/infinite_zoom.png differ diff --git a/images/infinite_zoom_big.png b/images/infinite_zoom_big.png index 40af340..424d42a 100644 Binary files a/images/infinite_zoom_big.png and b/images/infinite_zoom_big.png differ diff --git a/images/snakes_and_ladders.png b/images/snakes_and_ladders.png index b2040ed..29de740 100644 Binary files a/images/snakes_and_ladders.png and b/images/snakes_and_ladders.png differ diff --git a/images/the_mitigator.png b/images/the_mitigator.png index ee27853..8ba6267 100644 Binary files a/images/the_mitigator.png and b/images/the_mitigator.png differ diff --git a/main.css b/main.css index e0427da..39fbc6c 100644 --- a/main.css +++ b/main.css @@ -69,7 +69,6 @@ a:hover {color: #037} transition-duration: var(--transition); border-radius: var(--radius); margin: 0 2em 1em 0; - opacity: .9; box-shadow: 0px 0px 10px #0005 } @@ -154,7 +153,7 @@ a:hover {color: #037} /*-------- other --------*/ -div.code > pre { +div.code, div.codeWrap { background-color: #0241; box-shadow: 0px 0px 10px #0005; border-radius: .5em; @@ -162,9 +161,13 @@ div.code > pre { font-family: code; overflow: auto; padding: 1em; - margin-bottom: 2em; + margin: 2em 0 2em 0; max-height: 20em } +.codeWrap { + overflow-wrap: break-word +} + h2, h3 {margin: 0} h3 {margin-top: .5em} diff --git a/news.html b/news.html index a154f61..9451367 100644 --- a/news.html +++ b/news.html @@ -1,85 +1,109 @@ - - - - - - - - - - - Joachim Ford - - - - - - - - -
-
- Joachim Ford - - Games - Articles - News - Experiments - - -
-
- -
-

-
-

- 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 - - - + + + + + + + + + + + + Joachim Ford + + + + + + + + +
+
+ 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 + + + diff --git a/news/leapLava.html b/news/leapLava.html new file mode 100644 index 0000000..839d093 --- /dev/null +++ b/news/leapLava.html @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/news/leap_lava.png b/news/leap_lava.png new file mode 100644 index 0000000..1c05189 Binary files /dev/null and b/news/leap_lava.png differ