repl.it
@panniu/

Car_Race_Game

HTML, CSS, JS

No description

fork
loading
Files
  • index.html
  • Car.jpg
  • car.js
  • normal.js
  • p5.dom.js
  • p5.js
  • p5.sound.js
  • truck.js
  • truck.png
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>
<html>
  <title>Car Racing</title>

    <meta charset="UTF-8">
    <title>Car Game</title>
    <script src="https://wzrd.repl.it/bundle/../p5"></script><script src="https://wzrd.repl.it/bundle/../p5"></script><script src="p5.js"></script>
    <script src="p5.dom.js"></script>
    <script src="p5.sound.js"></script>
    <script src="normal.js" type="text/javascript"></script>
    <script src="car.js" type="text/javascript"></script>
    <script src="truck.js" type="text/javascript"></script>
    <style>

      html {
        text-align: center;
        vertical-align: middle;
        background-color: #999;
      }
    </style>
    <p id="p1"></p>
</html>
result
console
?