xxxxxxxxxx
18
function setup() {
createCanvas(800, 400); // setting the with and the height
}
function draw() {
background(25, 244, 150); // red, green, blue
}
/*
- Create 3 players. A, B, C
- 🚀 Create a race track
- Create a finish line
- Player to move
- When the first player crosses
the finish line,
- the game ends
- we declare a winner
*/