Skip to main content

Simple 2D grid game framework based on Pygame-ce

Project description

ChamberCourt

https://github.com/rrthomas/chambercourt

by Reuben Thomas rrt@sc3d.org

ChamberCourt is a framework for simple 2-D grid-based games, based on Pygame-ce.

It is only intended for use by the author, mostly to resurrect a bunch of old games he wrote a long time ago. I welcome help to make it more generally useful: there is room for improvement in many areas. For example, it would be nice if the games could run on the web (I have experimented with pygbag, but I didn’t get very far yet), and some basic functionality would be nice such as a UI for rebinding keys. However, I want to keep it as simple as possible!

The package is named after the central courtyard of my school, Winchester College, because I wrote this package first while resurrecting a game, WinColl, named after the school.

Installation

Install with pip: pip install chambercourt.

Creating games with ChamberCourt

The following documentation is available:

  • API documentation
  • Cookbook
  • Demo game: a demonstration game is available, called chambercourt. You can run it directly from a Git checkout with PYTHONPATH=. python -m chambercourt.

Creating and editing levels

Levels are created and edited in Tiled. All in-game graphics and sounds are stored in the levels directory by convention. A demonstration level is in chambercourt/levels.

Some notes about level design:

  • A set of levels is numbered according to the lexical order of their file names.
  • Levels need exactly one start position, given by placing the hero.

Copyright and Disclaimer

ChamberCourt is distributed under the GNU Public License version 3, or, at your option, any later version. See the file COPYING.

THIS PROGRAM IS PROVIDED AS IS, WITH NO WARRANTY. USE IS AT THE USER'S RISK. Except for the files mentioned below, the package is copyright Reuben Thomas.

The font “Acorn Mode 1”, which is based on the design of Acorn computers’ system font, is by p1.mark and Reuben Thomas and licensed under CC BY-SA 3.0.

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

chambercourt-0.9.28.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

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

chambercourt-0.9.28-py3-none-any.whl (75.8 kB view details)

Uploaded Python 3

File details

Details for the file chambercourt-0.9.28.tar.gz.

File metadata

  • Download URL: chambercourt-0.9.28.tar.gz
  • Upload date:
  • Size: 68.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for chambercourt-0.9.28.tar.gz
Algorithm Hash digest
SHA256 4220600b46610130ff7cde3a1a1fec9e68e863c69536c3ff26579e4fd93d42ba
MD5 93cd17d4d3685f78c445bbf2517e1755
BLAKE2b-256 ce94a462a2353548e75cfb1eb1c203f530b8229e7ae0e453f75f38e3d2d262e4

See more details on using hashes here.

File details

Details for the file chambercourt-0.9.28-py3-none-any.whl.

File metadata

  • Download URL: chambercourt-0.9.28-py3-none-any.whl
  • Upload date:
  • Size: 75.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for chambercourt-0.9.28-py3-none-any.whl
Algorithm Hash digest
SHA256 5228d3f1d67de5c766f87d58d3c8137f4f266011f799aa39f16c0a3e355979a2
MD5 23dd2d1f507ed29d8fad9cb0edd735a9
BLAKE2b-256 8d163ef84286d96a71a0fc09968fea2dbf307e76c5eeb3958d49ae2489f5e6aa

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