User prompt
Fix Bug: 'TypeError: this.handleVillagersFallingInLove is not a function' in this line: 'this.handleVillagersFallingInLove(villagers, houses, resources);' Line Number: 249
User prompt
Fix Bug: 'TypeError: this.handleVillagersFallingInLove is not a function' in this line: 'this.handleVillagersFallingInLove(villagers, houses, resources);' Line Number: 249
User prompt
Fix Bug: 'TypeError: this.handleVillagersFallingInLove is not a function' in this line: 'this.handleVillagersFallingInLove(villagers, houses, resources);' Line Number: 249
User prompt
Fix Bug: 'TypeError: this.handleVillagersFallingInLove is not a function' in this line: 'this.handleVillagersFallingInLove(villagers, houses, resources);' Line Number: 249
User prompt
new villager are create only when two villager fall in love
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'wood')' in this line: 'if (self.gameResources.wood.amount >= 200 && self.gameResources.rock.amount >= 200 && self.gameResources.food.amount >= 200) {' Line Number: 39
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'resources')' in this line: 'if (self.game.resources.wood.amount >= 200 && self.game.resources.rock.amount >= 200 && self.game.resources.food.amount >= 200) {' Line Number: 39
User prompt
Fix Bug: 'TypeError: Cannot read properties of undefined (reading 'resources')' in this line: 'if (self.game.resources.wood.amount >= 200 && self.game.resources.rock.amount >= 200 && self.game.resources.food.amount >= 200) {' Line Number: 38
User prompt
villager can create house only when 200 of each resource are available and the house image is the same than the first house
User prompt
improve villager IQ a lot
User prompt
Fix Bug: 'Uncaught ReferenceError: WorkPlace is not defined' in this line: 'var workplace = new WorkPlace();' Line Number: 197
User prompt
Fix Bug: 'Uncaught ReferenceError: House is not defined' in this line: 'var houses = [new House()];' Line Number: 176
User prompt
improve villager IQ with 10 pass on the code
User prompt
improve villager IQ with two pass on the code
User prompt
improve villager IQ
User prompt
improve 6 time
User prompt
improve 3 time
User prompt
improve
User prompt
improve
User prompt
villager can create new house
User prompt
improve villlager work system
User prompt
improve villager behavior
User prompt
a new villager is create every 0.5 second
User prompt
fix the villager behavior
User prompt
fix the villager text
===================================================================
--- original.js
+++ change.js
A background of a paysage with plain and without tree or montainbut no water see from the top in the air 100m by 100m Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
One human medieval villager in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a house in a warcraft 2 style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree a rock and crambery in a RTS style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A heart comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A cloud in a comic style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A market in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An Inn in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An school in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An bakery in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A well in a RTS fantasy style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A tree in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
An apple in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A rock in a rts style Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A home in a RTS and fantasy style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A brewery in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
A lumberjack in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a marketplace in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.
a festival in a fantasy rts style. Single Game Texture. In-Game asset. 2d. Blank background. High contrast. No shadows.