tigen — Tiny Game Engine: a lightweight ECS-based simulation engine
Project description
tigen — Tiny Game Engine
A lightweight ECS (Entity Component System) based simulation engine.
Features
- ECS Core — Entity-Component-System architecture with generational IDs and efficient queries
- AI Module — Brain/context/memory abstractions for agent behavior
- Common Utilities — Math helpers, logging, data structures (generational containers, running stats)
- Configurable — Runtime configuration for simulation parameters
Installation
pip install tigen
Quick Start
from tigen.ecs.core import ECS
from tigen.ecs.component import Component
from tigen.ecs.system import System
# Define components
class Position(Component):
def __init__(self, x: float, y: float):
self.x = x
self.y = y
# Create ECS and entities
ecs = ECS()
ecs.create_entity("player", [Position(0, 0)])
License
MIT — see root LICENSE file.
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
tigen-0.5.0.tar.gz
(32.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tigen-0.5.0-py3-none-any.whl
(32.2 kB
view details)
File details
Details for the file tigen-0.5.0.tar.gz.
File metadata
- Download URL: tigen-0.5.0.tar.gz
- Upload date:
- Size: 32.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06449eedf6220966c5dd226f614139d2c5ccb21c2bc66a69a376bc870f9986c3
|
|
| MD5 |
9bb6f2facb87f4fe6a21d20270fef162
|
|
| BLAKE2b-256 |
ab186f0327470205baaa2f35271c2a3a5b193e052c79da8f6677388a2f848182
|
File details
Details for the file tigen-0.5.0-py3-none-any.whl.
File metadata
- Download URL: tigen-0.5.0-py3-none-any.whl
- Upload date:
- Size: 32.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fb5122a90809d3793b2a8b6d913b443c56b5e3932d4aabd49a2007305f3faf2
|
|
| MD5 |
f06e5d8200d4acacdea4802e89ec3d90
|
|
| BLAKE2b-256 |
a870e70e4b15e08f2a69470a73d3c19ad8776c2448e7979641fb5a5ab9089048
|