Skip to main content

a 2D ascii game engine for the terminal

Project description

Scrap_engine

by LXGR lxgr@protonmail.com

Installation

# python setup.py install

Windoofs: To run the examples install python and the pynput module via pip. Then just run what ever file you want (for example scrape).

Usage

See examples and Documentation

File explaination

  • LICENSE : obvious
  • README.md : ...
  • scrap_engine.py : Python module that contains the engine
  • scrap_test.py : file that explains basic functionality of scrap_engine and tests them
  • scrap_bench.py : little benchmarking tool that shows frametimes and does some nice looking calculations
  • scrape.py : implimentation of snake
  • lil_t.py : implimentation of a basic jump and run game

Notes

Scrap_engine, scrap_test.py and scrape.py where all tested working in the xfce4-terminal terminal emulator, other terminal emulators will work for sure.

Examples and tests

The examples and tests in tests and examples can be ran by either installing scrap_engine like in the installation section or by moving the scrap_engine.py file in their directorys, and then just executing them. The examples are resources to understand the key functionality ot scrap_engine and the tests are just used to test some of those functions. For example for scrape see scrape.

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-0.1.0.tar.gz (16.8 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