User prompt
The choices should be on bigger clickable buttons
User prompt
Now replace the background with an image
User prompt
Add a blue background
User prompt
Give Contrairian, One Step Ahead and Copycat a random first choice before they use their usual behavior
User prompt
The end text is not readable. Not more then 2 words in a line
User prompt
Can you put line 184 in the code enemy.choose(); move up 2 lines
User prompt
Can you put line 185 in the code enemy.choose(); move up 2 lines
User prompt
Make comments to the code
User prompt
Same for the copycat. He should choose my last choice, not the current choice
User prompt
Fix that
User prompt
If the player did a total win against an enemy type, remove this enemy type from the list of possible enemies.
User prompt
Move the total win counter above the player win counter
User prompt
Put the total win counter on the top of the other counters
User prompt
Add a total win counter. If the player click on it, a closable popup is revealed with the names of enemies, you already beated
User prompt
Fix Bug: 'TypeError: self.resetGame is not a function. (In 'self.resetGame()', 'self.resetGame' is undefined)' in this line: 'self.resetGame();' Line Number: 140
User prompt
Fix Bug: 'TypeError: undefined is not an object (evaluating 'self.enemyTypesDefeated.push')' in this line: 'self.enemyTypesDefeated.push(enemy.type);' Line Number: 134
===================================================================
--- original.js
+++ change.js
@@ -46,8 +46,9 @@
break;
case 7:
self.name = 'Copycat';
choices = [self.game.lastPlayerChoice];
+ if (choices[0] === undefined) choices = ['scissors', 'stone', 'paper'];
break;
case 8:
self.name = 'One Step Ahead';
choices = [self.game.lastPlayerChoice === 'scissors' ? 'paper' : self.game.lastPlayerChoice === 'stone' ? 'scissors' : 'stone'];