Skip to main content

Framework for tile-based games like chess

Project description

pythontiles Library

  • board_size(height, width)
  • reset_to_empty()
  • import_from_nme(filename)
  • value_at_tile(x, y) -> string
  • is_legal_tile(x, y) -> boolean
  • change_tile(x, y, text)
  • move_piece(x1, y1, x2, y2)
  • NME_Decode_File(filename) -> array of arrays

NME File Format

  • First line denotes the number of sections per line
  • For instance:
  • 6
  • <name>/<piece1>/<piece2>/<piece3>/<piece4>/<piece5>/

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

pythontiles-1.0.5.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

pythontiles-1.0.5-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file pythontiles-1.0.5.tar.gz.

File metadata

  • Download URL: pythontiles-1.0.5.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for pythontiles-1.0.5.tar.gz
Algorithm Hash digest
SHA256 88f8d6448075e4c11d2ccfc812ba1bb9d69fef85a5a783ed32c06ba602b6a3f9
MD5 f022208269644a5a96ef2884626ab504
BLAKE2b-256 58bbe1a3d5fb749d73bbf137aadf282bbba3754b14270ca28e0c4dd174742ac0

See more details on using hashes here.

File details

Details for the file pythontiles-1.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: pythontiles-1.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.3

File hashes

Hashes for pythontiles-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 220c2e38387e26610f1293e30222cbba931d8371e1c8fce5c608a44db53d3a0d
MD5 f2fed04b8e82dc891e272e730ef7528a
BLAKE2b-256 1b4bc15081218e7c903c6c5ddf41af86e2bc9bba41771a4ceb9a016b650bd712

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