- 250 + (Array.isArray(compMove) ? (compMove.length - 1) * 750 : 0);
- setTimeout(() => self.processMove(compMove), animationLength);
- self.compThink = false;
- if (self.game.score != "*")
- // User action
- self.$emit("game-stopped");
+ animationLength = 250 + (realLength - 1) * 750;
+ setTimeout(
+ () => {
+ self.compThink = false;
+ self.processMove(compMove);
+ },
+ animationLength
+ );