Cribbage for your command line
Project description
# Cribbage for your command line
Implementation of [cribbage](https://www.pagat.com/adders/crib6.html) for two players. Text-based GUI for use on your command line (so you can appear to be working). Several kinds of opponents
Rando: opponent that plays a random legal move
Amy: AI that uses an enumerative strategy
Andrew: AI that has been trained by playing 100,000 games
## How to use
For regular use, you can run with
`bash python main.py human ai --player1-name Alex --player2-name Amy `
where you can replace “Alex” with your name and “Amy” for the name you wish to call the opponent. See python main.py -h for more.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file cribbage-0.1.0-py3.6.egg
.
File metadata
- Download URL: cribbage-0.1.0-py3.6.egg
- Upload date:
- Size: 15.3 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf509535e4ef164577eeb4e10d3df7157fe846f626b89334f827dc0c728dc041 |
|
MD5 | cbfef44d994ba7118fc7640c3282ea37 |
|
BLAKE2b-256 | 2aad3e18443f09a4d40ad5af8f21cd4eef2aead07884d6ee9f33a3042f69a9bc |
File details
Details for the file cribbage-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: cribbage-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72be6a236ff8ad8783c7739e83982d9925b1fecd93eefe32fc8650d381dac1ab |
|
MD5 | c617e01a1218574ea002ab48398e263d |
|
BLAKE2b-256 | fb5dbe4d6bbb102dd8a816f438e4caf82d4ab5bfc1865de48c6fa85ebde4c19c |