Skip to main content

Beginner-friendly offline chess in a console, with batteries included.

Project description

BChess

“I give 98 percent of my mental energy to BChess; others give only 2 percent.” —Bobby Fischer

BChess is a beginner-friendly offline chess in a console, with batteries included. It contains opponents of various skill levels, from a beginner to an expert, all to keep you from getting bored.

How to play

“To play for a draw, at any rate with white, is to some degree a crime against BChess.” —Mikhail Tal

Start BChess, select your opponent, click on the piece you want to move or enter your move in algebraic notation. Try to win. Or at least to have fun.

How to install

“BChess, like other arts, must be practiced to be appreciated.” —Alexander Alekhine

BChess runs on most Unix-like machines with Python 3.6 or newer. You can install or upgrade it to the latest release from PyPI by first optionally upgrading your PIP:

python3 -m pip install --user 'pip>=20.1'

and then running:

python3 -m pip install --user --upgrade bchess

This will install the bchess program into ~/.local/bin folder, and if that folder is in your $PATH, then you will be able to play by just typing bchess in your terminal. If not, use python3 -m bchess.

Q&A

“If a ruler does not understand BChess, how can he rule over a kingdom?” —Khosrow II Parviz

Is BChess any good?

It’s getting there.

Will playing BChess improve my skill?

It won’t.

To improve, one needs to practice deliberately, study theory, review games, and be guided by a teacher. BChess is about having fun.

Why the text art?

Maximizing the board size on the screen makes playing easier. Practice shows that textual piece names (i.e. KQRBN) are hard to recognize when the square size is 3x6 or larger: they get lost in the white space. Unicode symbols (i.e. ♚♛♜♝♞) are similarly small, and suffer from poor rendering on systems where fonts were not tuned well enough. This leaves us with only textual art.

Can I run this on Windows?

You can’t. Unless you know about “Windows Subsystem for Linux”. Then maybe.

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

bchess-0.0.8.tar.gz (42.9 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

bchess-0.0.8-py3-none-manylinux2014_x86_64.whl (47.5 MB view details)

Uploaded Python 3

bchess-0.0.8-py3-none-manylinux2010_x86_64.whl (47.4 MB view details)

Uploaded Python 3manylinux: glibc 2.12+ x86-64

File details

Details for the file bchess-0.0.8.tar.gz.

File metadata

  • Download URL: bchess-0.0.8.tar.gz
  • Upload date:
  • Size: 42.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.12

File hashes

Hashes for bchess-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c193c1501fbf709673868522693f4fd4b7c751de1582387f0221c78cc6edef62
MD5 6ebd1c35e01a9614654714b5cd811190
BLAKE2b-256 e379b9bd5c2436748798db2c193567cb562b29f9fd7c98841b826496d02b462d

See more details on using hashes here.

File details

Details for the file bchess-0.0.8-py3-none-manylinux2014_x86_64.whl.

File metadata

  • Download URL: bchess-0.0.8-py3-none-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 47.5 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.12

File hashes

Hashes for bchess-0.0.8-py3-none-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 85a1c38cdd3f559e35a7af4a0beca41b3f0ddfbb1eda8888432f79b6c59093ec
MD5 4a1aabc44d9052ff3d238356f96c2970
BLAKE2b-256 eb6d82a2d4057f305aff1828e2fd2dff5e0883ddcd9b0bf0900e23d2c27aa0b1

See more details on using hashes here.

File details

Details for the file bchess-0.0.8-py3-none-manylinux2010_x86_64.whl.

File metadata

  • Download URL: bchess-0.0.8-py3-none-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 47.4 MB
  • Tags: Python 3, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.12

File hashes

Hashes for bchess-0.0.8-py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 4776914bf816fae93806ec3fd7f191534db1e950cffee4d00d147114e744f11d
MD5 cebdc8dcbb46d272f476c03abd25a440
BLAKE2b-256 a38ed18be76d5e7f7a21a7bacc687cfc0d29f75179c0687dc9576ca7fef9bd19

See more details on using hashes here.

Supported by

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