Share your repls and programming experiences

← Back to all posts
Krossy Road
derekwan (176)

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!

Commentshotnewtop
Hasnainlatif (0)

can you put the code on

LittleNomster (112)

@derekwan why does it no longer work?

derekwan (176)

@LittleNomster Sorry about that; it should work now

[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.

derekwan (176)

@GameMaster1928 thanks for the tip! added the code

RafaelEscalante (0)

This is my High score

vedprad1 (887)

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?

[deleted]

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

RyCanFly (0)

give me the code

ebest (654)

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

bZ2 (1)
  • 1000 because you can keep going back
Stephen_Chien (13)

Very good, just that the chicken teleports. It's now the SUPERCHICKEN!!!

DJGraham (0)

i got 200 exactly

pabenia (0)

tyghsib game is dfowasem,

CarysS (27)

This was posted before but I think possibly adding a timer or warning for when power ups are going to end would be great

CarysS (27)

Yay High Score of 156! I really like the power ups that's new. Why are all the cars police? Am I running from the law?

tudothom16 (0)

I just hit 510 boiiiiis

EthanMorris1 (4)

157 highscore nice game bro

wongyikai (0)

i got a high score of 152!!!!!! Epic!!!

NightAndStars (0)

This is awesome! :D

orien (1)

i got high score of 112

TimmyChen1 (120)

Hey y'all, just popping in to let you guys know that we've set up a discord server for y'all to discuss games and programming on Repl.it - join here: https://discord.gg/346Tapr :)

WitherOrNot (1)

I got a score of -2018 through bugs.
High score?

OwenLeonard (0)
  1. By the way, amazing game!
derekwan (176)

@owenleonard: Thank you Owen! I'm glad you like it =)

MuhammadBaidhaw (0)

nice game..i got 500

derekwan (176)

@muhammadbaidhaw: Congrats! You are the tentative world record holder :p