Skip to main content

8-puzzle solver using BFS

Project description

puzzle_game

لعبة ألغاز 8-puzzle باستخدام خوارزمية BFS لحلها.

التثبيت

pip install puzzle-game

##الاستخدام
from puzzle_game import Puzzle, bfs_solve

puzzle = Puzzle()
puzzle.shuffle(10)
solution, expanded, time_taken = bfs_solve(puzzle)

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

puzzle_game-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

puzzle_game-0.1.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: puzzle_game-0.1.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for puzzle_game-0.1.0.tar.gz
Algorithm Hash digest
SHA256 c39c0619db5c4a147a0abbfe40bd3d2ce3f01941c382448a7ea44c7d7ef54a9e
MD5 0e311d1f93160169c4991ed1035dc758
BLAKE2b-256 da007c7effb9c838e43c0ff2362a90c76e365450b5ed48ff3a5a10578346f4d1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: puzzle_game-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for puzzle_game-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea9ba07ad13bd0df359ea5413ca28643d96dd064d715b30dc1ad5771bd64d702
MD5 7ff2b9812e4ce164c4cd090cc91cad8c
BLAKE2b-256 822facd5b4f9433a15e05e9ef5bdcfa790968c1ea9dc58ee3f029fb1b385d9ce

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