Skip to content

Commit

Permalink
re-add battles.py to pokemon
Browse files Browse the repository at this point in the history
  • Loading branch information
phinate committed Jun 24, 2023
1 parent ceee4ad commit 5014a73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@ pip install -e .

- Have node installed and install showdown
- See: https://nodejs.dev/en/learn/how-to-install-nodejs/

```bash
npm install pokemon-showdown # -g flag might be needed on some systems
```

## Running

To run locally start the pokemon showdown server:
Expand Down
2 changes: 1 addition & 1 deletion src/p2lab/genetic/genetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
from poke_env import PlayerConfiguration
from poke_env.player import SimpleHeuristicsPlayer

from p2lab.battling.battles import run_battles
from p2lab.genetic.fitness import win_percentages
from p2lab.genetic.matching import dense
from p2lab.genetic.operations import fitness_mutate, mutate, selection
from p2lab.pokemon.battles import run_battles

if TYPE_CHECKING:
from p2lab.pokemon.teams import Team
Expand Down
File renamed without changes.

0 comments on commit 5014a73

Please sign in to comment.