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.4.tar.gz (383.9 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.4-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scrap_engine-1.5.4.tar.gz
Algorithm Hash digest
SHA256 bf0de70b153a293191d6a081d936534f8638d2adbefa8ae9dad2ac264496a400
MD5 134449650f1ed879658d45a7f67fe5e0
BLAKE2b-256 f62bb5996a6f656afde96a0959480800cd6d769c0b286e36d4d1ab8043ffe792

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for scrap_engine-1.5.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6446fd18bca1f28eed579e25327fcd26f8fb17dc1201acd19a898a27684e73dc
MD5 0f23ac5d6284c705699fec581bebcd85
BLAKE2b-256 6600ba9b4da282484dccaed1dcf2502592a0c96024f70bed6bb80ea146f9f411

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