Skip to main content

magic_maze

介绍

迷宫游戏

项目目的

娃最近迷恋迷宫游戏,买的迷宫书走完就没了,他表示还没玩够。

所以就做了这个迷宫游戏,可以实现随机生成迷宫、走迷宫、显示答案等效果,让他可以无限玩。

安装使用

  • 下载可执行文件: 到 https://github.com/HeLiangHIT/magic_maze/releases 下载可执行文件
  • 源码安装: git clone https://github.com/HeLiangHIT/magic_maze.git && cd magic_maze && python setup.py install
  • pip源安装: pip install magic_maze
  • 使用: 源码里执行 python main.py 或者安装后执行 maze 即可
    • 支持自动生成迷宫、寻找最佳路径,且动态显示迷宫生成和搜索过程
    • 支持手动绘制迷宫(鼠标左键绘制通道、右键绘制墙体)、走迷宫(鼠标左键走、右键取消) ./doc/demo.png

软件架构

  • 核心目录结构解释:
    • algorithm 里面核心算法已抽象为通用接口,以支持扩展多种界面展现方式,详情查看帮助文档
magic_maze
├── README.md # 项目介绍
├── algorithm # 核心算法和数据结构实现
├── demo # 使用示例模型等
├── doc # 帮助文档,主要基于 script/generate_doc.sh 脚本在提交时自动生成
├── main.py # 主程序
├── requirement.txt # 依赖
├── script # 单元测试、帮助文档生成等自动化脚本
└── ui # pyqt 的 UI 主程序

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

magic_maze-1.0.1.tar.gz (65.7 kB view details)

Uploaded Source

Built Distributions

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

magic_maze-1.0.1-py3.9.egg (91.7 kB view details)

Uploaded Egg

magic_maze-1.0.1-py2.py3-none-any.whl (84.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file magic_maze-1.0.1.tar.gz.

File metadata

  • Download URL: magic_maze-1.0.1.tar.gz
  • Upload date:
  • Size: 65.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for magic_maze-1.0.1.tar.gz
Algorithm Hash digest
SHA256 328be43488b2add440305c89b335a6dcab31f6058d5b86b0d1a0524b27ca9f97
MD5 cd6c54ea105da7845c265321d8c34a17
BLAKE2b-256 1edccd376972710b05b1bd8b499193e648fef8eda69aca90f3e458a5c2bcaee3

See more details on using hashes here.

File details

Details for the file magic_maze-1.0.1-py3.9.egg.

File metadata

  • Download URL: magic_maze-1.0.1-py3.9.egg
  • Upload date:
  • Size: 91.7 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for magic_maze-1.0.1-py3.9.egg
Algorithm Hash digest
SHA256 2ed88d6f541041fa04924112e3667178533eeab355322356f1bc98a7cb086559
MD5 3f848ee0dbc2296387e734663c1cf539
BLAKE2b-256 46ff485495a85c4771e0bb246179edd020dc0b4418e4044f9d08983e16bdadf7

See more details on using hashes here.

File details

Details for the file magic_maze-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: magic_maze-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 84.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for magic_maze-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 210e72ba598d75b7cb3fcc0ac69c832766e4939f4ac955e65ab411ed581f2d71
MD5 d89e28cac2f1e08949e5123bc1fffd5f
BLAKE2b-256 a3bb6d2badd6bcd9e89e335f111738a6b18dc68dde414cc97cbe3ac3eef1edfd

See more details on using hashes here.

Release history Release notifications | RSS feed

2.0.6

2 files

2.0.5

2 files

This release

1.0.1 This release

3 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page