Skip to content

Commit

Permalink
Fix Connect4 name
Browse files Browse the repository at this point in the history
  • Loading branch information
jojolebarjos committed Feb 25, 2024
1 parent f282699 commit 52cfa4e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ from game import *


# All games have the same API, choosing Connect4 here
State = ConnectState
State = Connect4State

# A class method is provided to create a new game state
# Note: some games do feature randomness, hence the `sample` name
Expand Down Expand Up @@ -79,6 +79,11 @@ python ./scripts/benchmark.py
pytest -v
```

Available games:

* [Connect 4](https://en.wikipedia.org/wiki/Connect_Four)
* [Chinese checkers](https://en.wikipedia.org/wiki/Chinese_checkers), 2 players only


## References

Expand Down
3 changes: 1 addition & 2 deletions scripts/benchmark.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import random
import time

from game import *
from game import Connect4State as State

State = ConnectState

duration = 5.0

Expand Down

0 comments on commit 52cfa4e

Please sign in to comment.