Cubicle Commotion

Add to
My games
Add to
Wishlist
Save to
Collection
No reviews
Exceptional
Meh
Skip

About

Cubicle Commotion

This game is an entry for TweetTweetJam 6 and contains just 557 characters of code, small enough to fit in 2 tweets.

How to play:

Use the left and right arrow keys to hop from corner to corner and catch the flying red squares. If you miss one you lose one of your 10 chances. Catch 10 squares to gain an extra chance. Press Enter to start a new game.

Cubicle Commotion was written in Ruby with DragonRuby Game Toolkit. I had valuable help from the DragonRuby Discord community, especially Levi and Mooff.

Code:

def^o;intersect_rect?o;end def r;X,Y,W,L=630,350,0,[Q+=0.02,Q].map(&:rand_sign)end def tick a A||=(B,C,N,O,R,T,Q=a.keyboard.key_down,[D=440,E=160,G=400,G],0,10,[0,0,S=1e4,S,F=255,0]*3,0,3;r;[D,E,D,U=560,V=840,U,V,E]) C[0]=R[7]>0?D+rand(9)-5:D rand<0.05&&W+=1 b=W<1?[0,0]:L O>0&&(j=[X+=b.x,Y+=b.y,K=20,K,F] A.rotate!2*B.left_right I=[A.x-K,A.y-K,40,40,T] j^C||(r;O-=1;R[7]=F) j^I&&(r;N+=1;T=F;N%10==0&&O+=1)) R[7]-=5;T-=5 B.enter&&A=p a.borders<<C<<[630,350,K,K] a.solids<<[R,C+[F]*3,j,I] a.labels<<[640,600,"#{N}/#{O}",1,1] a.lines<<[D,E,V,U]<<[D,U,V,E]end
Platforms
Genre
Release date
Developer
Akzidenz-Grotesk
Age rating
Not rated

System requirements for PC

System requirements for macOS

System requirements for Linux

System requirements for Web

Read more...
Cubicle Commotion screenshot, image №2920677 - RAWG
Edit the game info
Last Modified: Jul 2, 2021

Where to buy

itch.io