782 B
782 B
ROAD RUSH Road Rush is a driving game made with p5.js. Choose a car colour, avoid oncoming cars, and try to get the highest score.
CONTROLS
- Up arrow: Move up a lane
- Down arrow: Move down a lane
- Right arrow: Drive forward or choose the next car colour
- Left arrow: Drive backward or choose the previous car colour
- Space: Start the game or retry after a crash
HOW TO RUN
- Download or clone this project.
- Open the project folder in a code editor, such as Visual Studio Code.
- Run index.html with Live Server, another local server, or open index.html directly in a browser.
- You can now play the game.
CREDITS AND SOURCES Game made with JavaScript and p5.js.
-
p5.js library: https://p5js.org/
-
p5.js CDN: https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.3.1/p5.js