Skip to main content

Provides Chess API and AI

Project description

Chess AI

Provides a very basic chess game and AI.

Very Quick Tutorial

To construct a new chess board, use the Board class.

>>> board = Board();

To show the board, print board.

>>> print(board)

To locate a position, use locate().

>>> locate("a3")
a3

To get a piece, call the get_piece method.

>>> board.get_piece(locate("a1"))
Rook("white") at a1

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

chess-ai-0.2.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

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

chess_ai-0.2-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

Details for the file chess-ai-0.2.tar.gz.

File metadata

  • Download URL: chess-ai-0.2.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for chess-ai-0.2.tar.gz
Algorithm Hash digest
SHA256 f86ae626d57a0573952fd83a8927694ea424684e071a8cba7a337f477acf15f2
MD5 3ed716ab55f900bf2045a0393a6e9fa0
BLAKE2b-256 3dc6c42b5015f8f269e2187da797530af262f908287eeb3fd9632fabe3dd1215

See more details on using hashes here.

File details

Details for the file chess_ai-0.2-py3-none-any.whl.

File metadata

  • Download URL: chess_ai-0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for chess_ai-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 93c28956cdae1caba4077594b55f8db2c0918dc9172dc159a547667e5e7010d8
MD5 3b3018ce9456567918ac47a235e8b6fc
BLAKE2b-256 fd893447da0983639e042806bf0f14a41b3147e043e1d427b2b5a98089325fe5

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