Connect 4 CLI
The classic 4-in-a-line game, also called connect 4, playable from the CLI or shell.
Details
This is a simple implementation of the classic connect 4 game. It can be played directly from the CLI or shell.
Installation
The game is available as a pip package. Download it with the following command:
pip install connect-4-cli
Preferably, install in virtual environment. In Windows, for example:
- Run the following commands from the CLI:
py -m venv venv
- Activate the virtual environment with the
activatescript inside the./venv/Scripts/folder:- Using command window:
call venv/Scripts/activate- Or using
powershell:
./venv/Scripts/activate.ps1 pipinstall the package.
How to play
Run the following command (with activated virtual environment if installed there) to start the game:
connect-4-cli
Play the game using keyboard keys, as prompted in the game.
Metadata
Release files for connect-4-cli 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| connect-4-cli-0.0.9.tar.gz | 11.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| connect_4_cli-0.0.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.7 kB
Release files / connect-4-cli-0.0.9.tar.gz
| Download URL | connect-4-cli-0.0.9.tar.gz |
|---|---|
| Size | 11.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2101b6597a7aebde324d3bca7666317a85baf79193c9617db7fae5fb59ffaaf8
|
|
BLAKE2b-256 checksum How to use checksums |
1e86213af25b6d5ffcde8406b92217500858b55c649a09961e7746462edd2d06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / connect_4_cli-0.0.9-py3-none-any.whl
| Download URL | connect_4_cli-0.0.9-py3-none-any.whl |
|---|---|
| Size | 11.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
75d3770aee25635bc19fd84100b73cb0b4b4b15b47d970b4fb1e0d5b7a19d6df
|
|
BLAKE2b-256 checksum How to use checksums |
5cffe4f3014e0bf45450155a6e049c69c0d63bbb520c10ca9047ad196419a0bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.3.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for connect-4-cli 0.0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.