+ 1
Help me out with game over logic!
5 Answers
+ 2
I think you will get help faster when you describe precisely what the code is supposed to do.
+ 2
On each iteration, calculate the distance between the cars. If the distance is so small that the cars must overlap, you can detect a crash and stop the animation.
0
Lisa when the car crashes .. game over
0
How to update service in php