Skip to main content

Benjamin and Charlotte game

Project description

Benjamin and Charlotte Game

Installation

pip install bnc

Usage

from bnc import Board, Game, Player

# Create a board with custom settings
board = Board(code_length=4, num_of_colors=6, num_of_guesses=10)

# Create players
player1 = Player("Jae", board)

# Create and start a game
game = Game([player1], secret_code="1234")

# Make a guess
game.submit_guess(player1, "1234")

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

bncpy-0.1.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

bncpy-0.1.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file bncpy-0.1.0.tar.gz.

File metadata

  • Download URL: bncpy-0.1.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for bncpy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fc4433ac2a9d9e6a7abe51978b3fadbdd047f4621b8f4d902b3e72dd76ffe423
MD5 073f96f87b3b446719dac7f7ebdb06ca
BLAKE2b-256 f696ba8ccfb469913a5917a4722ae175c40f5f8fc68e548445a44e608af3f20b

See more details on using hashes here.

File details

Details for the file bncpy-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: bncpy-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for bncpy-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3be1b60adda074c826a3ace9a33a9402fd33fea5d46944728ea0b636aba7a239
MD5 cbc0785fb1ec59d9ecd47c6728cfe9a8
BLAKE2b-256 a363541fef110494d48d04a1d482e7e0fefb7040ef9e873662dc6864fc07767a

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