diff --git a/.travis.yml b/.travis.yml index bee8e84..70ba6ba 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,7 +3,7 @@ python: - "3.8" - "3.9" # - "3.10" - - "nightly" + # - "nightly" install: - pip install --upgrade pip diff --git a/docs/_coverpage.md b/docs/_coverpage.md index b8d6462..1e736db 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -1,7 +1,7 @@ [logo](/) -# [**euchre-cli** **0.6.0**](/) +# [**euchre-cli** **0.6.1**](/) > Play euchre in your terminal. diff --git a/docs/changelog.md b/docs/changelog.md index 273d5d9..1cff2c5 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -7,6 +7,12 @@ The format is based on and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html "Semantic Versioning"). +## [0.6.1] - 2022-02-23 + +### Fixed + +- [48](https://github.com/boldandbrad/euchre-cli/issues/48) Duplicate player names + ## [0.6.0] - 2021-11-24 ### Updated diff --git a/euchre/__init__.py b/euchre/__init__.py index 502aaba..abac6e7 100644 --- a/euchre/__init__.py +++ b/euchre/__init__.py @@ -1,2 +1,2 @@ # release version -version = "0.6.0" +version = "0.6.1" diff --git a/euchre/util/player_util.py b/euchre/util/player_util.py index 8c55dbe..5de3070 100644 --- a/euchre/util/player_util.py +++ b/euchre/util/player_util.py @@ -2,8 +2,6 @@ import names -from random import choice, choices - from euchre.abstract import Player @@ -20,7 +18,7 @@ def unique_cpu_name(players: List[Player]) -> str: while True: name = names.get_first_name() - if name not in taken_names: + if name.lower() not in taken_names: break return name