Design a car game.

Start button should start the game with following condition.

  1. Place a 5 random pertol pump between 0-100km(random).
  2. Car will have the initial petrol of 30L.
  3. In each steps car move 0-6km(random) and it gives mileage of 1Km/L.
  4. If Car stops or passes the petrol pump it gets filled with 20L petrol.
  5. If car reach 100Km then you win but if petrol in car get empty then game will over.
  6. You should be able to restart the game again by pressing start button.

Output should look like this:

Output