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.5.1.tar.gz (382.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

scrap_engine-1.5.1-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

Details for the file scrap_engine-1.5.1.tar.gz.

File metadata

  • Download URL: scrap_engine-1.5.1.tar.gz
  • Upload date:
  • Size: 382.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for scrap_engine-1.5.1.tar.gz
Algorithm Hash digest
SHA256 a254d622bd60ab2f9382ea662a1609480f37be85b2a85c714d0aaea89a5bb7bb
MD5 86d9a2a3a0e2702f6c1646d7a1710df1
BLAKE2b-256 4953e974b2dce0c597c103e97107abcc1ca5d54a9a77e6fd73571a74c300cab0

See more details on using hashes here.

File details

Details for the file scrap_engine-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: scrap_engine-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 27.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for scrap_engine-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f67d9a33598507860141361fddd95afb9f158786b628c468d066db6da5764363
MD5 558abd4a341aa0f6b3f8f843bd759606
BLAKE2b-256 86b0928e084763e37f17d48dcb217909d0384f069aa5775786fc1909bb34dcfe

See more details on using hashes here.

Supported by

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