Skip to content
← Back to Community
Krossy Road
Profile icon
derekwan

https://KrossyRoad--derekwan.repl.co

This game was developed for educational purposes for Bit By Bit (http://littlebitbybit.org/\). Worldwide high scores aren't available yet, but based on my personal experience of watching other people play, the current record is 429. Have fun!

Voters
Profile icon
MaxJohnson11
Profile icon
H4RRYGR3GORY
Profile icon
kurdyz
Profile icon
ALYABAYDERE
Profile icon
SagarSharma12
Profile icon
AyomideAdeniyi
Profile icon
DominionOlajobi
Profile icon
JeffreyHickman
Profile icon
NicholinaGustaf
Profile icon
WilmerJonsson2
Comments
hotnewtop
Profile icon
Hasnainlatif

can you put the code on

Profile icon
[deleted]

The arrow keys scroll up and down. To prevent this, add this line in your event listener, where you handle up/down arrow events:
event.preventDefault();

Also please check out my game at https://repl.it/talk/challenge/Space-Runner/12625.

Profile icon
derekwan

@GameMaster1928
thanks for the tip! added the code

Profile icon
ebest

...

This file cannot be displayed: https://storage.googleapis.com/replit/images/1550023059946_7c423812e220393598f7b5cc2a8cbbf6.pn

Profile icon
BaconLord1111
Profile icon
BaconLord1111
Profile icon
BaconLord1111
Profile icon
MrGod

bad

Profile icon
ChenmingSong

Screenshot 2021-02-24 at 7.48.09 PM

Profile icon
LittleNomster

@derekwan
why does it no longer work?

Profile icon
derekwan

@LittleNomster
Sorry about that; it should work now

Profile icon
RafaelEscalante

This is my High score

This file cannot be displayed: https://storage.googleapis.com/replit/images/1554761585577_ca29583eea5271f0d27db60a309e3b6d.pn

Profile icon
vedprad1

Whenver I hit the up arrow button, my page scrolls up. i know that there is a way to prevent this through coding. You might want to consider this?

Profile icon
[deleted]

@vedprad1
, the line of code is
event.preventDefault();

Profile icon
RyCanFly

give me the code

Profile icon
ebest

I made it so far!
This is police vs. chicken.

This file cannot be displayed: https://storage.googleapis.com/replit/images/1550022605965_0cb437f3afd6beff7759e8dcc48967c8.pn

Profile icon
Noob_vn

dumb police

Profile icon
taseen_ash

This file cannot be displayed:

Profile icon
bZ2
  • 1000 because you can keep going back
Profile icon
lvinwan

I got a highscore of 32 hahaha :P

Profile icon
Noob_vn

@ALVINWAN1
i got more its 100

Profile icon
batman360

132 Highscore

Profile icon
josephstalin2

I got to 110. This is really good!
image

Profile icon
Phi123456789

i got 1866 through bugs

Profile icon
derekwan

@phi123456789
: Thanks for letting me know. Bug has been fixed!

Profile icon
Phi123456789

@derekwan
: unfortunately no the bug still occurs but you just need to move left or right allot an idea i have to fix it is useing a kill-planes to form a box outside the camera to stop the bird from going where the cars are not loaded

Profile icon
derekwan

@phi123456789
: Left/right movement has been restricted. Let me know if you find anything else!

Profile icon
lvinwan
Profile icon
HappyFakeboulde

43, great!

Profile icon
derekwan

I added some new power ups to spice things up :)

Profile icon
itbarsoum

This is really cool

@derekwan
!

Profile icon
derekwan

@itbarsoum
: Thanks! I'm glad you like it!

Profile icon
andypalan

This game is surprisingly challenging lol. I can't seem to beat 27 hahaha

Profile icon
emilychang

this game is addicting! i keep losing but it's hard to stop playing hahaha

Profile icon
ryderm

222 High Score.

Profile icon
Daughson

177

Profile icon
lvinwan

Sick, the new variety of powerups is great - what's possibly better than green, golden, and blue chickens :P

Profile icon
haya

Very cool game. Here is the score board API, adding it to your game will make it much more fun! : https://repl.it/ibuiltthis/games/p/attention-scoreboard-api

Profile icon
derekwan

@haya
: Thank you! I will look into this

Profile icon
derekwan

The game was developed by our group as part of our program to help teach underprivileged kids how to code. Check out the other games developed by our group:

  1. https://repl.it/ibuiltthis/games/p/kars
  2. https://repl.it/ibuiltthis/games/p/world-war-z
  3. https://repl.it/ibuiltthis/games/p/boxy-run