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.6.0.tar.gz (28.7 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.6.0-cp314-cp314-manylinux_2_28_x86_64.whl (392.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

spooky_connect4-0.6.0-cp314-cp314-macosx_11_0_arm64.whl (358.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

spooky_connect4-0.6.0-cp313-cp313-manylinux_2_28_x86_64.whl (392.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

spooky_connect4-0.6.0-cp313-cp313-macosx_11_0_arm64.whl (359.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

spooky_connect4-0.6.0-cp312-cp312-manylinux_2_28_x86_64.whl (392.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

spooky_connect4-0.6.0-cp312-cp312-macosx_11_0_arm64.whl (358.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spooky_connect4-0.6.0-cp311-cp311-manylinux_2_28_x86_64.whl (391.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

spooky_connect4-0.6.0-cp311-cp311-macosx_11_0_arm64.whl (359.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: spooky_connect4-0.6.0.tar.gz
  • Upload date:
  • Size: 28.7 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.6.0.tar.gz
Algorithm Hash digest
SHA256 fc15ba1eda7613bda194b0b645b40ef2629be225b9e22f2a89492da19b02927e
MD5 e3002165290ab0029e215780a2ee9298
BLAKE2b-256 2e822577652f1d5744cd66c06eee20cf21e7d2d6e25a9beea9b70777cef2f65b

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 983c22c7226e3df983b489435a257a2e752eff73c164b92ba93478be2f2555af
MD5 50f5f02cda854111a2c1cab401237147
BLAKE2b-256 c5fa6642a1f41843f2cf8715e5d431563bc516899da807f2d8561e05f901054f

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 35f3501634e99aee4a4efb48984e9d7d25831548af08f54d327b9ffbb58ecdec
MD5 112bbcb028bcb3f79258f026c05c51ba
BLAKE2b-256 fee6e3bb565150e95f5a2c498febd0724fece75810d1a98bf07c23e365e0054a

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a3776969feecc0a604ea964bc02e56035080adf1bdc3fdfec3f481f6901363a2
MD5 add0dc22e430249677e2e271c3ceb15c
BLAKE2b-256 a0f170c8e53287ad2b2ce8a7f8f136bd6ce41625d8ee37694966a2d3c91270a1

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 287e159a027241e917694d5c4a263c71b3f25a4f519e5ccaa0d0aedc5dacf018
MD5 df78aa1f0673d6388fdf4c0cf80f2f5e
BLAKE2b-256 93e4edd6b8263dc1e75e97d49e1470ecd00225abc8d731e759d1223d8bd1be41

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eee044b3b9bddaa22f75fc5911e027a77aa1807d67ab1135d895cde4d309137d
MD5 6f70b687f475f40223e4ce1b7febe3a3
BLAKE2b-256 ee85bb3c4d96b3eeb5d475f5b563b2797703f3c1357f591399db30e031f97790

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3c94391d6b2b76e73a0693ebfaa802d081a5a5ec89a6214b1a77787fb544e919
MD5 6cbef529bbc7ad7a5ac9f3d2924fc32d
BLAKE2b-256 0feb290228850deb0c04d3b32fa0458e498f8c262eca1b436cd85db0fca89d34

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 edb54f62aa8c0366f83130fa17ccc54504f35fba3ea86d0a6cffe6985056e10a
MD5 719f28add110943bd252f52d1c3b40d3
BLAKE2b-256 3bede91a0671894c108558950720427793da1d9925c04c7ff9a741cb3123856f

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spooky_connect4-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9501356c66e525a95a7074b036bf05777b7c100396d31b1249692c756780e240
MD5 5967ade5193bd5fe3a1dbf02200c819e
BLAKE2b-256 1f71fe3041fd373b97d2aa3a3688a97f62b970079571df951a1b901162741e73

See more details on using hashes here.

Provenance

The following attestation bundles were made for spooky_connect4-0.6.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