Skip to main content

A 2D ascii game engine for the terminal

Project description

Scrap_engine

By lxgr lxgr@protonmail.com

Installation

Manually:

# python setup.py install

Via pip (This will just install the latest stable release):

# python -m pip install scrap_engine

From the AUR (When using Arch Linux):

$ buildaur -S python-scrap_engine-git  # You can use what ever AUR-helper you want

To run the examples install python and the pynput module via pip.

See the project on pypi

Usage

See examples and Documentation. For further documentation see pydoc scrap_engine.py

Examples and tests

The examples in examples are made to show how scrap_engine works in a simple and commented way by, in case of scrap_test, building a little game. For more examples you can look at tests which also contain explanatory programs.

They can be ran by either installing scrap_engine like in the installation section or by moving the scrap_engine.py file in their directories, and then just executing them.

Another source to understand the functionality of scrap_engine is the small snake implementation scrape, that was firstly designed to be a tutorial but was later split out due to it's size. This may also help to implement a proper game using scrap_engine.

Notes

The examples and tests where all tested on Arch Linux x86 and Windows 10.

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

scrap_engine-1.4.1.tar.gz (19.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page