Skip to main content

2D game engine (pygame)

Project description

GitHub license PyPI Version Code Climate Travis Coverage Status

Sappho is a 2D game engine written with Python (2 and 3) and pygame.

sappho in action

sappho in action

Lily Seabreeze is this project’s mom and owner. Be sure to checkout the AUTHORS.md!

Design Philosophy

  1. Don’t interfere with the way people build their pygame games

  2. We are not automating game logic

  3. Sappho modules may not import other Sappho modules

  4. Inherit from pygame objects when possible; use conventional pygame models/architecture.

  5. Consistency.

  6. Simplicity trumps all else.

  7. Well documented.

  8. Code is easy-to-test. We show that with our 100% test coverage.

For more check CONTRIBUTING.md.

Getting Started

Install pygame:

  • You can try pip install hg+http://bitbucket.org/pygame/pygame but it may not work…

  • Ubuntu, Python 2.7: sudo apt install python-pygame

  • FreeBSD, Python 2.7: sudo pkg install py27-game

  • OSX, Python 2.7: available in homebrew (note that there is a caveat in El Capitan [see: #63])

  • For any other operating system, or more details, see: http://www.pygame.org/download.shtml

Install sappho and run the demo:

  1. Install: pip install -r requirements/main.txt .

  2. cd demo/

  3. python demo.py

Be sure to checkout the contents of demo.py for a sample on how Sappho is used.

We also have some good docs: http://sappho.lillian.link/

If you wanna contribute, please read CONTRIBUTING.md!

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

sappho-0.14.3.tar.gz (20.3 kB view details)

Uploaded Source

File details

Details for the file sappho-0.14.3.tar.gz.

File metadata

  • Download URL: sappho-0.14.3.tar.gz
  • Upload date:
  • Size: 20.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sappho-0.14.3.tar.gz
Algorithm Hash digest
SHA256 52112bb53f9b0372304264f41559f06b10e0ac552f91e8f9d1c8e6eda9634966
MD5 a9cc480bbc969bd12e1c3bc26c6fcc4a
BLAKE2b-256 43462433e47568a3a9e2cbba79451ef2c005bf89c4241e3321d54b8d672ee6a2

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