Skip to main content

Play euchre in your terminal.

Project description

euchre-cli :spades:

Build Status codecov PyPi

Play euchre in your terminal.

Installation

pip install euchre-cli

Usage

Play a game of euchre.

euchre play

Or watch one.

euchre play --watch

Planned Features

Release 1.x

  • Ability to enter user's name
  • Ability to play through a complete game of euchre with 3 cpus
  • First black jack dealt is dealer for hand 1
  • Choose trump suit from suits in hand only mode
  • Current dealer redeals if no trump is selected
  • Rotate dealer to the left each hand
  • Validate card plays, reprompt if player attempts to not follow suit
  • Trick winner leads next trick
  • Watch CPU mode
  • Euchre rules overview
  • Output euchre-cli version
  • Regulated game output pace
  • Game debug logs
  • Github pages hosted docs
  • Unit tests
  • Travis CI integration
  • Published to pypi

Release 2.x

  • Play again prompt at end of game
  • Auto play again mode
  • --quick mode
  • Ability to save user configs
  • Ability to revert to default configs
  • Adjust cpu play level
  • Refer to Left and Right bowers as such
  • Auto play last card in hand
  • Option to auto-sort hand
  • 'Throw them in' mode
  • 'Stick the dealer' mode
  • Ability to adjust speed of cpu decision making
  • Shell output coloring and emojis

Future

  • Play multiple cards at once if they are the highest remaining cards
  • Ability to go alone
  • Go alone with help mode
  • Ability to pause and resume games
  • Ability to save/view/delete user play stats
  • Ability to renege and call other players out for it
  • 'Nines and tens' mode
  • 'Ace no face' mode
  • Three handed euchre mode
  • Install with homebrew on mac and linux ?
  • Install with Chocolatey on windows ?

Changelog

Changelog

Development

Contributing

git clone https://github.com/bradleycwojcik/euchre-cli
pip install -e .
euchre --help

Docs

euchre-cli uses docsify for documentation. First, install the docsify cli.

npm install docsify-cli -g

Then, serve the docs on localhost:3000.

docsify serve docs

Tests

pytest

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

euchre-cli-0.3.2.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

euchre_cli-0.3.2-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file euchre-cli-0.3.2.tar.gz.

File metadata

  • Download URL: euchre-cli-0.3.2.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1

File hashes

Hashes for euchre-cli-0.3.2.tar.gz
Algorithm Hash digest
SHA256 a9f921242709ba593dc08abc8fdac171b9a5c6ed1e22cbdb8a68e1db8a6ee1ea
MD5 f19349f5458cc6deda422d2744062760
BLAKE2b-256 bb479c288ce9d38aebd0e1421217a7692ed56cadc9e012236dd1580cf05744a7

See more details on using hashes here.

File details

Details for the file euchre_cli-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: euchre_cli-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1

File hashes

Hashes for euchre_cli-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9768daf24f7e28a91c316ee5282dffc8b11143b2394c9cb0835937f8dace1d2
MD5 be035a8c4d868b22053b9cd0f529413f
BLAKE2b-256 2ea126c0599c4dcfa3c195c123706f2bc9389ade785ae6c2505cef7812e564c3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page