An open API service indexing awesome lists of open source software.

https://github.com/upasanadhameliya/basiccargame


https://github.com/upasanadhameliya/basiccargame

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# BasicCarGame

1. Increase the speed of the player by **1 after every 5 seconds**, starting speed should always be **5.**
2. Increment the score only when the **rear end of myCar (yellow)** has passed the **rear end of an enemyCar (green)**. The score should be **incremented by 10** at each passing. Score shouldn’t increment in any other case.