Skip to main content

Charlie's Game Compendium

A small collection of terminal games, playable straight from your command line:

  • Connect 4
  • Number Guesser
  • Tic Tac Toe

Each game keeps its own local leaderboard, and the app remembers your name between sessions.

Install

Once published to PyPI:

pip install charlie-game-compendium

Play

charlie-games

That's it — the installer adds a charlie-games command to your PATH, so it runs from any directory.

Data storage

Your saved name and each game's leaderboard are stored as plain text files under ~/.charlie_game_compendium/ (your home directory), not in your current folder, so the command works the same no matter where you run it from.

Development

Clone the repo and install it locally in editable mode to test changes without reinstalling each time:

git clone https://github.com/CharlieLindsay/charlie-s-game-compendium.git
cd charlie-s-game-compendium
pip install -e .
charlie-games

Publishing a new version to PyPI

  1. Bump the version field in pyproject.toml.

  2. Build the distribution files:

    pip install --upgrade build twine
    python -m build
    

    This creates a dist/ folder with a .tar.gz and a .whl file.

  3. Upload to PyPI (you'll need a PyPI account and an API token):

    python -m twine upload dist/*
    

    Twine will prompt for a username and password — use __token__ as the username and your PyPI API token (starting with pypi-) as the password.

  4. Once it's live, anyone can install it with pip install charlie-game-compendium.

It's worth doing a search on pypi.org for the project name before your first upload — package names can't be changed or reused later.

Metadata

Release files for charlie-game-compendium 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for charlie-game-compendium 0.1.0
File Size Uploaded
charlie_game_compendium-0.1.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for charlie-game-compendium 0.1.0
File Interpreter ABI Platform
charlie_game_compendium-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.8 kB

Release files / charlie_game_compendium-0.1.0.tar.gz

Download URL charlie_game_compendium-0.1.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7737a5f3aaa3408d04acba4af091310be55cc08271e231e40ea3b950e1654d96
BLAKE2b-256 checksum
How to use checksums
2e85083e650612b3384cbe4be0ab5f225a5be2983045002876714714ccd38982
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release files / charlie_game_compendium-0.1.0-py3-none-any.whl

Download URL charlie_game_compendium-0.1.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e63d861bb5aa1d31c387a63c2422b9da3efc51226e69fb452692ed3fccb7d53d
BLAKE2b-256 checksum
How to use checksums
9580b1e4bca83d772b26bb28f71c65b36d7ce29a9bcfe2bd7850d9dd0c91c00d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.10

Release history Release notifications | RSS feed

0.1.2

2 release files

0.1.1

2 release files

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page