A 2D and 3D Ascii Game Engine written purely in Python from ground up with zero external dependencies. Supports Python versions starting from 3.5.3.
- Matrix Patterns
 UsesPixelPaintersandMatrix. code
- Colors and Collisions NEW in 0.2.0 unreleased
 UsesColor,Squareandcollides_withfor basic 2D planes. code
- Screen Saver NEW in 0.2.0 unreleased
 Makes a DVD Logo model from scratch and usesColor. code
I highly discourage using version 0.1.7, please wait for 0.2.0!
Python 3.5.3 or higher is required
// Windows
py -m pip install -U asciin.py
// Linux/macOS
python -m pip install -U asciin.py- 
Instantiate a Asciinpy.Windowclass with the desired values.
- 
Define your game loop and decorate it with the Asciinpy.Window.loopdecorator that should accept one parameter of typeScreen.
- 
Write some fancy code with or without built-in models to render. 
- 
Call the Asciinpy.Window.runmethod!
from Asciinpy.screen import Screen, Window
from Asciinpy.values import Resolutions
from Asciinpy._2D import Square
# Define a window
window = Window(resolution=Resolutions.Basic)
@window.loop()
def game_loop(screen: Screen) -> None:
    square = Square(coordinate=(0, 0), length=8, texture="%")
    while True:
        screen.blit(square)
        screen.refresh()
if __name__ == "__main__":
   window.run()


