Follow what Yoshi says. The person who collects most gems in 25 seconds is the winner. Use different names for the cars so as to not get confused.
Credits: followed instructions from "coding games from scratch" book partly. Hope you all like it.