RK70825 / TogePy

Text based Pokemon and AI testing
GNU General Public License v2.0
1 stars 0 forks source link

Create Basic CPU #9

Closed RK70825 closed 10 years ago

RK70825 commented 10 years ago

Create a Basic CPU that randomly selects an action with the following structure:

Switch out 10% of the time. If you didn't switch out randomly select a move with equal probability given to all moves.

RK70825 commented 10 years ago

Complete in two ways.

1) The CPU maximizes over the expected damage of the moves it has. 2) The CPU randomly chooses a move or switch, all with equal probabilities.