A small array-based class for maps
Project description
A simple array-based class used for maps
Installation
pip install mapascii
Usage Example
from mapascii import Map
#create and display map
#Map(/, columns: int, rows: int, *, empty=' ', clear_screen=False, pixel_size=1)
map = Map(10, 10, empty='#', clear_screen=True)
map[5,5] = '$'
print(map)
Output:
##########
##########
##########
##########
##########
#####$####
##########
##########
##########
##########
Output was squashed because characters are half as wide as they are long.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mapascii-1.0.0.tar.gz
(2.0 kB
view hashes)