Closed ghost closed 2 years ago
Each TTT game, the kid will face a new and random opponent from a collection of opponents.
// const opponents [{name: 'Shirkhan'}, power: 1}, {name: "Simba": power 2}]
for power level 1, the opponent will randomly select a square, so they will be bad.
for power level 2, the opponent's choice will be retrieve from a REST api. This computer player will be better.
each opponent will also have an associated image which we will display.
each opponent will have a slogan, like, "I crush rocks with my bare paws!"
Each TTT game, the kid will face a new and random opponent from a collection of opponents.
for power level 1, the opponent will randomly select a square, so they will be bad.
for power level 2, the opponent's choice will be retrieve from a REST api. This computer player will be better.
each opponent will also have an associated image which we will display.
each opponent will have a slogan, like, "I crush rocks with my bare paws!"