Skip to main content

High-performance Connect4 library with board sizes from 4x4 to 32x32

Project description

spooky_connect4 🎃👻

Rust and Python library for the game of Connect4.

Features

  • Supports variable board sizes from 4x4 to 32x32.
  • Relatively fast.
  • Out-of-the-box support for DL/ML (action encoding and decoding methods).

Install

Rust

cargo add spooky_connect4

Python

uv add spooky-connect4

Includes type hints.

Develop

Tests

  • fish run_tests.fish
    • fish run_python_tests.fish
    • fish run_rust_tests.fish

Lints

  • fish run_lints.fish

Performance

  • fish run_benchmark.fish

See Also

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

spooky_connect4-0.7.0.tar.gz (28.9 kB view details)

Uploaded Source

Built Distributions

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

spooky_connect4-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl (393.3 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

spooky_connect4-0.7.0-cp314-cp314-macosx_11_0_arm64.whl (359.9 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

spooky_connect4-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl (393.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

spooky_connect4-0.7.0-cp313-cp313-macosx_11_0_arm64.whl (360.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

spooky_connect4-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl (393.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

spooky_connect4-0.7.0-cp312-cp312-macosx_11_0_arm64.whl (359.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spooky_connect4-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl (392.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

spooky_connect4-0.7.0-cp311-cp311-macosx_11_0_arm64.whl (360.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file spooky_connect4-0.7.0.tar.gz.

File metadata

  • Download URL: spooky_connect4-0.7.0.tar.gz
  • Upload date:
  • Size: 28.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spooky_connect4-0.7.0.tar.gz
Algorithm Hash digest
SHA256 aa7bfd564a89702e75572effa4996976c88470859049326df96ae3593316a118
MD5 6f7b332e428290217ed845047109d3d9
BLAKE2b-256 729d887307f9b0c65dfff8f323e8a9c6c1dd61df98bc232c5e482da7490b393c

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0.tar.gz:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 af36f00dec7b0e4ce8e876992e16290b56ea6d6dce08f2732733170fb3b410e4
MD5 94cecd744e206b22d07801860e7409c1
BLAKE2b-256 3d2b13d596a792299a0ead0b97132401ac542c8bc5d7064e2406b04be15979e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp314-cp314-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c731591a41260e09eec0b3b07aad578ee82cc8acab08548eb25fadd210571146
MD5 704cab5c21c532e0d614584409e1ca6e
BLAKE2b-256 75665c2db50931b02d87f65d8af7802769fa2e691f192836b4c55e91d05fbfef

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba6991f5406ed85eb65c2a94e8479e785005032fa9d946c18e55dc84b964e3b4
MD5 77bb2fcb48df05eb601f5ffa5742edc6
BLAKE2b-256 b2ee2a918f44497b15b692a35144d0f839aa9370e423e9820bb81ca6f96a13e9

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f877cba91c169f0418023f1a85c4fb0c1bf00c5b47b1d63f0a319d1919ff5fc1
MD5 80f1cc13a2662763d090563a6e4a670e
BLAKE2b-256 fb08bd4c807255d04a541d7adbacde7e06ca13f9145749dbb0131bf2398cc92e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2efc50280721c954e8551eb571dfc550d8485a47d8325221014ccbf72d91b3e6
MD5 62e1b2eb6eed61b33a7c82b0f4989beb
BLAKE2b-256 78fcd033f872a7b4dc0a17c7de78a45641638203d3d15171619af4d5f5223090

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 05c0810c1d97c6f04d8d794949f78523a4843b59c83bcc8c22509d0c904fc1cf
MD5 0886b9898b10a43b3cc9a3850d917282
BLAKE2b-256 50361d66207fe422e9465139f02365a7ea3d19e0c5d484a234a620ecce192fd7

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0ee4a8621e1f0a5ddf5825b77fef9ce25a449820eeab896f4a00dae4cda6d87d
MD5 cd65e2c3f7ec5b93213ffea55fc7ddff
BLAKE2b-256 2b939a464e084a7f20519bf4d96b5acf5f1782cfcbc85e0642ddc3c5736a8b15

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spooky_connect4-0.7.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 747b39df1460df329a82f29870100daa95b30704b04ca4e1d7465dd104196892
MD5 30d531d3c5d1dcacc0343d0306fa8cc4
BLAKE2b-256 cd0ff53fc3f520c17ec98959890eccb18410a12b21e1eede43647efa03f2c557

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.7.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on snowdrop4/spooky-connect4

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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