Skip to main content

Bit-Chess


Bitboard implementation for Chess in Python

Table of Contents

About

This project implements Chess bitboards using NumPy 64-bit integers and various NumPy array functions for rotated bitboard implementation. This process is used to store all possible orthogonal and diagonal moves, and their respective blocker formations calculated as a unique index. A legal move generator is created by keeping track of pinned pieces and other game conditions to reduce the need for recalculating opposing attacks.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Installing

pip install bit-chess-python

Usage

If you want to run PERFT, import the PERFT class and call the perft function:

from 

Built Using

  • NumPy
  • gmpy2

Acknowledgements

Metadata

Release files for bit-chess-python 0.1.1

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

Source distribution (sdist)

Source distribution for bit-chess-python 0.1.1
File Size Uploaded Provenance Actions
bit_chess_python-0.1.1.tar.gz 12.2 kB Without provenance Details for bit_chess_python-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bit-chess-python 0.1.1
File Interpreter ABI Platform Actions
bit_chess_python-0.1.1-py3-none-any.whl Python 3 none any Details for bit_chess_python-0.1.1-py3-none-any.whl

Total release size: 27.1 kB

Release files / bit_chess_python-0.1.1.tar.gz

Download URL bit_chess_python-0.1.1.tar.gz
Size 12.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b9d9f257c87e32d6ae9e9d9ee62f4ec75ff299b25faf5e0d55184bdc00c0aebf
BLAKE2b-256 checksum
How to use checksums
78bf8fc02a3dcc4587fd1918d98558779f90bcc8de7766d70e780f634dc8b994
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / bit_chess_python-0.1.1-py3-none-any.whl

Download URL bit_chess_python-0.1.1-py3-none-any.whl
Size 14.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5e0b92a85552ea9a3cf8e65552a8770a5bd758f7475ffb361674ae764c49720
BLAKE2b-256 checksum
How to use checksums
b858de089b18d438c57fa309056376517451e3767b6e55dc2b4ed499147aa04f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Security for bit-chess-python 0.1.1

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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