Skip to main content

Terminal-based graphical game engine

Project description

python Code style: black Checked with mypy linting: pylint

Termgame

Terminal-based graphical game engine

Created by Gregory Glatzer.

termgame wave machine example with physics

Features

  • Simple, easy-to-use API inspired by Unity.
  • Physics engine powered by Pymunk
  • Ability to read and render sprites from image files.
  • Framerate and physics timestep control.
  • Statically typed with mypy.
  • User input with keyboard.

Examples

To run the examples from the source code, first "build" the package by running pip install . from the root directory of the project (where setup.py is). Then, you can run any of the examples by running

python termgame/examples/<example_name>/game.py

Contributing

Contributions are welcome! Please open an issue or pull request if you have any suggestions or bug reports. The main branch is used for releases, so please open pull requests against the development branch.

Before Committing

Before committing, please run the following commands to ensure that your code is formatted correctly and passes all tests:

cd termgame
black src
mypy src
flake8 src --max-line-length=99
pylint src

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

termgame-0.0.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

termgame-0.0.1-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file termgame-0.0.1.tar.gz.

File metadata

  • Download URL: termgame-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for termgame-0.0.1.tar.gz
Algorithm Hash digest
SHA256 dc2f3874c8a818bfbbc5d9ae2c33bf7f44865779ba64f9597e9e3a4b3718626d
MD5 f8926ffd59f2ed6afc52817ca4bd5ee5
BLAKE2b-256 652d0878458e2abea690196ded7db99526b69c99c17cb6dc01fb2e9a6affc7e5

See more details on using hashes here.

File details

Details for the file termgame-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: termgame-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for termgame-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78e93ea5d67ea08634be1333fa74a6222b05cf76748d5987fed1e7fc354587e5
MD5 5d47c37b5111e7c2e4994473d7e9a7bc
BLAKE2b-256 bf814ff5834bc3c73f22d0d318775d59249a1f071a4fd594034bb3ed967120bc

See more details on using hashes here.

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