User prompt
Please fix the bug: 'Uncaught TypeError: Cannot read properties of undefined (reading 'width')' in or related to this line: 'var ComputerZone = {' Line Number: 138
Code edit (3 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: humanZoneInstance is undefined' in or related to this line: 'var RoadZone = {' Line Number: 459
Code edit (1 edits merged)
Please save this source code
User prompt
Please fix the bug: 'TypeError: humanZoneInstance is undefined' in or related to this line: 'var RoadZone = {' Line Number: 459
User prompt
Please fix the bug: 'TypeError: humanZoneInstance is undefined' in or related to this line: 'var RoadZone = {' Line Number: 459
User prompt
Please fix the bug: 'ReferenceError: playersZoneWidth is not defined' in or related to this line: 'var RoadZone = {' Line Number: 458
User prompt
Please fix the bug: 'TypeError: RoadZone is undefined' in or related to this line: 'var zoneMiniy = RoadZone.y;' Line Number: 457
User prompt
May you add this line in the game? let rochers = generateRandomRock(nbRochers); //création des rochers
User prompt
Please fix the bug: 'ReferenceError: RoadZone is not defined' in or related to this line: 'var roadZoneInstance = new RoadZone();' Line Number: 434
User prompt
Please fix the bug: 'ReferenceError: ScoreZone is not defined' in or related to this line: 'self.height = game.height - ScoreZone.height - OptionsZone.height;' Line Number: 85
User prompt
May you replace LargeRock, MediumRock, and SmallRock by this Constructor : class Rocher { constructor(tailleRocher = petitRocher, x = RoadZone.width/2, y = RoadZone.height/2) { this.name = "rocher"; this.dxHotLeftSpot = petitRocherDxHotLeft; //Offset du point chaud du sprite (point de contact avec le rocher a gauche) décalage par rapport au point d'ancrage this.dyHotLeftSpot = petitRocherDyHotLeft; this.dxHotRightSpot = petitRocherDxHotRight; //Offset du point chaud du sprite (point de contact avec le rocher a droite) décalage par rapport au point d'ancrage this.dyHotRightSpot = petitRocherDyHotRight; this.isBeingPushed = false; //Flag qui indique si le rocher est pousse par un buldo this.vitesse = 0.0; this.pushedByHuman = null; //BuldoRock qui pousse le rocher this.pushedByOrdi = null; //BuldoZer qui pousse le rocher this.totalPushers = 0; //Nombre de buldos qui poussent le rocher (+1 pour un buldoRock, -1 pour un buldoZer) //Ajout des assets // Chargez l'image contenant les sprites : 3 sprites de 100x100px sur une ligne. let rochers_textures = []; // Tableau pour stocker les textures des rochers let baseTexture2 = /* to complete LK correct lines */ for (let i = 0; i < 3; i++) { let texture = /* to complete with LK correct lines */ } // Créez des sprites individuels à partir des textures : l'ancrage est au centre du sprite let rocher_petit_sprite = /* to complete with LK correct lines */ let rocher_moyen_sprite = /* to complete with LK correct lines */ let rocher_gros_sprite = /* to complete with LK correct lines */ //Taille du rocher this.tailleRocher = tailleRocher; //taille du rocher (2=petit, 4=moyen, 8=gros) this.sprite = /* to complete with LK correct lines */ if (typeof tailleRocher === 'object') { this.sprite.x = tailleRocher.x || RoadZone.width/2; this.sprite.y = tailleRocher.y || RoadZone.height/2; this.tailleRocher = tailleRocher.tailleRocher || petitRocher; } //Attribution du sprite en fonction de la taille du rocher if (this.tailleRocher == petitRocher) { this.sprite = rocher_petit_sprite; } if (this.tailleRocher == moyenRocher) { this.sprite = rocher_moyen_sprite; } if (this.tailleRocher == grosRocher) { this.sprite = rocher_gros_sprite; } this.sprite.x = x; this.sprite.y = y; //Ancrage et echelle du sprite rocher par defaut this.sprite.anchor.set(0.5); this.sprite.scale.set(1.0); //Attribution des offsets du point chaud en fonction de la taille du rocher if (this.tailleRocher == petitRocher) { this.dxHotLeftSpot = petitRocherDxHotLeft; this.dyHotLeftSpot = petitRocherDyHotLeft; this.dxHotRightSpot = petitRocherDxHotRight; this.dyHotRightSpot = petitRocherDyHotRight; } if (this.tailleRocher == moyenRocher) { this.dxHotLeftSpot = moyenRocherDxHotLeft; this.dyHotLeftSpot = moyenRocherDyHotLeft; this.dxHotRightSpot = moyenRocherDxHotRight; this.dyHotRightSpot = moyenRocherDyHotRight; } if (this.tailleRocher == grosRocher) { this.dxHotLeftSpot = grosRocherDxHotLeft; this.dyHotLeftSpot = grosRocherDyHotLeft; this.dxHotRightSpot = grosRocherDxHotRight; this.dyHotRightSpot = grosRocherDyHotRight; } //Attribution du nom du sprite rocher if (this.tailleRocher == petitRocher) { this.name = "Petit Rocher"; } if (this.tailleRocher == moyenRocher) { this.name = "Moyen Rocher"; } if (this.tailleRocher == grosRocher) { this.name = "Gros Rocher"; } }//fin constructor
User prompt
May you add this list of variables to the game : //PARAMETRES DIVERS DU JEU let nbRochers = 10; //nombre de rochers let vitesseBuldo = 8.0; //vitesse de déplacement des buldos a vide, vitesse/2 quand ils poussent un petit rocher, vitesse/4 pour un moyen, vitesse/8 pour un gros let humanCamp = 1; //camp du joueur humain let ordiCamp = -1; //camp du joueur ordinateur let ancrageMedian = 0.5; //ancrage median des sprites let buldoRockHotSpotX = 35;//92; //hotspot X du sprite buldoRock, offset du sprite par rapport à l'ancrage let buldoRockHotSpotY = 0; //hotspot Y du sprite buldoRock let buldoRockBkHotSpotX = -40; //hotspot arriere du buldoRock let buldoRockBkHotSpotY = 0; let buldoZerHotSpotX = -35;//-43; //hotspot X du sprite buldoZer, offset du sprite par rapport à l'ancrage let buldoZerHotSpotY = 0; //hotspot Y du sprite buldoZer let buldoZerBkHotSpotX = 35; //hotspot arriere du buldoZer let buldoZerBkHotSpotY = 0; let petitRocher = 2; //taille du rocher (2=petit, 4=moyen, 8=gros) let petitRocherDxHotLeft = -16;//-45; //hotspot X du sprite petitRocher, offset du sprite par rapport à l'ancrage let petitRocherDyHotLeft = 0; //hotspot Y du sprite petitRocher let petitRocherDxHotRight = 20;//45; //hotspot X du sprite petitRocher, offset du sprite par rapport à l'ancrage let petitRocherDyHotRight = 0; //hotspot Y du sprite petitRocher let moyenRocher = 4; //taille du rocher (2=petit, 4=moyen, 8=gros) let moyenRocherDxHotLeft = -35; //hotspot X du sprite moyenRocher, offset du sprite par rapport à l'ancrage let moyenRocherDyHotLeft = 0; //hotspot Y du sprite moyenRocher let moyenRocherDxHotRight = 15; //hotspot X du sprite moyenRocher, offset du sprite par rapport à l'ancrage let moyenRocherDyHotRight = 0; //hotspot Y du sprite moyenRocher let grosRocher = 8; //taille du rocher (2=petit, 4=moyen, 8=gros) let grosRocherDxHotLeft = -40; //hotspot X du sprite grosRocher, offset du sprite par rapport à l'ancrage let grosRocherDyHotLeft = 0; //hotspot Y du sprite grosRocher let grosRocherDxHotRight = 45; //hotspot X du sprite grosRocher, offset du sprite par rapport à l'ancrage let grosRocherDyHotRight = 0; //hotspot Y du sprite grosRocher let typeRotation = 1; //Type 1 = rotation let typeLigneHtoX = 2; //Type 2 = déplacement horizontal vers une position X let typeLigneVtoY = 3; //Type 3 = déplacement vertical vers une position Y
User prompt
May you replace the function placeRockRandomly by this function : function generateRandomRock(nombreRochers) { //Calcul de positions aléatoire pour les rochers dans la zone de route let zoneMiniy = RoadZone.y; let zoneMaxiy = RoadZone.y + RoadZone.height; //Calcul des ordonnees possibles pour les rochers entre zoneMiniy + 50 et zoneMaxiy - 50 let ordonneesPossibles = []; for (let i = zoneMiniy + 50; i < zoneMaxiy - 50; i += 100) { ordonneesPossibles.push(i); } //Securite : si le nombre de rochers demande est superieur au nombre d'ordonnees possibles, on ajuste le nombre de rochers if (nombreRochers > ordonneesPossibles.length) { nombreRochers = ordonneesPossibles.length; } let rochers = []; //Creation des rochers for (let i = 0; i < nombreRochers; i++) { // Choisir une taille de rocher aléatoire let sizes = [petitRocher, moyenRocher, grosRocher]; let size = sizes[Math.floor(Math.random() * sizes.length)]; // Choisir une abscisse aléatoire pour le rocher let zoneMinix = RoadZone.x + 100; let zoneMaxix = RoadZone.x + RoadZone.width - 100; let x = Math.random() * (zoneMaxix - zoneMinix) + zoneMinix; //Choix d'une ordonnee aleatoire en supprimant l'ordonnee choisie precedemment let index = Math.floor(Math.random() * ordonneesPossibles.length); let y = ordonneesPossibles[index]; ordonneesPossibles.splice(index, 1); // Créer le rocher let rock = new Rocher(size,x, y); rochers.push(rock); } return rochers; }//fin generateRandomRock
User prompt
Ok, if I am supposed to make the game, let me finish it with Visual Studio Code in PixiJS with the help of Github and Bing copilots and I'll give you the code.
User prompt
May you replace Game Zones and Game Rules in the comment by: /* Game Zones: - The game is played on a 2048x2732 pixels screen. 0. let playersZoneWidth = 200; 1. let ScoreZone = {x: 0, y: 0, width: app.screen.width, height: 200}; 2. let OptionsZone = {x: 0, y: app.screen.height-200, width: app.screen.width, height: 200}; 3. let HumanZone = {x: 0, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height}; 4. let ComputerZone = {x: app.screen.width-playersZoneWidth, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height}; 5. let RoadZone = {x: playersZoneWidth, y: 200, width: app.screen.width-HumanZone.width-OrdiZone.width, height: app.screen.height-OptionsZone.height-ScoreZone.height}; Game settings: - At the start of the game, 10 rocks of three different sizes (small, medium, large) are randomly placed in the RoadZone. - The rocks have square 100x100 pixels sprites centered (anchor 0.5, 0.5). - The Rocks have a front and a back zone to simulate a contact area with the Buldos. - Each rock is on its own horizontal 100 pixels wide line. - There are two players: the human player and the computer. - Each player has two Buldos to move the rocks, a kind of bulldozer. - The human Buldos are called "buldoRocks" and the computer Buldos are called "buldoZers". - The buldoRocks have a 100x100 pixels sprite centered (anchor 0.5, 0.5). - The buldoZers have a 100x100 pixels sprite centered (anchor 0.5, 0.5). - The Buldos have a front and a back zone to simulate the pushing of the rocks. - At the start of the game, the buldoRocks are placed in the HumanZone and the buldoZers are placed in the ComputerZone (abscissa centered and ordinate equally spaced 1/3, 2/3). - The buldoRocks are facing right and the buldoZers are facing left. Game rules: - The buldoZers are controlled by the computer and will move randomly (or futher with AI) to push the rocks towards the HumanZone. - The buldoRocks are controlled by the human player and will move when the player clicks or taps to push the rocks towards the ComputerZone. - The human player selects a buldoRock by clicking or tapping on it, then selects a rock to push by clicking or tapping on it. - The Buldos may only move in lignes, horizontally or vertically, and may not move diagonally. - When a Buldo is selected to push a rock, the Buldo must move to the ordonnate of the rock - To move to the ordonnate of the rock, the Buldo will probably have to make a 90 degres rotation, then move vertically up or down to the ordonnate of the rock, then make a 90 degres rotation to face the rock. - When a rock is entirely into the HumanZone or the ComputerZone, it is out of the game (loss of visibility of its sprite or destruction of the object Rock). - When a Buldo has finished pushing a rock, it comes back to its camp (HumanZone or ComputerZone) horizontally and once in its camp, it turns at 180 degres to face the RoadZone. - A Buldo moving without pushing anything has a base speed V (to futher adjust). - When a bulldozer pushes a small rock, the combined speed is V/2. - When a bulldozer pushes a medium rock, the combined speed is V/4. - When a bulldozer pushes a large rock, the combined speed is V/8. - When two bulldozers push a rock together, one behind the other, the pushing speeds are doubled compared to the speed of a single bulldozer. - It is possible to push a rock that is being pushed by the opponent to block or slow down its movement. - If a second Buldo is added in this situation, the rock will be pushed in the direction where there are fewer Buldos. - The game ends when all rocks have been moved out of the RoadZone. - The winner is the one with the highest score, based on the number and size of rocks successfully moved to the opposing zone (small rock is 1 point, medium rock is 2 points, large rock is 3 points). - The goal for the human player is to move all the rocks to the ComputerZone while preventing the computer from doing the same. - There is no time limit in this game, and players must use their judgment to determine the best way to move rocks and use their Buldos to win the game. */
User prompt
May you replace in the comment the game Zones by : Game Zones: - The game is played on a 2048x2732 pixels screen. 0. let playersZoneWidth = 200; 1. let ScoreZone = {x: 0, y: 0, width: app.screen.width, height: 200}; 2. let OptionsZone = {x: 0, y: app.screen.height-200, width: app.screen.width, height: 200}; 3. let HumanZone = {x: 0, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height}; 4. let ComputerZone = {x: app.screen.width-playersZoneWidth, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height}; 5. let RoadZone = {x: playersZoneWidth, y: 200, width: app.screen.width-HumanZone.width-OrdiZone.width, height: app.screen.height-OptionsZone.height-ScoreZone.height};
User prompt
Hi,there should be no background color.
User prompt
The bulldorocks may be selected by mouse click. If one is selected the other are all unselected.
User prompt
Change the colors according : the human zone color is blue and the computer zone is red. The road zone is gray, the score zone is green and the option zone is white.
User prompt
May you change the score zone height and the option zone height from 200 to game.height*200/2732?
User prompt
May you change the width of the human zone and the computer zone from 200 to game.width/10?
User prompt
May you change the background color fro
User prompt
May you set the background color to black ?
User prompt
The screen is still black, is it possible to remove the backgroundColor?
===================================================================
--- original.js
+++ change.js
@@ -1,6 +1,134 @@
-/****
+/****
* Initialize Game
-****/
+****/
+//Type 3 = déplacement vertical vers une position Y
var game = new LK.Game({
- backgroundColor: 0x000000
-});
\ No newline at end of file
+ backgroundColor: 0xAAAAAA
+});
+
+/****
+* Game Code
+****/
+//PARAMETRES DIVERS DU JEU
+/*
+Game Zones:
+- The game is played on a 2048x2732 pixels screen.
+0. let playersZoneWidth = 200;
+1. let ScoreZone = {x: 0, y: 0, width: app.screen.width, height: 200};
+2. let OptionsZone = {x: 0, y: app.screen.height-200, width: app.screen.width, height: 200};
+3. let HumanZone = {x: 0, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+4. let ComputerZone = {x: app.screen.width-playersZoneWidth, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+5. let RoadZone = {x: playersZoneWidth, y: 200, width: app.screen.width-HumanZone.width-OrdiZone.width, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+- At the start of the game, 10 rocks of three different sizes are randomly placed in the RoadZone.
+- Each player has two bulldozers to move the rocks.
+- A bulldozer moving without pushing anything has a base speed V.
+- When a bulldozer pushes a small rock, the combined speed is V/2.
+- When a bulldozer pushes a medium rock, the combined speed is V/4.
+- When a bulldozer pushes a large rock, the combined speed is V/8.
+- When two bulldozers push a rock together, one behind the other, the pushing speeds are doubled compared to the speed of a single bulldozer.
+- The human player clicks on a rock to command the nearest free bulldozer to push it towards the ComputerZone.
+- The computer-controlled bulldozers randomly choose a rock and push it towards the HumanZone.
+- If a human bulldozer is free, the player can click on a rock already being pushed to have the bulldozer move behind the first one and push the rock faster.
+- It is possible to push a rock that is being pushed by the opponent to block or slow down its movement. If a second bulldozer is added in this situation, the rock will be pushed in the direction where there are fewer bulldozers.
+- The game ends when all rocks have been moved out of the RoadZone. The winner is the one with the highest score, based on the number and size of rocks successfully moved to the opposing zone.
+- The goal for the human player is to move all the rocks to the ComputerZone while preventing the computer from doing the same. Effective strategy and skillful bulldozer management are necessary to maximize the score.
+There is no time limit in this game, and players must use their judgment to determine the best way to move rocks and use their bulldozers to win the game.
+*/
+/*
+Game Zones:
+- The game is played on a 2048x2732 pixels screen.
+0. let playersZoneWidth = 200;
+1. let ScoreZone = {x: 0, y: 0, width: app.screen.width, height: 200};
+2. let OptionsZone = {x: 0, y: app.screen.height-200, width: app.screen.width, height: 200};
+3. let HumanZone = {x: 0, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+4. let ComputerZone = {x: app.screen.width-playersZoneWidth, y: 200, width: playersZoneWidth, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+5. let RoadZone = {x: playersZoneWidth, y: 200, width: app.screen.width-HumanZone.width-OrdiZone.width, height: app.screen.height-OptionsZone.height-ScoreZone.height};
+Game settings:
+- At the start of the game, 10 rocks of three different sizes (small, medium, large) are randomly placed in the RoadZone.
+- The rocks have square 100x100 pixels sprites centered (anchor 0.5, 0.5).
+- The Rocks have a front and a back zone to simulate a contact area with the Buldos.
+- Each rock is on its own horizontal 100 pixels wide line.
+- There are two players: the human player and the computer.
+- Each player has two Buldos to move the rocks, a kind of bulldozer.
+- The human Buldos are called "buldoRocks" and the computer Buldos are called "buldoZers".
+- The buldoRocks have a 100x100 pixels sprite centered (anchor 0.5, 0.5).
+- The buldoZers have a 100x100 pixels sprite centered (anchor 0.5, 0.5).
+- The Buldos have a front and a back zone to simulate the pushing of the rocks.
+- At the start of the game, the buldoRocks are placed in the HumanZone and the buldoZers are placed in the ComputerZone (abscissa centered and ordinate equally spaced 1/3, 2/3).
+- The buldoRocks are facing right and the buldoZers are facing left.
+Game rules:
+- The buldoZers are controlled by the computer and will move randomly (or futher with AI) to push the rocks towards the HumanZone.
+- The buldoRocks are controlled by the human player and will move when the player clicks or taps to push the rocks towards the ComputerZone.
+- The human player selects a buldoRock by clicking or tapping on it, then selects a rock to push by clicking or tapping on it.
+- The Buldos may only move in lignes, horizontally or vertically, and may not move diagonally.
+- When a Buldo is selected to push a rock, the Buldo must move to the ordonnate of the rock
+- To move to the ordonnate of the rock, the Buldo will probably have to make a 90 degres rotation, then move vertically up or down to the ordonnate of the rock, then make a 90 degres rotation to face the rock.
+- When a rock is entirely into the HumanZone or the ComputerZone, it is out of the game (loss of visibility of its sprite or destruction of the object Rock).
+- When a Buldo has finished pushing a rock, it comes back to its camp (HumanZone or ComputerZone) horizontally and once in its camp, it turns at 180 degres to face the RoadZone.
+- A Buldo moving without pushing anything has a base speed V (to futher adjust).
+- When a bulldozer pushes a small rock, the combined speed is V/2.
+- When a bulldozer pushes a medium rock, the combined speed is V/4.
+- When a bulldozer pushes a large rock, the combined speed is V/8.
+- When two bulldozers push a rock together, one behind the other, the pushing speeds are doubled compared to the speed of a single bulldozer.
+- It is possible to push a rock that is being pushed by the opponent to block or slow down its movement.
+- If a second Buldo is added in this situation, the rock will be pushed in the direction where there are fewer Buldos.
+- The game ends when all rocks have been moved out of the RoadZone.
+- The winner is the one with the highest score, based on the number and size of rocks successfully moved to the opposing zone (small rock is 1 point, medium rock is 2 points, large rock is 3 points).
+- The goal for the human player is to move all the rocks to the ComputerZone while preventing the computer from doing the same.
+- There is no time limit in this game, and players must use their judgment to determine the best way to move rocks and use their Buldos to win the game.
+*/
+var nbRochers = 10; //nombre de rochers
+var vitesseBuldo = 8.0; //vitesse de déplacement des buldos a vide, vitesse/2 quand ils poussent un petit rocher, vitesse/4 pour un moyen, vitesse/8 pour un gros
+var humanCamp = 1; //camp du joueur humain
+var ordiCamp = -1; //camp du joueur ordinateur
+var ancrageMedian = 0.5; //ancrage median des sprites
+var buldoRockHotSpotX = 35; //hotspot X du sprite buldoRock, offset du sprite par rapport à l'ancrage
+var buldoRockHotSpotY = 0; //hotspot Y du sprite buldoRock
+var buldoRockBkHotSpotX = -40; //hotspot arriere du buldoRock
+var buldoRockBkHotSpotY = 0;
+var buldoZerHotSpotX = -35; //hotspot X du sprite buldoZer, offset du sprite par rapport à l'ancrage
+var buldoZerHotSpotY = 0; //hotspot Y du sprite buldoZer
+var buldoZerBkHotSpotX = 35; //hotspot arriere du buldoZer
+var buldoZerBkHotSpotY = 0;
+var petitRocher = 2; //taille du rocher (2=petit, 4=moyen, 8=gros)
+var petitRocherDxHotLeft = -16; //hotspot X du sprite petitRocher, offset du sprite par rapport à l'ancrage
+var petitRocherDyHotLeft = 0; //hotspot Y du sprite petitRocher
+var petitRocherDxHotRight = 20; //hotspot X du sprite petitRocher, offset du sprite par rapport à l'ancrage
+var petitRocherDyHotRight = 0; //hotspot Y du sprite petitRocher
+var moyenRocher = 4; //taille du rocher (2=petit, 4=moyen, 8=gros)
+var moyenRocherDxHotLeft = -35; //hotspot X du sprite moyenRocher, offset du sprite par rapport à l'ancrage
+var moyenRocherDyHotLeft = 0; //hotspot Y du sprite moyenRocher
+var moyenRocherDxHotRight = 15; //hotspot X du sprite moyenRocher, offset du sprite par rapport à l'ancrage
+var moyenRocherDyHotRight = 0; //hotspot Y du sprite moyenRocher
+var grosRocher = 8; //taille du rocher (2=petit, 4=moyen, 8=gros)
+var grosRocherDxHotLeft = -40; //hotspot X du sprite grosRocher, offset du sprite par rapport à l'ancrage
+var grosRocherDyHotLeft = 0; //hotspot Y du sprite grosRocher
+var grosRocherDxHotRight = 45; //hotspot X du sprite grosRocher, offset du sprite par rapport à l'ancrage
+var grosRocherDyHotRight = 0; //hotspot Y du sprite grosRocher
+var typeRotation = 1; //Type 1 = rotation
+var typeLigneHtoX = 2; //Type 2 = déplacement horizontal vers une position X
+var typeLigneVtoY = 3;
+var ScoreZone = {
+ x: 0,
+ y: 0,
+ width: game.width,
+ height: 200
+};
+var OptionsZone = {
+ x: 0,
+ y: game.height - 200,
+ width: game.width,
+ height: 200
+};
+var HumanZone = {
+ x: 0,
+ y: ScoreZone.height,
+ width: game.width / 10,
+ height: game.height - ScoreZone.height - OptionsZone.height
+};
+var ComputerZone = {
+ x: game.width - game.width / 10,
+ y: ScoreZone.height,
+ width: game.width / 10,
+ height: HumanZone.height
+};
\ No newline at end of file
A small rock
a rock without any shadow and four time smaller than the original.
Blue color
a rock is being crunched so there is smoke and peaces of rocks viewed from top.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Un trophée de victoire sous forme d'une coupe d'où s'échappe un feu d'artifice.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Red bulldozer viewed strictly from top. Top view as if we are a drone.. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
Remove yellow lines.