semvec/pypi-packages huggingface dataset:
mapascii 1.0.2
A small array-based class for maps
Keywords: array class maps ascii

mapascii
========

A simple array-based class used for maps

Installation
------------

.. line-block::

  pip install mapascii

Usage Example
-------------

.. code:: python

  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.