road rush toegevoegd

This commit is contained in:
Piet Nijbacker committed 2026-10-13 15:24:32 +02:00
commit d8c002e50d
3 files changed
+523

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
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
1) Download or clone this project.
2) Open the project folder in a code editor, such as Visual Studio Code.
3) Run index.html with Live Server, another local server, or open index.html directly in a browser.
4) 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