Skip to content

Commit a72b3f4

Browse files
committed
Fix
1 parent 2219a04 commit a72b3f4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
from squadro.state.evaluators.ml import ModelConfigfrom squadro.agents.montecarlo_agent import MonteCarloDeepQLearningAgent# Squadro
2-
3-
41
[![Release](https://img.shields.io/pypi/v/squadro?label=Release&style=flat-square)](https://pypi.org/project/squadro/)
52
[![CI](https://github.com/MartinBraquet/squadro/actions/workflows/ci.yml/badge.svg)](https://github.com/MartinBraquet/squadro/actions/workflows/ci.yml/badge.svg)
63
[![CD](https://github.com/MartinBraquet/squadro/actions/workflows/cd.yml/badge.svg)](https://github.com/MartinBraquet/squadro/actions/workflows/cd.yml/badge.svg)
@@ -221,7 +218,10 @@ For three pawns, it should take a few hours to train on a typical CPU (8–16 co
221218
Once done, one can use the play against the AI agent (setting the same value for `model_path`):
222219
223220
```python
224-
agent = squadro.MonteCarloDeepQLearningAgent(model_path='path/to/model')
221+
agent = squadro.MonteCarloDeepQLearningAgent(
222+
model_path='path/to/model',
223+
max_time_per_move=1.,
224+
)
225225
squadro.GamePlay(agent_1=agent).run()
226226
```
227227

0 commit comments

Comments
 (0)