Skip to main content

Simple 2D grid game framework based on PyGame

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.

It is only intended for use by the author, mostly to resurrect a bunch of old games he wrote a long time ago. As such, there is no documentation other than the code. However, if anyone would like to help make it usable by others, I would be delighted to hear from them. I would prefer to keep it as simple as possible; however 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.

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 and use

Install with pip: pip install chambercourt.

A demonstration front-end 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.

The death buzzer sound effect was adapted from Buzzer sounds (Wrong answer/Error) by Breviceps under CC 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.3.tar.gz (96.4 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.3-py3-none-any.whl (99.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chambercourt-0.9.3.tar.gz
  • Upload date:
  • Size: 96.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for chambercourt-0.9.3.tar.gz
Algorithm Hash digest
SHA256 1c1aa55b02a4bed78bc83946bd2c61c551e4c1e18375b1c11fdfda7ebbdd0361
MD5 81cfad2397146f6c59c5bd8b007f3d39
BLAKE2b-256 af05173d8c5825bc9285d0c7791155d5e390a7d85cbe0a3c5c7a6f0236dd1ad4

See more details on using hashes here.

File details

Details for the file ChamberCourt-0.9.3-py3-none-any.whl.

File metadata

  • Download URL: ChamberCourt-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 99.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for ChamberCourt-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0a667a061ab89b6b1715dab31e47fe69e7bc668c380a03169e002b6f403dbb4a
MD5 78d544bcca98850f5433f7d8f663559d
BLAKE2b-256 01861acdda58d53c77e7106fff81d1070be2823c2fd64e6554ee94ed8adad6b1

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