Skip to content

Commit

Permalink
Merge pull request #50 from boldandbrad/develop
Browse files Browse the repository at this point in the history
0.6.1
  • Loading branch information
boldandbrad authored Feb 23, 2022
2 parents e4ffcdb + c2a4cdf commit 6e03f76
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ python:
- "3.8"
- "3.9"
# - "3.10"
- "nightly"
# - "nightly"

install:
- pip install --upgrade pip
Expand Down
2 changes: 1 addition & 1 deletion docs/_coverpage.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

[<img src="_media/logo_light.png" alt="logo" width="200"/>](/)

# [**euchre-cli** **<small>0.6.0</small>**](/)
# [**euchre-cli** **<small>0.6.1</small>**](/)

> Play euchre in your terminal.
Expand Down
6 changes: 6 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion euchre/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# release version
version = "0.6.0"
version = "0.6.1"
4 changes: 1 addition & 3 deletions euchre/util/player_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

import names

from random import choice, choices

from euchre.abstract import Player


Expand All @@ -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
Expand Down

0 comments on commit 6e03f76

Please sign in to comment.