Skip to main content

A simple Python package to make ASCII maze.

Project description

py_maze_maker

The py_maze_maker is a simple ASCII maze maker to test my newly acquired knowledge of Python language.

BACKGROUND

I first created the maze script in Perl many many years ago when started learning the language but never shared the code with public. When I was offered to write for Raku Advent Calendar 2019, I decided to clean up the code a bit and share with public as gist on Dec 12, 2019.

By now, I knew it would be fun to convert the Perl code into Raku language that I just started playing as part of The Weekly Challenge project. It was my first ever post for Raku Advent Calendar and my first ever open source code in Raku. I was allotted the Day 17 in the Raku Advent Calendar 2019. Being an author of 100+ modules in Perl and shared on MetaCPAN, I thought why not publish the code as Raku module. On Dec 19, 2019, I published my first ever Raku module Games::Maze.

Just as I started playing with Raku as part of The Weekly Challenge project, I decided to get my hand dirty with Python too. I was encouraged by the overwhelming support for Python language by Team PWC.

I did few LinkedIn Learning courses in Python recently. So, I wanted to test my knowledge and what else project other than maze game to play with. I shared my first ever open source code in Python as gist. You can clearly see all the signs of beginners. I was happy with my effort to be honest. I didn't stop there, now I wanted to publish the code as Python package but had no clue how to go about it. After little research, I finally released my first ever open source code in Python as package py_maze_maker on Jan 17, 2024.

INSTALLATION

You can install the package just like any other regular Python packages e.g. pip install py_maze_maker.

USAGE

The py_maze_maker package comes with a command line script maze-maker. You can use it to play with the game.

usage: maze-maker [-h] --height HEIGHT --width WIDTH

optional arguments:
    -h, --help       show this help message and exit
    --height HEIGHT  The height of the maze and mandatory argument.
    --width WIDTH    The width of the maze and mandatory argument.

AUTHOR

Mohammad Sajid Anwar <mohammad.anwar@yahoo.com>

CONTACT

|   GitHub   |   LinkedIn   |   Twitter   |   Mastodon   |   Facebook   |

MIT License

Copyright (c) [2024] [Mohammad Sajid Anwar]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

py_maze_maker-0.0.3.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file py_maze_maker-0.0.3.tar.gz.

File metadata

  • Download URL: py_maze_maker-0.0.3.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for py_maze_maker-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4dbd7e7f336c6c413d774d9ccfa98443c56b3c0b795c25095ffd282e885cae3d
MD5 024e02974a3f86af8ee4dbe650795343
BLAKE2b-256 d2c493e00ca563bd7129005f68f8b790b22d81e6e573ab9b7546b2a95610943f

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