Asciin.py
Featherweight 3D / 2D Ascii console game engine for Python 3.5+ written in pure Python with Zero external dependencies.
Install / Use
/learn @Rickaym/Asciin.pyREADME

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.
Status Demo
-
Matrix Patterns <br> Uses
<img src="https://raw.githubusercontent.com/Rickaym/Asciin.py/main/assets/LuckyDevStuff_render.gif" data-canonical-src="https://raw.githubusercontent.com/Rickaym/Asciin.py/main/assets/LuckyDevStuff_render.gif" width="300" height="400" />PixelPaintersandMatrix. <sup>code</sup> -
Colors and Collisions NEW in 0.2.0 unreleased <br> Uses
<img src="https://i.gyazo.com/e3a410a475b2b2a81ad40c3426d75e26.gif" data-canonical-src="https://i.gyazo.com/e3a410a475b2b2a81ad40c3426d75e26.gif" width="300" height="400" />Color,Squareandcollides_withfor basic 2D planes. <sup>code</sup> -
Screen Saver NEW in 0.2.0 unreleased <br> Makes a DVD Logo model from scratch and uses
<img src="https://i.gyazo.com/2c457fe5057bfa71559b8cbe96747b28.gif" data-canonical-src="https://i.gyazo.com/2c457fe5057bfa71559b8cbe96747b28.gif" width="300" height="400" />Color. <sup>code</sup>
Installing
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
Quick Start
-
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()
Related Skills
node-connect
339.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
339.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.9kCommit, push, and open a PR
