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
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
File details
Details for the file scrap_engine-1.4.1.tar.gz
.
File metadata
- Download URL: scrap_engine-1.4.1.tar.gz
- Upload date:
- Size: 19.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab1cdb55815c48a70bd87b4c947f5ea4efec0b1f47724580b7f372543f102414 |
|
MD5 | 27b1f2ecfa43366c6e2a8ed8483a3996 |
|
BLAKE2b-256 | 326144cfa416ba8deca918a7d85c5542fb8ad684a29e2842a69cb52f4be97dcd |