Skip to content

tassaron/speed-limit

Repository files navigation

Speed Limit 🛑

A game for html5 canvas using vanilla javascript. Works with a touchscreen too!

Play It on Rainey Arcade

The index.html in this repo is just an example. The game can be embedded anywhere with HTML elements that have IDs game and pause_button

How to play

Pass cars ahead of you in your lane to collect their coins. Copper, silver, and gold coins are worth $500, $1000, and $1500 respectively. Coins will also spawn randomly on the opposite lane of the road, along with jerrycans you can collect to refuel your vehicle. Watch that fuel meter!! And don't crash into too many traffic cones either. There's a lot of crazy drivers out there... but at least you're following the speed limit! 🤷‍♀️

Credits

See assets/README.md for graphics attribution