FROGGY ROAD

It's either Frogger or Crossy Road, made in Pico-8 in 560 bytes!  This was made as an entry for TweetTweetJam.

Use the arrow keys to move, and press X after you die to reset.  Your score is based on your forward travel distance.


Froggy Road's Source Code

x=0y=0l=0q=x
r=y
f=rnd
g=flr
h=circfill::_::flip()cls(1)z=btnp()x+=(g(z/2)%2-z%2)*5y-=g(z/8)%2-g(z/4)%2
q+=(x-q)/3r+=(y-r)/3
for z=y+25,y-2,-1 do
srand(z)o=f()m=8+f(16)p=(z-r+2.3)/12rectfill(-1,64+9/p,sgn(p)*127,127,6-z%2)
?"🐱",61+(x-q)/p+(z-y)*99,62+7.5/p,3
for i=1,sgn(z-2)*f(8)do
for k=0,1 do
for j=-2,2 do
u=(i*m*4+j+t()*m+o-q)%198-99
if(z==y and abs(u-x+q)<2)l=1
v=p-k/60n=u/v+64w=5/v+64h(n,w,2/v,z%5)h(n,w+2/v,(abs(j)-1)/v,0)end
end
end
end
if(l>0)goto d
goto _::d::pset(f(128),f(128),8+f(2))
?"❎ reset",46,62,7
?"score: "..y,3,3
if(btn(5))run()
goto d

Froggy Road's Source Code - How to Load

If you own Pico-8, you can copy and paste the block of code from above into a blank cartridge to play the game locally.


StatusReleased
PlatformsHTML5
Rating
Rated 4.6 out of 5 stars
(5 total ratings)
Author2DArray
GenreAction
Made withPICO-8
Tagscode-golf, PICO-8, sourcecode, tweetjam, tweettweetjam

Comments

Log in with itch.io to leave a comment.

hi score 102

(+1)

oh but crossy roads is frogger!

you caught me!

the game is very cool, but at the begginning you can go so far away back that you cant see the cars, which was pretty funny the first time i found out about it. good game!

(+1)

79 is my best score so far! And yeah, I'll repeat everyone else's reaction. HOW IS THIS POSSIBLE

(+1)

What the heck?  This is black magic.

(+1)

its... just...

REALLY

good.